summaryrefslogtreecommitdiff
path: root/src/video/cocoa
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-07 11:55:28 +0000
committerrubidium <rubidium@openttd.org>2008-09-07 11:55:28 +0000
commit3b7ffcf7593ad1339845ee3c8abbcd958102ef6e (patch)
tree3b4c9cb6f864efcc8bebde728043914fdbf6e6fe /src/video/cocoa
parent9474db5cb6c4b9db2f7b68d1dda1a523305282f1 (diff)
downloadopenttd-3b7ffcf7593ad1339845ee3c8abbcd958102ef6e.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.mm20
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),