mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-06 16:19:09 +00:00
Use enum instead of numbers, this fixes the control mapping on linux
Fix case of keys git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@686 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
015e43340a
commit
2c8f1c5aa6
2 changed files with 31 additions and 29 deletions
|
@ -123,6 +123,6 @@ void XKeyToString(unsigned int keycode, char *keyStr) {
|
|||
sprintf(keyStr, "LControl");
|
||||
break;
|
||||
default:
|
||||
sprintf(keyStr, "%c", keycode);
|
||||
sprintf(keyStr, "%c", toupper(keycode));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue