-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathnative_keymap.ini
More file actions
37 lines (37 loc) · 1.58 KB
/
Copy pathnative_keymap.ini
File metadata and controls
37 lines (37 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ROCreader native key mapping overrides
# Format:
# joy.<button_index>=<BUTTON_NAME>
# pad.<button_index>=<BUTTON_NAME>
#
# BUTTON_NAME:
# UP DOWN LEFT RIGHT A B X Y MENU L1 L2 R1 R2 START SELECT VOLUP VOLDOWN POWER NONE
#
# Notes:
# - Windows build keeps the existing default mapping.
# - Windows keyboard simulation maps keypad `+/-` to VOLUP/VOLDOWN.
# - ARM/H700/Trimui Brick build selects built-in defaults by model/profile:
# * 34xxSP family: current 34xx-style layout
# * other H700 family (e.g. 35xxSP/40xx): alternate layout
# * Trimui Brick / 1024x768 profile: Trimui Brick dedicated layout
# - Start/Select/Menu all support real menu toggle behavior in runtime.
# - Device volume keys should arrive as SDL volume key events; overrides are only needed if
# your firmware exposes them as joystick buttons.
# - The power key is handled separately from volume keys. H700 accepts SDL POWER key events
# and maps joystick button 14 as POWER; Trimui Brick maps joystick button 14 as POWER in
# its own profile. Override with POWER/NONE here if your firmware reports a different id.
# - This file overrides defaults on both platforms if entries are provided.
#
# Example (H700 swap sample):
# joy.6=SELECT
# joy.7=START
# joy.10=L2
# joy.11=R2
# joy.14=POWER
# joy.15=VOLDOWN
# joy.16=VOLUP
#
# Default runtime behavior:
# - device volume keys map to VOLUP/VOLDOWN
# - joystick buttons 15/16 are treated as VOLDOWN/VOLUP on H700 and Trimui Brick
# - joystick button 14 is treated as POWER separately in H700 and Trimui Brick profiles
# - left/right analog sticks both mirror D-pad directions