# Actions of the game => keys / pad / touch. The engine already defines: # up, down, left, right, confirm, back, pause (see JumPHP\Kernel\Engine::DEFAULT_ACTIONS) # Redefining one here replaces its bindings. # Key names: SDL names (Left, Right, Up, Down, Space, Return, Escape, Left Shift, A..Z, 0..9, F1..F12) # Other sources: pad0:a|b|x|y|lb|rb|lt|rt|select|start|ls|rs (gamepad, same names everywhere), pad0:left|right|up|down # (d-pad or left stick), pad0:button3 (raw), touch:left|right|up|down|tap, mouse:1 actions: confirm: [Return, Space, Backspace, pad0:a] # the phone's COURIR button (Backspace) is OK in the menus fire: [pad0:a, pad0:b, Backspace] # held with a direction: run (Shift too; the phone's COURIR button sends Backspace) # "Experience - Rob revisited" (App\Scene\RevisitedScene): the engine's up / down / left / right walk and turn # (arrows, WASD, the left stick, the phone's stick); Z / Q for AZERTY keyboards rv_forward: [Z] rv_turn_left: [Q] rv_run: [Left Shift, Right Shift, pad0:lb] rv_crouch: [C, Left Ctrl, pad0:rb] rv_act: [E, Return, Keypad Enter, Backspace, pad0:x] # the context action; the phone's A button sends Backspace: ACTION rv_attack: [F, pad0:rt] # right hand (also a click on the view without a drag) rv_left: [V, pad0:lt] # left hand: brandish the torch / strike with the left item (also a right click) rv_swap: [X] # exchange the hands (in play; X is "drop" in the screens) rv_inventory: [I, pad0:y] rv_craft: [K] rv_body: [B] rv_map: [M, pad0:select] rv_journal: [J, pad0:ls] rv_sleep: [T] rv_rest: [R] rv_drop: [X, Delete] rv_close: [Escape, pad0:b] rv_prev: [Page Up, pad0:lb] rv_next: [Page Down, pad0:rb] rv_1: ['1', Keypad 1] rv_2: ['2', Keypad 2] rv_3: ['3', Keypad 3] rv_4: ['4', Keypad 4] rv_5: ['5', Keypad 5] rv_6: ['6', Keypad 6] rv_jump: [Space, pad0:a] # in the menus Space / pad A are still "confirm" rv_scanner: [Tab, N] rv_help: [H, F1]