Skip to content

Commit

Permalink
Merge pull request #1216 from patrickli/retroid-pocket
Browse files Browse the repository at this point in the history
android: Add Retroid Pocket 5
  • Loading branch information
RobLoach authored Feb 10, 2025
2 parents 81f7529 + 0e53f1a commit e35135b
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
input_driver = "android"
input_device = "Retroid Pocket 2 Plus Controller"
input_device_display_name = "Retroid Pocket 2 Plus for Android 11"
input_device = "Retroid Pocket Controller"
input_device_display_name = "Retroid Pocket"

input_vendor_id = "8226"
input_product_id = "12289"
Expand All @@ -15,8 +15,10 @@ input_x_btn = "99"
input_y_btn = "100"
input_l_btn = "102"
input_r_btn = "103"
input_l2_btn = "104"
input_r2_btn = "105"
input_l2_axis = "+8"
input_r2_axis = "+9"
input_l3_btn = "106"
input_r3_btn = "107"
input_start_btn = "108"
input_select_btn = "109"

Expand All @@ -29,15 +31,16 @@ input_r_x_minus_axis = "-2"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"


input_a_btn_label = "A"
input_b_btn_label = "B"
input_x_btn_label = "X"
input_y_btn_label = "Y"
input_l_btn_label = "L"
input_r_btn_label = "R"
input_l2_btn_label = "L2"
input_r2_btn_label = "R2"
input_l_btn_label = "L1"
input_r_btn_label = "R1"
input_l2_axis_label = "L2 Trigger"
input_r2_axis_label = "R2 Trigger"
input_l3_btn_label = "L3"
input_r3_btn_label = "R3"
input_select_btn_label = "Select"
input_start_btn_label = "Start"

Expand Down
59 changes: 59 additions & 0 deletions android/Retroid_Pocket_5.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
input_driver = "android"
input_device = "Retroid Pocket Controller"
input_device_display_name = "Retroid Pocket 5"

input_vendor_id = "8226"
input_product_id = "12290"

input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_a_btn = "96"
input_b_btn = "97"
input_x_btn = "99"
input_y_btn = "100"
input_l_btn = "102"
input_r_btn = "103"
input_l2_axis = "+8"
input_r2_axis = "+9"
input_l3_btn = "106"
input_r3_btn = "107"
input_start_btn = "108"
input_select_btn = "109"

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 = "+2"
input_r_x_minus_axis = "-2"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"

input_a_btn_label = "A"
input_b_btn_label = "B"
input_x_btn_label = "X"
input_y_btn_label = "Y"
input_l_btn_label = "L1"
input_r_btn_label = "R1"
input_l2_axis_label = "L2 Trigger"
input_r2_axis_label = "R2 Trigger"
input_l3_btn_label = "L3"
input_r3_btn_label = "R3"
input_select_btn_label = "Select"
input_start_btn_label = "Start"

input_up_btn_label = "Dpad Up"
input_down_btn_label = "Dpad Down"
input_left_btn_label = "Dpad Left"
input_right_btn_label = "Dpad Right"

input_l_x_plus_axis_label = "LS Right"
input_l_x_minus_axis_label = "LS Left"
input_l_y_plus_axis_label = "LS Down"
input_l_y_minus_axis_label = "LS Up"
input_r_x_plus_axis_label = "RS Right"
input_r_x_minus_axis_label = "RS Left"
input_r_y_plus_axis_label = "RS Down"
input_r_y_minus_axis_label = "RS Up"

0 comments on commit e35135b

Please sign in to comment.