diff --git a/ports/RGSX/config.py b/ports/RGSX/config.py index 2c4924e..ead5ae8 100644 --- a/ports/RGSX/config.py +++ b/ports/RGSX/config.py @@ -4,7 +4,7 @@ import sys import logging # Version actuelle de l'application -app_version = "1.9.8.8" +app_version = "1.9.8.8." def get_application_root(): """Détermine le dossier de l'application de manière portable.""" diff --git a/ports/RGSX/controls.py b/ports/RGSX/controls.py index 0be65b1..60ff2f9 100644 --- a/ports/RGSX/controls.py +++ b/ports/RGSX/controls.py @@ -428,6 +428,13 @@ def handle_controls(event, sources, joystick, screen): config.repeat_start_time = 0 config.repeat_last_action = current_time config.needs_redraw = True + elif is_input_matched(event, "left"): + config.current_game = max(0, config.current_game - config.visible_games) + config.repeat_action = None + config.repeat_key = None + config.repeat_start_time = 0 + config.repeat_last_action = current_time + config.needs_redraw = True elif is_input_matched(event, "page_down"): config.current_game = min(len(games) - 1, config.current_game + config.visible_games) config.repeat_action = None @@ -435,6 +442,13 @@ def handle_controls(event, sources, joystick, screen): config.repeat_start_time = 0 config.repeat_last_action = current_time config.needs_redraw = True + elif is_input_matched(event, "right"): + config.current_game = min(len(games) - 1, config.current_game + config.visible_games) + config.repeat_action = None + config.repeat_key = None + config.repeat_start_time = 0 + config.repeat_last_action = current_time + config.needs_redraw = True elif is_input_matched(event, "filter"): config.search_mode = True config.search_query = ""