summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_PadSimple/Src/XInputBase.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-09-25 14:05:21 +0000
committernakeee <nakeee@gmail.com>2008-09-25 14:05:21 +0000
commit2c8f1c5aa6dc7151390d2be5ff4237e6ab323ad3 (patch)
tree25d462a2715bdb14e3e3b3d5f8b9c3d9c901b382 /Source/Plugins/Plugin_PadSimple/Src/XInputBase.cpp
parent015e43340a802d903cd18c249e37b980cb7f954f (diff)
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
Diffstat (limited to 'Source/Plugins/Plugin_PadSimple/Src/XInputBase.cpp')
-rw-r--r--Source/Plugins/Plugin_PadSimple/Src/XInputBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_PadSimple/Src/XInputBase.cpp b/Source/Plugins/Plugin_PadSimple/Src/XInputBase.cpp
index 9ecef88a87..3f89067194 100644
--- a/Source/Plugins/Plugin_PadSimple/Src/XInputBase.cpp
+++ b/Source/Plugins/Plugin_PadSimple/Src/XInputBase.cpp
@@ -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));
}
}