dxx-rebirth/similar/main
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
..
ai.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
aipath.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
automap.cpp Fix input handling in automap 2020-05-28 03:21:22 +00:00
bm.cpp Move grs_bitmap::avg_color into #if !DXX_USE_OGL 2020-05-22 02:40:26 +00:00
bmread.cpp Fix D2 crash on blank line in bitmaps.tbl 2020-05-22 02:40:26 +00:00
cntrlcen.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00
collide.cpp Remove static inline declarations from fwd-partial_range.h 2020-06-10 02:25:32 +00:00
config.cpp Use enum class for LevelMusicPlayOrder 2020-05-31 23:04:25 +00:00
console.cpp Refer to <array> directly, not through "compiler-array.h" 2020-05-02 21:18:42 +00:00
controls.cpp Move Seismic_tremor_magnitude to d_level_unique_seismic_state 2019-08-06 02:59:41 +00:00
credits.cpp make menus controllable with joystick 2020-06-28 17:08:26 +02:00
digiobj.cpp Retire compiler-begin.h 2020-06-10 02:25:32 +00:00
dumpmine.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00
effects.cpp Ignore effects with frame_time=0 2020-06-19 01:46:54 +00:00
endlevel.cpp Retire compiler-begin.h 2020-06-10 02:25:32 +00:00
fireball.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
fuelcen.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
fvi.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
game.cpp Fix input handling in automap 2020-05-28 03:21:22 +00:00
gamecntl.cpp Fix input handling in automap 2020-05-28 03:21:22 +00:00
gamefont.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00
gamemine.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
gamerend.cpp Move Countdown_seconds_left to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
gamesave.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
gameseg.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
gameseq.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
gauges.cpp Discard decoded cockpit buffer when no longer needed 2020-05-27 03:07:17 +00:00
generate-kconfig-udlr.py Make kconfig.ui-table.cpp compile when freestanding 2019-12-22 05:34:08 +00:00
hostage.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00
hud.cpp Rename ObjectState to LevelUniqueObjectState for consistency 2018-12-30 00:43:57 +00:00
iff.cpp Refer to <memory> directly, not through "compiler-make_unique.h" 2020-05-02 21:18:43 +00:00
inferno.cpp Retire compiler-begin.h 2020-06-10 02:25:32 +00:00
kconfig.cpp make menus controllable with joystick 2020-06-28 17:08:26 +02:00
kconfig.ui-table.cpp Make kconfig.ui-table.cpp compile when freestanding 2019-12-22 05:34:08 +00:00
kmatrix.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00
laser.cpp Only reduce laser power in D2 mode 2020-05-06 03:04:45 +00:00
lighting.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
menu.cpp Use enum class for LevelMusicPlayOrder 2020-05-31 23:04:25 +00:00
mglobal.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
mission.cpp Handle gcc-10 truncation warning in mission.cpp 2020-05-17 23:35:25 +00:00
morph.cpp Move texture_list out of global scope 2020-05-22 02:40:26 +00:00
multi.cpp Retire compiler-begin.h 2020-06-10 02:25:32 +00:00
multibot.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
net_udp.cpp Handle gcc-10 truncation warnings in net_udp.cpp 2020-05-17 23:35:25 +00:00
newdemo.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
newmenu.cpp make menus controllable with joystick 2020-06-28 17:08:26 +02:00
object.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
paging.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00
physics.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
piggy.cpp Move grs_bitmap::avg_color into #if !DXX_USE_OGL 2020-05-22 02:40:26 +00:00
player.cpp Add experimental support for guidebot in multiplayer 2019-06-27 03:26:20 +00:00
playsave.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00
polyobj.cpp Unify object texture setup 2020-05-22 02:40:26 +00:00
powerup.cpp Remove static inline declarations from fwd-partial_range.h 2020-06-10 02:25:32 +00:00
render.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
robot.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00
scores.cpp make menus controllable with joystick 2020-06-28 17:08:26 +02:00
segment.cpp Use susegment for references introduced by valptridx conversion 2019-12-22 05:34:08 +00:00
slew.cpp Move object::last_pos to LevelUniqueObjectState 2019-12-22 05:34:08 +00:00
songs.cpp Use enum class for LevelMusicPlayOrder 2020-05-31 23:04:25 +00:00
state.cpp Reset autosave timer on game load 2020-06-10 02:25:33 +00:00
switch.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
terrain.cpp Refer to <memory> directly, not through "compiler-make_unique.h" 2020-05-02 21:18:43 +00:00
texmerge.cpp Move grs_bitmap::avg_color into #if !DXX_USE_OGL 2020-05-22 02:40:26 +00:00
text.cpp Refer to <memory> directly, not through "compiler-make_unique.h" 2020-05-02 21:18:43 +00:00
titles.cpp make menus controllable with joystick 2020-06-28 17:08:26 +02:00
vclip.cpp is_proximity_bomb_or_smart_mine*: s/smart/player_smart/g 2019-08-15 01:34:22 +00:00
vers_id.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
wall.cpp Move LevelSharedVertexState into d_level_shared_segment_state 2020-05-17 23:35:25 +00:00
weapon.cpp Qualify uses of std::array 2020-05-02 21:18:42 +00:00