Skip to content

Instantly share code, notes, and snippets.

@andriitishchenko
Created April 21, 2024 08:36
Show Gist options
  • Save andriitishchenko/eee4d2d87380b48afa25480900e8b2a4 to your computer and use it in GitHub Desktop.
Save andriitishchenko/eee4d2d87380b48afa25480900e8b2a4 to your computer and use it in GitHub Desktop.
Stadia Gamepad Controller raspberry configs
dmesg | grep Stadia
[ 39.544165] input: StadiaSWCC-c843 as /devices/virtual/misc/uhid/0005:18D1:9400.0001/input/input0
[ 39.554182] hid-generic 0005:18D1:9400.0001: input,hidraw0: BLUETOOTH HID v1.00 Gamepad [StadiaSWCC-c843] on 00:1A:7D:DA:71:13
Buttons ID Stadia Controller
[--14--] [--13--]
[-4-] _______________________________[-5-]
/ +7 {.6.} [_7_] (3) \
| _ |_+6 (11:) [12] (2) (1)|
| | (0) |
\ (-8-) /
| +0,+1 ------------ +2,+3 |
input_device = "StadiaSWCC-c843"
input_driver = "udev"
input_enable_hotkey_btn = "12"
input_r3_btn = "10"
input_r_y_minus_axis = "-3"
input_l_btn = "4"
input_load_state_btn = "4"
input_r_y_plus_axis = "+3"
input_up_btn = "h0up"
input_left_btn = "h0left"
input_state_slot_decrease_btn = "h0left"
input_select_btn = "6"
input_r2_btn = "13"
input_r_x_minus_axis = "-2"
input_l_y_plus_axis = "+1"
input_l_x_plus_axis = "+0"
input_right_btn = "h0right"
input_state_slot_increase_btn = "h0right"
input_l2_btn = "14"
input_l_x_minus_axis = "-0"
input_r_x_plus_axis = "+2"
input_l3_btn = "9"
input_r_btn = "5"
input_save_state_btn = "5"
input_l_y_minus_axis = "-1"
input_y_btn = "2"
input_x_btn = "3"
input_menu_toggle_btn = "3"
input_down_btn = "h0down"
input_start_btn = "7"
input_exit_emulator_btn = "7"
input_b_btn = "0"
input_reset_btn = "0"
input_a_btn = "1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment