[AD] char event on windows |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: [AD] char event on windows
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Sat, 1 Jan 2011 17:36:38 -0600
See http://www.allegro.cc/forums/thread/605801/896890#target.
Is the attached patch (untested) needed?
--
Matthew Leverton
Index: wkeyboard.c
===================================================================
--- wkeyboard.c (revision 14233)
+++ wkeyboard.c (working copy)
@@ -317,7 +317,7 @@
_al_event_source_emit_event(&the_keyboard.es, &event);
}
- {
+ if (ccode != 0) {
event.keyboard.type = ALLEGRO_EVENT_KEY_CHAR;
event.keyboard.unichar = ccode;
event.keyboard.modifiers = modifiers;