[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I'll let you know KEY_MAX was already set to be 2 lengths higher than the
> last KEY_* constant, before I added the OSX port...
Are you really sure?
Index: include/allegro/keyboard.h
===================================================================
RCS file: /cvsroot/alleg/allegro/include/allegro/keyboard.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- include/allegro/keyboard.h 31 Oct 2002 12:56:24 -0000 1.4
+++ include/allegro/keyboard.h 18 May 2003 09:24:54 -0000 1.5
@@ -209,7 +209,12 @@
#define KEY_NUMLOCK 113
#define KEY_CAPSLOCK 114
-#define KEY_MAX 115
+#define KEY_EQUALS_PAD 115
+#define KEY_BACKQUOTE 116
+#define KEY_SEMICOLON 117
+#define KEY_APPLE 118
+
+#define KEY_MAX 120
#endif /* ALLEGRO_NO_KEY_DEFINES */
> Humm, no I wans't aware of this constant... A quick grep through the
> sources leads me to think my KEY_* additions may have modified some
> behaviours. Maybe a repositioning of the constants in the list could fix
> things, but I'm really guessing here.
I'm going to look into this too.
--
Eric Botcazou