Skip to content

Add SDL3 from SDL_GameControllerDB#1314

Closed
RobLoach wants to merge 2 commits into
libretro:masterfrom
RobLoach:sdl_controllerdb
Closed

Add SDL3 from SDL_GameControllerDB#1314
RobLoach wants to merge 2 commits into
libretro:masterfrom
RobLoach:sdl_controllerdb

Conversation

@RobLoach

@RobLoach RobLoach commented May 8, 2026

Copy link
Copy Markdown
Member

@RobLoach
RobLoach marked this pull request as draft May 8, 2026 19:35
@RobLoach

Copy link
Copy Markdown
Member Author

There are some changes we should fix...

Akishop Customs PS360+ v1.66.cfg

input_driver = "sdl2"
input_device = "Akishop Customs PS360+ v1.66"
input_device_display_name = "PS360+ v1.66"
input_vendor_id = "16"
input_product_id = "130"
input_b_btn = "0"
input_y_btn = "2"
input_select_btn = "5"
input_start_btn = "6"
input_up_btn = "11"
input_down_btn = "12"
input_left_btn = "13"
input_right_btn = "14"
input_a_btn = "1"
input_x_btn = "3"
input_l_btn = "9"
input_r_btn = "10"
input_l2_axis = "+4"
input_r2_axis = "+5"

input_b_btn_label = "1K"
input_y_btn_label = "1P"
input_select_btn_label = "Select/Back"
input_start_btn_label = "Start"
input_up_btn_label = "Up"
input_down_btn_label = "Down"
input_left_btn_label = "Left"
input_right_btn_label = "Right"
input_a_btn_label = "2K"
input_x_btn_label = "2P"
input_l_btn_label = "4P"
input_r_btn_label = "3P"
input_l2_axis_label = "4K"
input_r2_axis_label = "3K"
input_menu_toggle_label = "Guide/Home"
# Akishop Customs PS360: 03000000100000008200000000000000 (Windows)
# Generated by https://github.com/robloach/retroarch-joypad-autoconfig-sdl3

# Other GUID: 03000000100000008200000011010000 (Linux)

input_driver = "sdl3"
input_device = "Akishop Customs PS360"
input_vendor_id = "16"
input_product_id = "130"

input_b_btn = "1"
input_a_btn = "2"
input_y_btn = "0"
input_x_btn = "3"
input_select_btn = "8"
input_start_btn = "9"
input_menu_toggle_btn = "12"
input_l_btn = "4"
input_r_btn = "5"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_l2_btn = "6"
input_r2_btn = "7"

input_b_btn_label = "B"
input_a_btn_label = "A"
input_y_btn_label = "Y"
input_x_btn_label = "X"
input_select_btn_label = "Select"
input_start_btn_label = "Start"
input_menu_toggle_btn_label = "Menu"
input_l_btn_label = "L"
input_r_btn_label = "R"
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_l2_btn_label = "L2"
input_r2_btn_label = "R2"

@RobLoach

Copy link
Copy Markdown
Member Author

A better approach may be to static compile the GameControllerDB, and detect directly through SDL.

@RobLoach

Copy link
Copy Markdown
Member Author

Better approach at #1317

@RobLoach RobLoach closed this Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant