Closed Auroriax closed 1 year ago
So it seems swipes are already stopped from occurring in commit a42b93a - Fixed crash bug when using touch input in mouse-enabled game
and I had completely forgotten about it! Disabling player movement completely would still be interesting, but having no player in the scene will also achieve that. Preferring swipes in the menus is also no longer strictly needed because of #43 . So I'll just close this task.
controls_disable_player_movement
(controls_force_mouse_input
?) Completely blocks all keyboard input, including mobile swipes. Because on mobile, a tap can be percieved as both a mouse event and player movement. However, you must have mouse controls enabled. Alt: Disable swipes on mobile by default when mouse input is on. Have a flag to enable it again. Likely doesn't cause any existing games to break.controls_enable_player_movement_on_mobile
?controls_disable_swipes
Similar to above, but explicitly for swipes, keyboard will still workcontrols_mobile_menu_prefer_swipe_controls
will prefer swipe controls over mouse controls to control the menus, even when mouse controls would otherwise be enabled for the main game.controls_disable_player_movement
for mouse-enabled games. Can perhaps leverage an existing undocumented tag (no_player
or something?)controls_disable_swipes
for mouse-enabled mobile games that still want to offer keyboard support on supporting devices.controls_menu_prefer_swipes
for mouse-enabled games (not super necessary now that the mouse feedback in the level select is a lot better).