mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 00:21:38 +00:00
cfedcbd7d7
The scrollwheel is unique among PC input because it has no innate "hold length". Previously, the layers gave the mousewheel a fake hold length to allow the not-necessarily-synchronous game/editor code to pick up the input before the layers marked it as "no longer pressed". This passed under Windows, but it didn't slide under SDL. Besides the two problems listed above, it also potentially limited the rate of weapon selection, where scrolling too fast would not register every clicks. [Unrelatedly, this is still the case when you scroll faster than the game's own tickrate, but addressing that would require rewriting input handling to go through a list of "events" for each tic instead of looking at overall pressed/unpressed states.] git-svn-id: https://svn.eduke32.com/eduke32@4200 1a8010ca-5511-0410-912e-c29ae57300e0 |
||
---|---|---|
.. | ||
_control.h | ||
_scrplib.h | ||
animlib.c | ||
animlib.h | ||
control.c | ||
control.h | ||
file_lib.c | ||
file_lib.h | ||
joystick.c | ||
joystick.h | ||
keyboard.c | ||
keyboard.h | ||
mathutil.c | ||
mathutil.h | ||
mouse.c | ||
mouse.h | ||
scriplib.c | ||
scriplib.h |