chore(input_manager): clean code

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2026-01-08 17:24:22 +05:00
parent bbfc51f908
commit 59aecbc6e8
5 changed files with 565 additions and 167 deletions

View File

@@ -135,6 +135,15 @@ def create_dialog_hints_widget(theme, main_window, input_manager, context='defau
("prev_tab", _("Prev Tab")), # LB / L1
("next_tab", _("Next Tab")), # RB / R1
]
elif context == 'proton_manager':
dialog_actions = [
("confirm", _("Toggle")), # A / Cross
("add_game", _("Download")), # X / Triangle
("prev_dir", _("Clear All")), # Y / Square
("back", _("Cancel")), # B / Circle
("prev_tab", _("Prev Tab")), # LB / L1
("next_tab", _("Next Tab")), # RB / R1
]
hints_labels = [] # Store for updates (returned for class storage)