Re: [AD] Suggestion: al_clear_keyboard_state() |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
On 06/01/2015 11:13 AM, Beoran wrote:
Hmm, i don't know, people have only asked for the keyboard case so far. How would such a function actually look for the mouse state? That's not a rhetorical question, I really can't imagine what it should do. Just reset the button state or also the location???
Just the button state. The situation is the same as with the keyboard. You press a button, lose focus, release the button, regain focus and you get a pressed mouse button without the physical button being pressed.
-SL
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |