|
ALLEGRO_EVENT_KEY_CHAR not firing |
Ariesnl
Member #2,902
November 2002
|
Could it be that ALLEGRO_EVENT_KEY_CHAR is not triggered in Allegro 5.0.10 release version ? ALLEGRO_EVENT_KEY_DOWN and ....._UP work just fine. I can work around it for now, but for anything where the user must type this will be a problem... Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Why are you using 5.0.10? That is super old. Join the future. Allegro 5.2.1.1 is here... My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Ariesnl
Member #2,902
November 2002
|
It's the one that is on Allegro.cc in binary format.. Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
Edgar Reynaldo
Major Reynaldo
May 2007
|
I offer binary distributions for MinGW and Allegro 5.2.1.1. All you have to do is extract them with 7-zip and set your paths. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Ariesnl
Member #2,902
November 2002
|
That is nice ! Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Try out ex_keyboard_events, and see if it functions properly... All the example programs are included with my distro, and there is a batch script to setup an environment to run the example programs in the root directory of the archive. Does ex_keyboard_events work for you? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
André Silva
Member #11,991
May 2010
|
Debug versus Release problems almost always mean you have uninitialized variables. Or maybe Allegro does. If an update to 5.2 fixes it, then great, but if not, something a lot weirder might be going on. Also, that event will only really trigger for characters, not for the likes of Shift or Ctrl (...right?). You probably already know this, but just in case you're trying to press L when on Debug and pressing Right Ctrl when on Release, I think I might've found your problem!
|
|