dxx-rebirth/common/arch/sdl
Martin Fiedler c24864b180 make menus controllable with joystick
In most menus, keyboard commands are synthesized
from controller buttons, leveraging the existing
axis-to-button translation.

Menu controls are currently fixed:
- button 0 (A) is confirm (Enter)
- button 1 (B) is cancel (Esc)
- button 2 (X) is switch (Space)
- button 3 (Y) is delete (Delete)
- axes 0 and 1 (main analog pad) maps to cursor keys
- all hats (D-pads) map to cursor keys

Title screens and credits can be confirmed
with any joystick button or axis motion too.
2020-06-28 17:08:26 +02:00
..
digi_mixer_music.cpp
event.cpp
joy.cpp make menus controllable with joystick 2020-06-28 17:08:26 +02:00
key.cpp make menus controllable with joystick 2020-06-28 17:08:26 +02:00
mouse.cpp
rbaudio.cpp
timer.cpp
window.cpp