[AD] Mouse problems in Windows affected by this revision? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
This looks innocent enough but revision 11640 works and 11641 does not. Anyone have any idea why this might cause
problems? I already added 100 "unknown" key names in the key name array, that didn't fix it. Here's the diff:
Index: include/allegro5/keycodes.h
===================================================================
--- include/allegro5/keycodes.h (revision 11640)
+++ include/allegro5/keycodes.h (revision 11641)
@@ -165,30 +165,28 @@
ALLEGRO_KEY_BACKQUOTE = 104, /* MacOS X */
ALLEGRO_KEY_SEMICOLON2 = 105, /* MacOS X -- TODO: ask lillo what this should be */
ALLEGRO_KEY_COMMAND = 106, /* MacOS X */
- ALLEGRO_KEY_UNKNOWN1 = 107,
- ALLEGRO_KEY_UNKNOWN2 = 108,
- ALLEGRO_KEY_UNKNOWN3 = 109,
- ALLEGRO_KEY_UNKNOWN4 = 110,
- ALLEGRO_KEY_UNKNOWN5 = 111,
- ALLEGRO_KEY_UNKNOWN6 = 112,
- ALLEGRO_KEY_UNKNOWN7 = 113,
- ALLEGRO_KEY_UNKNOWN8 = 114,
+ ALLEGRO_KEY_UNKNOWN = 107,
- ALLEGRO_KEY_MODIFIERS = 115,
+ /* All codes up to before ALLEGRO_KEY_MODIFIERS can be freely
+ * assignedas additional unknown keys, like various multimedia
+ * and application keys keyboards may have.
+ */
- ALLEGRO_KEY_LSHIFT = 115,
- ALLEGRO_KEY_RSHIFT = 116,
- ALLEGRO_KEY_LCTRL = 117,
- ALLEGRO_KEY_RCTRL = 118,
- ALLEGRO_KEY_ALT = 119,
- ALLEGRO_KEY_ALTGR = 120,
- ALLEGRO_KEY_LWIN = 121,
- ALLEGRO_KEY_RWIN = 122,
- ALLEGRO_KEY_MENU = 123,
- ALLEGRO_KEY_SCROLLLOCK = 124,
- ALLEGRO_KEY_NUMLOCK = 125,
- ALLEGRO_KEY_CAPSLOCK = 126,
+ ALLEGRO_KEY_MODIFIERS = 215,
+ ALLEGRO_KEY_LSHIFT = 215,
+ ALLEGRO_KEY_RSHIFT = 216,
+ ALLEGRO_KEY_LCTRL = 217,
+ ALLEGRO_KEY_RCTRL = 218,
+ ALLEGRO_KEY_ALT = 219,
+ ALLEGRO_KEY_ALTGR = 220,
+ ALLEGRO_KEY_LWIN = 221,
+ ALLEGRO_KEY_RWIN = 222,
+ ALLEGRO_KEY_MENU = 223,
+ ALLEGRO_KEY_SCROLLLOCK = 224,
+ ALLEGRO_KEY_NUMLOCK = 225,
+ ALLEGRO_KEY_CAPSLOCK = 226,
+
ALLEGRO_KEY_MAX
};
Trent :{)>