# switch_sync-config.yaml - switch_sync.py config for the Sol-R1's 4 # tilt switches (jetpack/helmet/flashlight/parking), kept in sync with # actual in-game state instead of desyncing like a stateless toggle key. # # Every TODO placeholder here needs a real value before this is usable # (see README "Setup" and mapping-brief.md "Next steps"): # - input_on/input_off: run find_codes.py against the base to get # real BTN_* codes for each switch's two held positions. # - toggle_key: confirm the actual SE keybind in Options -> Controls # -> Controllers first - do not assume a default. # - region/on_color: run `switch_sync.py --sample X,Y` against the # live HUD indicator to calibrate. device_name: "TODO: Sol-R Base" # evdev device name substring, see find_codes.py --list switches: jetpack: input_on: "TODO_BTN_JETPACK_UP" input_off: "TODO_BTN_JETPACK_DOWN" toggle_key: "TODO_KEY_JETPACK_TOGGLE" region: [0, 0, 20, 20] # TODO: calibrate with --sample on_color: [0, 0, 0] # TODO: calibrate with --sample tolerance: 30 helmet: input_on: "TODO_BTN_HELMET_UP" input_off: "TODO_BTN_HELMET_DOWN" toggle_key: "TODO_KEY_HELMET_TOGGLE" region: [0, 0, 20, 20] on_color: [0, 0, 0] tolerance: 30 flashlight: input_on: "TODO_BTN_FLASHLIGHT_UP" input_off: "TODO_BTN_FLASHLIGHT_DOWN" toggle_key: "TODO_KEY_FLASHLIGHT_TOGGLE" region: [0, 0, 20, 20] on_color: [0, 0, 0] tolerance: 30 parking: input_on: "TODO_BTN_PARKING_UP" input_off: "TODO_BTN_PARKING_DOWN" toggle_key: "TODO_KEY_PARKING_TOGGLE" region: [0, 0, 20, 20] on_color: [0, 0, 0] tolerance: 30