Re: [AD] keyboard autorepeat timer |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> - install the keyboard autorepeat timer the first time a key is struck and > change its period on demand: when keys are pressed, set the period > according to the autorepeat rate, otherwise set it to a lengthy one in > order to waste as few cycles as possible. I've attached two patches: - keyboard.diff: changes the autorepeat timer behaviour to the one described above (with Javier's modification) and fixes the bug in the timer module, - wtimer.diff: re-enables the multi-threaded timer driver under Win32 and fixes a bug in the driver. I've tested the patches under DOS (built-in autorepeat), Windows (emulated autorepeat), Linux console (built-in autorepeat) and X11 (emulated autorepeat). -- Eric Botcazou ebotcazou@xxxxxxxxxx
Attachment:
keyboard.zip
Description: Zip compressed data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |