Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hid: Add Atari VCS Modern and Classic Controllers #1173

Merged
merged 2 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions hid/Atari VCS Classic Controller.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
input_driver = "hid"
input_device = "Classic Controller"
input_vendor_id = "12880"
input_product_id = "4097"
input_device_display_name = "Atari VCS Classic Controller"

input_menu_toggle_btn = "4"
input_select_btn = "5"
input_start_btn = "3"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_a_btn = "1"
input_b_btn = "0"

input_a_btn_label = "Shoulder"
input_b_btn_label = "Trigger"
input_select_btn_label = "Back"
input_start_btn_label = "Menu"
input_up_btn_label = "D-Pad Up"
input_down_btn_label = "D-Pad Down"
input_left_btn_label = "D-Pad Left"
input_right_btn_label = "D-Pad Right"
56 changes: 56 additions & 0 deletions hid/Atari VCS Modern Controller.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
input_driver = "hid"
input_device = "Game Controller"
input_vendor_id = "12880"
input_product_id = "4098"
input_device_display_name = "Atari VCS Modern Controller"

input_b_btn = "1"
input_y_btn = "3"
input_menu_toggle_btn = "11"
input_select_btn = "12"
input_start_btn = "10"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_a_btn = "2"
input_x_btn = "4"
input_l_btn = "5"
input_r_btn = "6"
input_l2_axis = "+10"
input_r2_axis = "+9"
input_l3_btn = "7"
input_r3_btn = "8"
input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1"
input_r_x_plus_axis = "+4"
input_r_x_minus_axis = "-4"
input_r_y_plus_axis = "+5"
input_r_y_minus_axis = "-5"

input_b_btn_label = "A"
input_y_btn_label = "X"
input_select_btn_label = "Back"
input_start_btn_label = "Menu"
input_up_btn_label = "D-Pad Up"
input_down_btn_label = "D-Pad Down"
input_left_btn_label = "D-Pad Left"
input_right_btn_label = "D-Pad Right"
input_a_btn_label = "B"
input_x_btn_label = "Y"
input_l_btn_label = "LB"
input_r_btn_label = "RB"
input_l2_axis_label = "LT"
input_r2_axis_label = "RT"
input_l3_btn_label = "Left Stick"
input_r3_btn_label = "Right Stick"
input_l_x_plus_axis_label = "Left Analog Right"
input_l_x_minus_axis_label = "Left Analog Left"
input_l_y_plus_axis_label = "Left Analog Up"
input_l_y_minus_axis_label = "Left Analog Down"
input_r_x_plus_axis_label = "Right Analog Right"
input_r_x_minus_axis_label = "Right Analog Left"
input_r_y_plus_axis_Label = "Right Analog Up"
input_r_y_minus_axis_label = "Right Analog Down"
Loading