luminousdolphin

8BitDo Pro2 X Input Retroarch Config

Aug 13th, 2023
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. # 8BitDo Pro 2
  2. # Firmware v1.05
  3. # With the device started in Xinput mode.
  4. # Custom Edits 8/1/23
  5.  
  6.  
  7. #######################################
  8. #######################################
  9. ############ Device Info ##############
  10. #######################################
  11. #######################################
  12.  
  13. input_driver = "udev"
  14. input_device = "8BitDo Pro 2"
  15. input_device_display_name = "8BitDo Pro 2"
  16.  
  17. # Hex vid:pid is found using "dmesg -w" or "tail -f /var/log/syslog" and converted to Decimal using http://www.binaryhexconverter.com/hex-to-decimal-converter
  18. # Hex vid:pid = 045E:02E0 -> Decimal vid:pid = 1118:736
  19. input_vendor_id = "1118"
  20. input_product_id = "736"
  21.  
  22.  
  23.  
  24.  
  25. #######################################
  26. #######################################
  27. ################ FIXES ################
  28. #######################################
  29. #######################################
  30.  
  31. # Defines axis threshold. Possible values are [0.0, 1.0]
  32. input_axis_threshold = 0.8
  33. input_analog_deadzone = 0.2
  34. input_analog_sensitivity = 0.8
  35.  
  36.  
  37. #######################################
  38. #######################################
  39. ############## HOT KEYS ###############
  40. #######################################
  41. #######################################
  42.  
  43. # 8BitDo Default Hotkey
  44. input_menu_toggle_btn = "10"
  45. input_menu_toggle_btn_label = "home"
  46.  
  47. # Swap buttons for OK/Cancel
  48. menu_swap_ok_cancel_buttons = "false"
  49.  
  50. # Enable other hotkeys.
  51. # Select Button as Hotkey
  52. input_enable_hotkey_btn = 6
  53.  
  54. # Select + X To Toggle Menu
  55. input_menu_toggle_btn = 3
  56.  
  57. # Select + A to Exit Emulator
  58. input_exit_emulator_btn = 1
  59.  
  60. # Select + L1 To Save State
  61. input_save_state_btn = 4
  62.  
  63. #Select + R1 To Load State
  64. input_load_state_btn = 5
  65.  
  66. # DPad Left & Right To Increase Slot
  67. # State slots. With slot set to 0, save state name is *.state (or whatever defined on commandline).
  68. # When slot is != 0, path will be $path%d, where %d is slot number.
  69. input_state_slot_increase = "right"
  70. input_state_slot_decrease = "left"
  71. input_state_slot_increase_axis = +0
  72. input_state_slot_decrease_axis = -0
  73.  
  74.  
  75.  
  76.  
  77. #######################################
  78. #######################################
  79. ############## BUTTONS ################
  80. #######################################
  81. #######################################
  82. input_b_btn = "0"
  83. input_b_btn_label = "B"
  84.  
  85. input_y_btn = "2"
  86. input_y_btn_label = "Y"
  87.  
  88. input_a_btn = "1"
  89. input_a_btn_label = "A"
  90.  
  91. input_x_btn = "3"
  92. input_x_btn_label = "X"
  93.  
  94.  
  95. # L/R Buttons
  96. input_l_btn = "4"
  97. input_l_btn_label = "L1"
  98.  
  99. input_r_btn = "5"
  100. input_r_btn_label = "R1"
  101.  
  102.  
  103. input_l2_axis = "+2"
  104. input_l2_axis_label = "L2"
  105.  
  106. input_r2_axis = "+5"
  107. input_r2_axis_label = "R2"
  108.  
  109.  
  110. #Start/Select
  111. input_select_btn = "6"
  112. input_select_btn_label = "Select"
  113.  
  114. input_start_btn = "7"
  115. input_start_btn_label = "Start"
  116.  
  117.  
  118.  
  119. #######################################
  120. #######################################
  121. ################ D-PAD ################
  122. #######################################
  123. #######################################
  124.  
  125. input_up_btn = "h0up"
  126. input_up_btn_label = "Dpad Up"
  127.  
  128. input_down_btn = "h0down"
  129. input_down_btn_label = "Dpad Down"
  130.  
  131. input_left_btn = "h0left"
  132. input_left_btn_label = "Dpad Left"
  133.  
  134. input_right_btn = "h0right"
  135. input_right_btn_label = "Dpad Right"
  136.  
  137.  
  138.  
  139. #######################################
  140. #######################################
  141. ############ ANALOG STICKS ############
  142. #######################################
  143. #######################################
  144.  
  145. #Left Analog
  146. input_l3_btn = "8"
  147. input_l3_btn_label = "LS"
  148.  
  149. input_l_x_plus_axis = "+0"
  150. input_l_x_plus_axis_label = "LS Right"
  151.  
  152. input_l_x_minus_axis = "-0"
  153. input_l_x_minus_axis_label = "LS Left"
  154.  
  155. input_l_y_plus_axis = "+1"
  156. input_l_y_plus_axis_label = "LS Down"
  157.  
  158. input_l_y_minus_axis = "-1"
  159. input_l_y_minus_axis_label = "LS Up"
  160.  
  161.  
  162. #Right Analog
  163. input_r3_btn = "9"
  164. input_r3_btn_label = "RS"
  165.  
  166. input_r_x_plus_axis = "+3"
  167. input_r_x_plus_axis_label = "RS Right"
  168.  
  169. input_r_x_minus_axis = "-3"
  170. input_r_x_minus_axis_label = "RS Left"
  171.  
  172. input_r_y_plus_axis = "+4"
  173. input_r_y_plus_axis_label = "RS Down"
  174.  
  175. input_r_y_minus_axis = "-4"
  176. input_r_y_minus_axis_label = "RS Up"
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
Add Comment
Please, Sign In to add comment