Skip to content

Instantly share code, notes, and snippets.

@fenglengshun
Last active May 3, 2026 13:01
Show Gist options
  • Select an option

  • Save fenglengshun/5dd9ad6a7629361dec3550d7dd1f8c95 to your computer and use it in GitHub Desktop.

Select an option

Save fenglengshun/5dd9ad6a7629361dec3550d7dd1f8c95 to your computer and use it in GitHub Desktop.
SteamInput setup for ROG Ally with InputPlumber
"controller_mappings"
{
"version" "3"
"revision" "149"
"title" "ROG Ally (K&M + Gamepad)"
"description" "Based on default ROG Ally presets"
"creator" "76561198212657872"
"progenitor" ""
"url" "autosave:///home/fenglengshun/.local/share/Steam/steamapps/common/Steam Controller Configs/252392144/config/413080/controller_rog_ally.vdf"
"export_type" "personal_local"
"controller_type" "controller_rog_ally"
"controller_caps" "23117823"
"major_revision" "0"
"minor_revision" "0"
"Timestamp" "0"
"actions"
{
"Default"
{
"title" "Default"
"legacy_set" "1"
}
"Preset_1000002"
{
"title" "Gamepad"
"legacy_set" "1"
}
}
"action_layers"
{
"Preset_1000001"
{
"title" "Secondary Keys"
"legacy_set" "1"
"set_layer" "1"
"parent_set_name" "Default"
}
}
"group"
{
"id" "0"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
"button_a"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press ENTER, , "
}
}
}
"disabled_activators"
{
}
}
"button_b"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press ESCAPE, , "
}
}
}
"disabled_activators"
{
}
}
"button_x"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press PAGE_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"button_y"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press PAGE_UP, , "
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "1"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press UP_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press DOWN_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press RIGHT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_SHIFT, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
}
}
"group"
{
"id" "2"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press UP_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press DOWN_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press RIGHT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"deadzone" "2000"
}
}
"group"
{
"id" "3"
"mode" "absolute_mouse"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_SHIFT, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "4"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
"edge"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_SHIFT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
"Full_Press"
{
"bindings"
{
"binding" "key_press TAB, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "5"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"edge"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "6"
"mode" "scrollwheel"
"name" ""
"description" ""
"inputs"
{
"scroll_clockwise"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_wheel SCROLL_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"scroll_counterclockwise"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_wheel SCROLL_UP, , "
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button MIDDLE, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"scroll_angle" "160"
}
}
"group"
{
"id" "8"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press UP_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press DOWN_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press RIGHT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
"haptic_intensity_override" "0"
}
}
"group"
{
"id" "9"
"mode" "joystick_mouse"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button MIDDLE, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"output_joystick" "2"
"sensitivity" "80"
}
}
"group"
{
"id" "12"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "11"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "10"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
"button_a"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_SHIFT, , "
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press S, , "
}
}
}
"disabled_activators"
{
}
}
"button_b"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press A, , "
}
}
}
"disabled_activators"
{
}
}
"button_x"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press P, , "
}
}
}
"disabled_activators"
{
}
}
"button_y"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press LEFT_ALT, , "
"binding" "key_press R, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "14"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
"button_a"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press ESCAPE, , "
}
}
}
"disabled_activators"
{
}
}
"button_b"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press W, , "
}
}
}
"disabled_activators"
{
}
}
"button_x"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_CONTROL, , "
"binding" "key_press F12, , "
}
"settings"
{
"interruptable" "0"
}
}
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
}
"settings"
{
"delay_start" "200"
"interruptable" "0"
}
}
}
"disabled_activators"
{
}
}
"button_y"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "controller_action SHOW_KEYBOARD, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "16"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
}
}
"group"
{
"id" "17"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button TRIGGER_LEFT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"edge"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button TRIGGER_LEFT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "18"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button TRIGGER_RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"edge"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button TRIGGER_RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "20"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
"button_a"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button A, , "
}
}
}
"disabled_activators"
{
}
}
"button_b"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button B, , "
}
}
}
"disabled_activators"
{
}
}
"button_x"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button X, , "
}
}
}
"disabled_activators"
{
}
}
"button_y"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button Y, , "
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "22"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button DPAD_UP, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button DPAD_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button DPAD_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button DPAD_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
"haptic_intensity_override" "0"
}
}
"group"
{
"id" "24"
"mode" "joystick_mouse"
"name" ""
"description" ""
"inputs"
{
}
"settings"
{
"output_joystick" "2"
}
}
"group"
{
"id" "26"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button RSTICK_UP, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button RSTICK_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button RSTICK_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button RSTICK_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button JOYSTICK_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
}
}
"group"
{
"id" "27"
"mode" "joystick_mouse"
"name" ""
"description" ""
"inputs"
{
}
"settings"
{
"output_joystick" "2"
}
}
"group"
{
"id" "28"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button LSTICK_UP, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button LSTICK_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button LSTICK_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button LSTICK_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button JOYSTICK_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
}
}
"group"
{
"id" "7"
"mode" "switches"
"name" ""
"description" ""
"inputs"
{
"button_escape"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press F9, , "
}
}
}
"disabled_activators"
{
}
}
"button_menu"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press 1, , "
}
}
}
"disabled_activators"
{
}
}
"left_bumper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press TAB, , "
}
}
}
"disabled_activators"
{
}
}
"right_bumper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button LEFT, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_left_upper"
{
"activators"
{
"Start_Press"
{
"bindings"
{
"binding" "controller_action hold_layer 3 1 1, , "
}
}
"release"
{
"bindings"
{
"binding" "controller_action remove_layer 3 1 1, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_right_upper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_CONTROL, , "
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "13"
"mode" "switches"
"name" ""
"description" ""
"inputs"
{
"button_back_right_upper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "controller_action CHANGE_PRESET 2 1 1, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "19"
"mode" "switches"
"name" ""
"description" ""
"inputs"
{
"button_escape"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button START, , "
}
}
}
"disabled_activators"
{
}
}
"button_menu"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button SELECT, , "
}
}
}
"disabled_activators"
{
}
}
"left_bumper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button SHOULDER_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
"right_bumper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button SHOULDER_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_left_upper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "controller_action CHANGE_PRESET 1 1 1, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_right_upper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press 1, , "
}
}
}
"disabled_activators"
{
}
}
}
}
"preset"
{
"id" "0"
"name" "Default"
"group_source_bindings"
{
"7" "switch active"
"0" "button_diamond active"
"1" "joystick active"
"4" "left_trigger active"
"5" "right_trigger active"
"8" "dpad active"
"9" "right_joystick active"
}
}
"preset"
{
"id" "1"
"name" "Preset_1000002"
"group_source_bindings"
{
"19" "switch active"
"16" "button_diamond inactive"
"20" "button_diamond active"
"27" "joystick inactive"
"28" "joystick active"
"17" "left_trigger active"
"18" "right_trigger active"
"22" "dpad active"
"24" "right_joystick inactive"
"26" "right_joystick active"
}
}
"preset"
{
"id" "2"
"name" "Preset_1000001"
"group_source_bindings"
{
"13" "switch active"
"10" "button_diamond active"
"11" "left_trigger active"
"12" "right_trigger active"
"14" "dpad active"
}
}
"settings"
{
}
}
"controller_mappings"
{
"version" "3"
"revision" "152"
"title" "ROG Ally (K&M + Gamepad)"
"description" "Based on ROG Ally Windows config, modified for RPG Maker."
"creator" "76561198212657872"
"progenitor" ""
"url" "autosave:///home/fenglengshun/.local/share/Steam/steamapps/common/Steam Controller Configs/252392144/config/413080/controller_rog_ally.vdf"
"export_type" "personal_local"
"controller_type" "controller_rog_ally"
"controller_caps" "23117823"
"major_revision" "0"
"minor_revision" "0"
"Timestamp" "0"
"actions"
{
"Default"
{
"title" "Default"
"legacy_set" "1"
}
"Preset_1000002"
{
"title" "Gamepad"
"legacy_set" "1"
}
}
"action_layers"
{
"Preset_1000001"
{
"title" "Secondary Keys"
"legacy_set" "1"
"set_layer" "1"
"parent_set_name" "Default"
}
}
"group"
{
"id" "0"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
"button_a"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press ENTER, , "
}
}
}
"disabled_activators"
{
}
}
"button_b"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press ESCAPE, , "
}
}
}
"disabled_activators"
{
}
}
"button_x"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press PAGE_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"button_y"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press PAGE_UP, , "
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "1"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press UP_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press DOWN_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press RIGHT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_SHIFT, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
}
}
"group"
{
"id" "2"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press UP_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press DOWN_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press RIGHT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"deadzone" "2000"
}
}
"group"
{
"id" "3"
"mode" "absolute_mouse"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_SHIFT, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "4"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
"edge"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_SHIFT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
"Full_Press"
{
"bindings"
{
"binding" "key_press TAB, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "5"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"edge"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "6"
"mode" "scrollwheel"
"name" ""
"description" ""
"inputs"
{
"scroll_clockwise"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_wheel SCROLL_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"scroll_counterclockwise"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_wheel SCROLL_UP, , "
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button MIDDLE, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"scroll_angle" "160"
}
}
"group"
{
"id" "8"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press UP_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press DOWN_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press RIGHT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_ARROW, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
"haptic_intensity_override" "0"
}
}
"group"
{
"id" "9"
"mode" "joystick_mouse"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button MIDDLE, , "
}
"settings"
{
"haptic_intensity" "1"
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"output_joystick" "2"
"sensitivity" "80"
}
}
"group"
{
"id" "12"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "11"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "10"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
"button_a"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press LEFT_SHIFT, , "
"binding" "key_press S, , "
}
}
}
"disabled_activators"
{
}
}
"button_b"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press A, , "
}
}
}
"disabled_activators"
{
}
}
"button_x"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press P, , "
}
}
}
"disabled_activators"
{
}
}
"button_y"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_ALT, , "
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press R, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "14"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
"button_a"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press ESCAPE, , "
}
}
}
"disabled_activators"
{
}
}
"button_b"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
"binding" "key_press W, , "
}
}
}
"disabled_activators"
{
}
}
"button_x"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_CONTROL, , "
"binding" "key_press F12, , "
}
"settings"
{
"interruptable" "0"
}
}
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
}
"settings"
{
"delay_start" "200"
"interruptable" "0"
}
}
}
"disabled_activators"
{
}
}
"button_y"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "controller_action SHOW_KEYBOARD, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "16"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
}
}
"group"
{
"id" "17"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button TRIGGER_LEFT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"edge"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button TRIGGER_LEFT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "18"
"mode" "trigger"
"name" ""
"description" ""
"inputs"
{
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button TRIGGER_RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
"edge"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button TRIGGER_RIGHT, , "
}
"settings"
{
"haptic_intensity" "2"
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "20"
"mode" "four_buttons"
"name" ""
"description" ""
"inputs"
{
"button_a"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button A, , "
}
}
}
"disabled_activators"
{
}
}
"button_b"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button B, , "
}
}
}
"disabled_activators"
{
}
}
"button_x"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button X, , "
}
}
}
"disabled_activators"
{
}
}
"button_y"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button Y, , "
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "22"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button DPAD_UP, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button DPAD_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button DPAD_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button DPAD_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
"haptic_intensity_override" "0"
}
}
"group"
{
"id" "24"
"mode" "joystick_mouse"
"name" ""
"description" ""
"inputs"
{
}
"settings"
{
"output_joystick" "2"
}
}
"group"
{
"id" "26"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button RSTICK_UP, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button RSTICK_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button RSTICK_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button RSTICK_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button JOYSTICK_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
}
}
"group"
{
"id" "27"
"mode" "joystick_mouse"
"name" ""
"description" ""
"inputs"
{
}
"settings"
{
"output_joystick" "2"
}
}
"group"
{
"id" "28"
"mode" "dpad"
"name" ""
"description" ""
"inputs"
{
"dpad_north"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button LSTICK_UP, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_south"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button LSTICK_DOWN, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_east"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button LSTICK_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
"dpad_west"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button LSTICK_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
"click"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button JOYSTICK_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"requires_click" "0"
}
}
"group"
{
"id" "7"
"mode" "switches"
"name" ""
"description" ""
"inputs"
{
"button_escape"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press F9, , "
}
}
}
"disabled_activators"
{
}
}
"button_menu"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press 1, , "
}
}
}
"disabled_activators"
{
}
}
"left_bumper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press TAB, , "
}
}
}
"disabled_activators"
{
}
}
"right_bumper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "mouse_button LEFT, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_left_upper"
{
"activators"
{
"Start_Press"
{
"bindings"
{
"binding" "controller_action hold_layer 3 1 1, , "
}
}
"release"
{
"bindings"
{
"binding" "controller_action remove_layer 3 1 1, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_right_upper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_CONTROL, , "
}
}
}
"disabled_activators"
{
}
}
}
}
"group"
{
"id" "13"
"mode" "switches"
"name" ""
"description" ""
"inputs"
{
"button_escape"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press F10, , "
}
}
}
"disabled_activators"
{
}
}
"button_menu"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press LEFT_WINDOWS, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_right_upper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "controller_action CHANGE_PRESET 2 1 1, , "
}
}
}
"disabled_activators"
{
}
}
}
"settings"
{
"layer" "1"
}
}
"group"
{
"id" "19"
"mode" "switches"
"name" ""
"description" ""
"inputs"
{
"button_escape"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button START, , "
}
}
}
"disabled_activators"
{
}
}
"button_menu"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button SELECT, , "
}
}
}
"disabled_activators"
{
}
}
"left_bumper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button SHOULDER_LEFT, , "
}
}
}
"disabled_activators"
{
}
}
"right_bumper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "xinput_button SHOULDER_RIGHT, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_left_upper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "controller_action CHANGE_PRESET 1 1 1, , "
}
}
}
"disabled_activators"
{
}
}
"button_back_right_upper"
{
"activators"
{
"Full_Press"
{
"bindings"
{
"binding" "key_press 1, , "
}
}
}
"disabled_activators"
{
}
}
}
}
"preset"
{
"id" "0"
"name" "Default"
"group_source_bindings"
{
"7" "switch active"
"0" "button_diamond active"
"1" "joystick active"
"4" "left_trigger active"
"5" "right_trigger active"
"8" "dpad active"
"9" "right_joystick active"
}
}
"preset"
{
"id" "1"
"name" "Preset_1000002"
"group_source_bindings"
{
"19" "switch active"
"16" "button_diamond inactive"
"20" "button_diamond active"
"27" "joystick inactive"
"28" "joystick active"
"17" "left_trigger active"
"18" "right_trigger active"
"22" "dpad active"
"24" "right_joystick inactive"
"26" "right_joystick active"
}
}
"preset"
{
"id" "2"
"name" "Preset_1000001"
"group_source_bindings"
{
"13" "switch active"
"10" "button_diamond active"
"11" "left_trigger active"
"12" "right_trigger active"
"14" "dpad active"
}
}
"settings"
{
}
}
@fenglengshun
Copy link
Copy Markdown
Author

fenglengshun commented May 3, 2026

On my device, these files are located in /home/fenglengshun/.steam/steam/steamapps/common/Steam Controller Configs/252392144/config/413080/.

To explain, I basically mapped the normal ROG Ally K&M Mode first.

Then, the important part, I make Hold Action Set + Remove Action Set like this:

image

I named the action set as “Secondary Keys” and they replicates the normal K&M set, except for a few buttons so that you would have the same “hold left back-pedal” shortcuts as original ROG Ally does.

(the release press may not register sometimes – just press the left back-pedal button twice in that case)

Then I mapped the left + right back-pedal combination to switch to Gamepad mode, which is manually mapped to normal gamepad inputs in Steam. Pressing the left back-pedal again returns you to K&M mode.

(it is based on normal ROG Ally shortcuts, but I modified it for convenience as I played a lot of RPG Maker – Ctrl, F10, F9, and 1 are useful shortcuts in rpgmakermlinux-cicpoffs)

Summary

image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment