Make arrow and home keys work in wiimote emulator.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4967 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-01-27 02:39:59 +00:00
parent 8fdc293328
commit 36a5015bc0
3 changed files with 7 additions and 1 deletions

View File

@ -121,6 +121,9 @@ KeySym wxCharCodeWXToX(int id)
void XKeyToString(unsigned int keycode, char *keyStr) {
switch (keycode) {
case XK_Home:
sprintf(keyStr, "HOME");
break;
case XK_Left:
sprintf(keyStr, "LEFT");
break;