Technical keyboard stuff about TV lib.
Brought to you by:
set
From: salvador <sal...@in...> - 2001-09-13 18:21:47
|
Hi All: There are a known race when a user debugs an Allegro application using RHIDE. This race is between the keyboard handlers of BIOS and Allegro. The problem is that Ctrl+F9 is the shortcut and then BIOS sees the Ctrl key-down message, but not the key-up. So when you hit a breakpoint and BIOS gets the control again the Ctrl key remains pressed because the key-up message was absorved by Allegro. It can be solved from the Allegro side like this: If a key-up message is received before a key-down and it belongs to a modifier key clean this bit in the variable that holds the BIOS state. But it can be solved in TV like this: In the Resume we could just clean any keys modifier, after all you shouldn't expect that a amodifier will survive to a suspend/resume of the library. Opinions? SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set...@bi... se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |