Add browser gamepad support with pad button pictograms

Co-Authored-By: deepseek-v4.1-flash (opencode-go) via CodeCraft
This commit is contained in:
Richard Zinkanddeepseek-v4.1-flash (opencode-go) via CodeCraft committed 2026-11-11 14:43:39 +01:00
1 parent 073999d592
commit 8d51d6ec6a
26 files changed
+1066 -22

No files matched your search

+19
View File
@@ -441,6 +441,25 @@ help.t_double = Double tap with the hand: backhand own units, punch heroes on yo
help.t_tools = Toolbar: categories open a row of tools; the menu button opens the pause menu
help.start_touch = Tap to start
# gamepad (browser Gamepad API)
set.gamepad = Gamepad buttons
val.xbox = Xbox
val.playstation = PlayStation
val.nintendo = Nintendo
pad.use = Use
pad.back = Back
pad.tool = Tool
pad.menu = Menu
pad.camera = Camera
pad.zoom = Zoom
help.p_move = Left stick Move the map
help.p_aim = Right stick Move the pointer
help.p_rot = D-pad Rotate and tilt
help.p_zoom = LT / RT Zoom in and out
help.p_use = A / cross Use the tool, confirm (hold: drag a rectangle)
help.p_back = B / circle Back, pause menu Start Menu
help.p_tool = LB / RB Select the tool Select This help
# rivers and bridges
tool.bridge.label = Bridge
tool.bridge.name = Build Bridge