yquake2remaster/src/client/input
Daniel Gibson f5d9c49f20 Allow second layer of keybindings for controllers, refs #387
There's an "enable alt joy keys" command now. If a key is bound to that
command, all joystick buttons (incl. hat and triggers) are turned from
K_JOYx into K_JOYx_ALT, which allows two keybindings on the same key,
one with the altselector pressed and one without.
If there's no keybinding for K_JOYx_ALT, it will use the binding for
just K_JOYx as a fallback (if it exists).

This is especially handy to create direct bindings for all the weapons
on the (limited amount of) Joystick buttons.
2019-05-05 18:10:10 -01:00
..
header Move input.c and input.h into the client and rename to sdl.c. 2018-08-07 09:43:34 +02:00
sdl.c Allow second layer of keybindings for controllers, refs #387 2019-05-05 18:10:10 -01:00