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. |
||
---|---|---|
.. | ||
digi_mixer_music.cpp | ||
event.cpp | ||
joy.cpp | ||
key.cpp | ||
mouse.cpp | ||
rbaudio.cpp | ||
timer.cpp | ||
window.cpp |