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 committed 2008-09-25 14:05:21 +00:00
1 parent 015e43340a
commit 2c8f1c5aa6
2 files changed
+31 -29

No files matched your search

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