mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
fed8f66824
kbutton_t is now in_button_t and has been moved to input.h. Also, a button registration function has been added to take care of +button and -button command creation and, eventually, direct binding of "physical" buttons to logical buttons. "Physical" buttons are those coming in from the OS (keyboard, mouse, joystick...), logical buttons are what the code looks at for button state. Additionally, the button edge detection code has been cleaned up such that it no longer uses magic numbers, and the conversion to a float is cleaner. Interestingly, I found that the handling is extremely frame-rate dependent (eg, +forward will accelerate the player to full speed much faster at 72fps than it does at 20fps). This may be a factor in why gamers are frame rate obsessed: other games doing the same thing would certainly feel different under varying frame rates. |
||
---|---|---|
.. | ||
evdev | ||
in_button.c | ||
in_common.c | ||
in_evdev.c | ||
in_event.c | ||
keys.c | ||
Makemodule.am | ||
old_keys.c |