diff options
author | rubidium <rubidium@openttd.org> | 2008-09-07 11:55:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-07 11:55:28 +0000 |
commit | 956c99e46cd8355f57667e41488c811cb987715b (patch) | |
tree | 3b4c9cb6f864efcc8bebde728043914fdbf6e6fe /src/video/cocoa | |
parent | 6e67ea1f9dac718ec58d54b73883b0dd043bff2d (diff) | |
download | openttd-956c99e46cd8355f57667e41488c811cb987715b.tar.xz |
(svn r14260) -Fix [FS#2277]: merge keycode for "normal" 0-9 keys and keypad 0-9 keys so people don't get confused that the keypad doesn't work as expected.
Diffstat (limited to 'src/video/cocoa')
-rw-r--r-- | src/video/cocoa/event.mm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm index a196ca4b0..a9273deb7 100644 --- a/src/video/cocoa/event.mm +++ b/src/video/cocoa/event.mm @@ -243,16 +243,16 @@ static const VkMapping _vk_mapping[] = { AS(QZ_F12, WKC_F12), /* Numeric part */ - AS(QZ_KP0, WKC_NUM_0), - AS(QZ_KP1, WKC_NUM_1), - AS(QZ_KP2, WKC_NUM_2), - AS(QZ_KP3, WKC_NUM_3), - AS(QZ_KP4, WKC_NUM_4), - AS(QZ_KP5, WKC_NUM_5), - AS(QZ_KP6, WKC_NUM_6), - AS(QZ_KP7, WKC_NUM_7), - AS(QZ_KP8, WKC_NUM_8), - AS(QZ_KP9, WKC_NUM_9), + AS(QZ_KP0, '0'), + AS(QZ_KP1, '1'), + AS(QZ_KP2, '2'), + AS(QZ_KP3, '3'), + AS(QZ_KP4, '4'), + AS(QZ_KP5, '5'), + AS(QZ_KP6, '6'), + AS(QZ_KP7, '7'), + AS(QZ_KP8, '8'), + AS(QZ_KP9, '9'), AS(QZ_KP_DIVIDE, WKC_NUM_DIV), AS(QZ_KP_MULTIPLY, WKC_NUM_MUL), AS(QZ_KP_MINUS, WKC_NUM_MINUS), |