summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-01-27 02:39:59 +0000
committerGlenn Rice <glennricster@gmail.com>2010-01-27 02:39:59 +0000
commit36a5015bc009da25821705a959fac4301295b01a (patch)
treeb7a4ce4bacbfa79511839e73e9ca7502e8e68a33 /Source/Core/InputCommon/Src
parent8fdc293328268924e6cede60176f310eeeaf6457 (diff)
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
Diffstat (limited to 'Source/Core/InputCommon/Src')
-rw-r--r--Source/Core/InputCommon/Src/X11InputBase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/X11InputBase.cpp b/Source/Core/InputCommon/Src/X11InputBase.cpp
index f9ffd168db..914caeafe5 100644
--- a/Source/Core/InputCommon/Src/X11InputBase.cpp
+++ b/Source/Core/InputCommon/Src/X11InputBase.cpp
@@ -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;