Advertisement
luminousdolphin

Retroarch / ES / Controller Config Combined

Aug 23rd, 2023 (edited)
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.87 KB | None | 0 0
  1. 8BitDo Pro 2 Controller Config Dump
  2. X-Input Mode
  3.  
  4.  
  5.  
  6. ##############################
  7. ####### GENERAL DATA #########
  8. ##############################
  9.  
  10. deviceGUID="050000005e0400008e02000030110000"
  11. Hex vid:pid = 045E:02E0 -> Decimal vid:pid = 1118:736
  12. input_vendor_id = "1118" <---- Microsoft
  13. input_product_id = "736" <--- Microsoft
  14. input_device = "8BitDo Pro 2"
  15. input_device_display_name = "8BitDo Pro 2 X"
  16.  
  17. (Note: In D-Input Mode VID / PID of Pro 2 Controller is: Hex vid:pid = 2DC8:6103 -> Decimal vid:pid = 11720:24835
  18.  
  19.  
  20. ###################################
  21. ########## XPADNEO OUTPUT #########
  22. ###################################
  23.  
  24. Aug 27 00:03:14 rpi4 kernel: [ 12.977410] xpadneo 0005:045E:02E0.0003: buggy firmware detected, please upgrade to the latest version
  25. Aug 27 00:03:14 rpi4 kernel: [ 12.977417] xpadneo 0005:045E:02E0.0003: pretending XB1S Windows wireless mode (changed PID from 0x02E0 to 0x028E)
  26. Aug 27 00:03:14 rpi4 kernel: [ 12.977423] xpadneo 0005:045E:02E0.0003: working around wrong SDL2 mappings (changed version from 0x00000903 to 0x00001130)
  27. Aug 27 00:03:14 rpi4 kernel: [ 12.977429] xpadneo 0005:045E:02E0.0003: report descriptor size: 307 bytes
  28. Aug 27 00:03:14 rpi4 kernel: [ 12.977434] xpadneo 0005:045E:02E0.0003: fixing up report descriptor size
  29. Aug 27 00:03:14 rpi4 kernel: [ 12.978021] xpadneo 0005:045E:02E0.0003: battery detected
  30. Aug 27 00:03:14 rpi4 kernel: [ 12.978027] xpadneo 0005:045E:02E0.0003: enabling compliance with Linux Gamepad Specification
  31. Aug 27 00:03:14 rpi4 kernel: [ 12.978263] xpadneo 0005:045E:02E0.0003: input,hidraw2: BLUETOOTH HID v11.30 Gamepad [8BitDo Pro 2] on 8c:88:2b:45:fd:ff
  32. Aug 27 00:03:14 rpi4 kernel: [ 12.978271] xpadneo 0005:045E:02E0.0003: controller quirks: 0x00000027
  33. Aug 27 00:03:14 rpi4 kernel: [ 13.638378] xpadneo 0005:045E:02E0.0003: 8BitDo Pro 2 [e4:17:d8:ae:8a:57] connected
  34. Aug 27 00:21:28 rpi4 kernel: [ 1097.621614] xpadneo 0005:045E:02E0.0003: reverting to original version (changed version from 0x00001130 to 0x00000903)
  35. Aug 27 00:21:28 rpi4 kernel: [ 1097.621629] xpadneo 0005:045E:02E0.0003: reverting to original product (changed PID from 0x028E to 0x02E0)
  36.  
  37. (Note: is Xpadneo attempted PID of 0x028E a match for the Hex PID of 6103 in input mode?)
  38.  
  39. ###################################
  40. ########## XPADNEO CONFIG ##########
  41. ###################################
  42.  
  43. # /etc/modprobe.d/xpadneo.conf
  44. options hid_xpadneo quirks=98:B6:EA:xx:xx:xx+39
  45.  
  46.  
  47. ###################################
  48. ############ Autostart.sh ############
  49. ###################################
  50.  
  51. export SDL_GAMECONTROLLERCONFIG="050000005e0400008e02000030110000,8BitDo Pro 2,platform:Linux,a:b1,b:b0,x:b3,y:b2,back:b6,guide:b8,start:b7,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,hint:SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1,"
  52. emulationstation #auto
  53.  
  54. #####################################
  55. ########## GAMECONTROLLERDB.TXT #########
  56. #####################################
  57.  
  58.  
  59. export SDL_GAMECONTROLLERCONFIG="05000000c82d00000660000000010000,8BitDo Pro 2,platform:Linux,a:b1,b:b0,x:b4,y:b3,back:b10,guide:b12,start:b11,leftstick:b13,rightstick:b14,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a5,righttrigger:a4,
  60. 050000005e0400008e02000030110000,8BitDo Pro 2,platform:Linux,a:b1,b:b0,x:b3,y:b2,back:b6,guide:b8,start:b7,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,
  61. 050000005e040000fd02000003090000,Xbox One Wireless Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,"
  62.  
  63.  
  64.  
  65. #####################################
  66. ########## EMULATIONSTATION ##########
  67. #####################################
  68.  
  69. <?xml version="1.0"?>
  70. <inputList>
  71. <inputConfig type="joystick" deviceName="8BitDo Pro 2" deviceGUID="050000005e0400008e02000030110000">
  72. <input name="a" type="button" id="0" value="1" />
  73. <input name="b" type="button" id="1" value="1" />
  74. <input name="down" type="hat" id="0" value="4" />
  75. <input name="hotkeyenable" type="button" id="6" value="1" />
  76. <input name="left" type="hat" id="0" value="8" />
  77. <input name="leftanalogdown" type="axis" id="1" value="1" />
  78. <input name="leftanalogleft" type="axis" id="0" value="-1" />
  79. <input name="leftanalogright" type="axis" id="0" value="1" />
  80. <input name="leftanalogup" type="axis" id="1" value="-1" />
  81. <input name="leftshoulder" type="button" id="4" value="1" />
  82. <input name="leftthumb" type="button" id="9" value="1" />
  83. <input name="lefttrigger" type="axis" id="2" value="1" />
  84. <input name="right" type="hat" id="0" value="2" />
  85. <input name="rightanalogdown" type="axis" id="4" value="1" />
  86. <input name="rightanalogleft" type="axis" id="3" value="-1" />
  87. <input name="rightanalogright" type="axis" id="3" value="1" />
  88. <input name="rightanalogup" type="axis" id="4" value="-1" />
  89. <input name="rightshoulder" type="button" id="5" value="1" />
  90. <input name="rightthumb" type="button" id="10" value="1" />
  91. <input name="righttrigger" type="axis" id="5" value="1" />
  92. <input name="select" type="button" id="6" value="1" />
  93. <input name="start" type="button" id="7" value="1" />
  94. <input name="up" type="hat" id="0" value="1" />
  95. <input name="x" type="button" id="2" value="1" />
  96. <input name="y" type="button" id="3" value="1" />
  97. </inputConfig>
  98. </inputList>
  99.  
  100.  
  101.  
  102. ##############################
  103. ########## RETROARCH #########
  104. ##############################
  105.  
  106. #############################################
  107. ############ Custom Retroarch Config ########
  108. #############################################
  109. ######## /configs/all/retroarch.cfg #########
  110. #############################################
  111.  
  112. #### Edits Aug 26 2023
  113. #### X-Input
  114.  
  115. #####################################
  116. ###### Retroarch Menu ###############
  117. #####################################
  118.  
  119. menu_driver = "xmb"
  120. xmb_show_add = "false"
  121. xmb_show_history = "false"
  122. xmb_show_images = "false"
  123. xmb_show_music = "false"
  124. xmb_shadows_enable = "false"
  125. config_save_on_exit = "false"
  126. rgui_show_start_screen = "false"
  127. menu_show_online_updater = "false"
  128. menu_show_core_updater = "false"
  129. menu_unified_controls = "true"
  130. rgui_aspect_ratio_lock = "2"
  131. menu_show_load_content_animation = "false"
  132. menu_disable_search_button = "true"
  133. menu_show_restart_retroarch = "false"
  134. global_core_options = "true"
  135. auto_remaps_enable = "true"
  136. remap_save_on_exit = "false"
  137. audio_enable_menu = "true"
  138. audio_enable_menu_ok = "true"
  139. audio_enable_menu_cancel = "true"
  140. audio_enable_menu_notice = "true"
  141. audio_enable_menu_bgm = "true"
  142. all_users_control_menu = "true"
  143. rgui_browser_directory = "/home/pi/RetroPie/roms"
  144. xmb_browser_directory = "/home/pi/RetroPie/roms"
  145.  
  146. ###################################
  147. #### Options, Configs, Remaps #####
  148. ###################################
  149.  
  150. global_core_options = "true"
  151. auto_remaps_enable = "true"
  152. remap_save_on_exit = "true"
  153.  
  154. ##################################################
  155. ################ DIRECTORIES #####################
  156. ##################################################
  157.  
  158. history_list_enable = "false"
  159. overlay_directory = "/home/pi/RetroPie/custom/overlay/custom/"
  160. core_options_path = "/opt/retropie/configs/all/retroarch-core-options.cfg"
  161. cache_directory = "/tmp/retroarch"
  162. video_shader_dir = "/opt/retropie/configs/all/retroarch/shaders/"
  163. cheat_database_path = "/home/pi/RetroPie/custom/cheats/"
  164. system_directory = "/home/pi/RetroPie/BIOS"
  165. cache_directory = "/tmp/retroarch"
  166. screenshot_directory = "/home/pi/RetroPie/custom/screenshots/"
  167.  
  168.  
  169. ############################
  170. ######### AUDIO VIDEO ######
  171. ############################
  172.  
  173.  
  174. video_fullscreen = "true"
  175. video_aspect_ratio_auto = "true"
  176. video_threaded = "true"
  177.  
  178.  
  179. ############################
  180. ###### INPUT ###############
  181. ############################
  182.  
  183.  
  184. ############################
  185. ###### HOTKEYS ############
  186. ############################
  187.  
  188. #Select is hotkey, A is exit, Y is Retroarch menu, L1 / R2 is save / load.
  189. input_enable_hotkey_btn = "6"
  190. input_menu_toggle_btn = "2"
  191. input_exit_emulator_btn = "0"
  192. input_save_state_btn = "4"
  193. input_load_state_btn = "5"
  194. input_state_slot_increase = "right"
  195. input_state_slot_decrease = "left"
  196. input_state_slot_increase_axis = "+0"
  197. input_state_slot_decrease_axis = "-0"
  198.  
  199.  
  200.  
  201. ######################################
  202. ############# KEYBOARD ###############
  203. ######################################
  204.  
  205. ### Keyboard fallback
  206. input_player1_r3 = "f"
  207. input_player1_l = "q"
  208. input_player1_up = "up"
  209. input_player1_left = "left"
  210. input_player1_select = "space"
  211. input_player1_right = "right"
  212. input_player1_l2 = "tab"
  213. input_player1_l3 = "capslock"
  214. input_player1_r = "e"
  215. input_player1_y = "a"
  216. input_player1_x = "w"
  217. input_player1_menu_toggle = "f1"
  218. input_player1_down = "down"
  219. input_player1_start = "enter"
  220. input_player1_exit_emulator = "escape"
  221. input_player1_b = "x"
  222.  
  223.  
  224.  
  225. #######################################
  226. #######################################
  227. ########## 8BitDo Pro 2.cfg ##########
  228. ########## Retroarch Joypads ##########
  229. #######################################
  230.  
  231.  
  232. # Firmware v3.02, Device started in Xinput mode., Edits 8/26/23
  233.  
  234.  
  235. input_driver = "udev"
  236. input_device = "8BitDo Pro 2"
  237. input_device_display_name = "8BitDo Pro 2 X"
  238.  
  239. ### Note this is presenting as a Microsoft XBox One Wireless Controller ViD/PiD with Pro 2 in "X" Input Mode
  240. input_vendor_id = "1118"
  241. input_product_id = "736"
  242.  
  243. input_a_btn = "0"
  244. input_b_btn = "1"
  245. input_x_btn = "2"
  246. input_y_btn = "3"
  247. input_up_btn = "h0up"
  248. input_down_btn = "h0down"
  249. input_left_btn = "h0left"
  250. input_right_btn = "h0right"
  251. input_l_btn = "4"
  252. input_r_btn = "5"
  253. input_l2_axis = "+2"
  254. input_r2_axis = "+5"
  255. input_l3_btn = "8"
  256. input_r3_btn = "9"
  257. input_select_btn = "6"
  258. input_start_btn = "7"
  259.  
  260. input_l_x_plus_axis = "+0"
  261. input_l_x_minus_axis = "-0"
  262. input_l_y_minus_axis = "-1"
  263. input_l_y_plus_axis = "+1"
  264. input_r_y_minus_axis = "-4"
  265. input_r_y_plus_axis = "+4"
  266. input_r_x_minus_axis = "-3"
  267. input_r_x_plus_axis = "+3"
  268.  
  269. #### Labels
  270.  
  271. input_a_btn_label = "A"
  272. input_b_btn_label = "B"
  273. input_y_btn_label = "Y"
  274. input_x_btn_label = "X"
  275. input_up_btn_label = "Dpad Up"
  276. input_down_btn_label = "Dpad Down"
  277. input_left_btn_label = "Dpad Left"
  278. input_right_btn_label = "Dpad Right"
  279. input_l_btn_label = "L1"
  280. input_l2_axis_label = "L2"
  281. input_r_btn_label = "R1"
  282. input_r2_axis_label = "R2"
  283. input_select_btn_label = "Select"
  284. input_start_btn_label = "Start"
  285. input_l3_btn_label = "LS"
  286. input_l_x_plus_axis_label = "LS Right"
  287. input_l_x_minus_axis_label = "LS Left"
  288. input_l_y_plus_axis_label = "LS Down"
  289. input_l_y_minus_axis_label = "LS Up"
  290. input_r3_btn_label = "RS"
  291. input_r_x_plus_axis_label = "RS Right"
  292. input_r_x_minus_axis_label = "RS Left"
  293. input_r_y_plus_axis_label = "RS Down"
  294. input_r_y_minus_axis_label = "RS Up"
  295.  
  296.  
  297.  
  298.  
  299. ################################
  300. ########## MUPEN64PLUS #########
  301. ################################
  302.  
  303.  
  304.  
  305. ; InputAutoCfg.ini for Mupen64Plus SDL Input plugin
  306.  
  307.  
  308. ; 8BitDo Pro 2_START
  309. [8BitDo Pro 2]
  310. plugged = True
  311. plugin = 2
  312. mouse = False
  313. AnalogDeadzone = 4096,4096
  314. AnalogPeak = 32768,32768
  315. Mempak switch =
  316. Rumblepak switch = button(14)
  317. C Button U = button(3) axis(3-)
  318. L Trig = button(6)
  319. C Button D = button(0) axis(3+)
  320. DPad U = hat(0 Up)
  321. DPad L = hat(0 Left)
  322. C Button L = axis(2-)
  323. Y Axis = axis(1-,1+)
  324. X Axis = axis(0-,0+)
  325. DPad R = hat(0 Right)
  326. Z Trig = button(8)
  327. C Button R = axis(2+)
  328. R Trig = button(7)
  329. B Button = button(4)
  330. DPad D = hat(0 Down)
  331. Start = button(11)
  332. A Button = button(1)
  333. ; 8BitDo Pro 2_END
  334.  
  335.  
  336. ################################
  337. ############ REDREAM ###########
  338. ################################
  339.  
  340. profile0=name:050095acc82d00000660000000010000,type:controller,deadzone:12,crosshair:1,a:joy0,b:joy1,x:joy3,y:joy4,start:joy11,dpad_up:hat0,dpad_down:hat1,dpad_left:hat2,dpad_right:hat3,ljoy_up:-axis1,ljoy_down:+axis1,ljoy_left:-axis0,ljoy_right:+axis0,ltrig:axis5,rtrig:axis4,turbo:f6,menu:joy10,lcd:f5,screenshot:f12,exit:joy12
  341. profile1=name:050000005e040000e002000003090000,deadzone:12,a:joy1,b:joy0,x:joy3,y:joy2,start:joy7,dpad_up:hat0,dpad_down:hat1,dpad_left:hat2,dpad_right:hat3,ljoy_up:-axis1,ljoy_down:+axis1,ljoy_left:-axis0,ljoy_right:+axis0,ltrig:joy4,rtrig:joy5,turbo:+axis5,menu:+axis2,exit:joy10
  342. profile2=name:050000007e0500003003000001000000,type:controller,deadzone:12,crosshair:1,a:joy0,b:joy1,x:joy3,y:joy2,start:joy9,dpad_up:joy13,dpad_down:joy14,dpad_left:joy15,dpad_right:joy16,ljoy_up:-axis1,ljoy_down:+axis1,ljoy_left:-axis0,ljoy_right:+axis0,ltrig:joy6,rtrig:joy7,menu:joy8,exit:joy10
  343.  
  344.  
  345.  
  346. ################################
  347. ############ SCUMMVM ###########
  348. ################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement