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:
nakeee
2008-09-25 14:05:21 +00:00
parent 015e43340a
commit 2c8f1c5aa6
2 changed files with 31 additions and 29 deletions

View File

@ -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));
}
}