Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 8BitDo Pro 2 Controller Config Dump
- X-Input Mode
- ##############################
- ####### GENERAL DATA #########
- ##############################
- deviceGUID="050000005e0400008e02000030110000"
- Hex vid:pid = 045E:02E0 -> Decimal vid:pid = 1118:736
- input_vendor_id = "1118" <---- Microsoft
- input_product_id = "736" <--- Microsoft
- input_device = "8BitDo Pro 2"
- input_device_display_name = "8BitDo Pro 2 X"
- (Note: In D-Input Mode VID / PID of Pro 2 Controller is: Hex vid:pid = 2DC8:6103 -> Decimal vid:pid = 11720:24835
- ###################################
- ########## XPADNEO OUTPUT #########
- ###################################
- Aug 27 00:03:14 rpi4 kernel: [ 12.977410] xpadneo 0005:045E:02E0.0003: buggy firmware detected, please upgrade to the latest version
- 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)
- 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)
- Aug 27 00:03:14 rpi4 kernel: [ 12.977429] xpadneo 0005:045E:02E0.0003: report descriptor size: 307 bytes
- Aug 27 00:03:14 rpi4 kernel: [ 12.977434] xpadneo 0005:045E:02E0.0003: fixing up report descriptor size
- Aug 27 00:03:14 rpi4 kernel: [ 12.978021] xpadneo 0005:045E:02E0.0003: battery detected
- Aug 27 00:03:14 rpi4 kernel: [ 12.978027] xpadneo 0005:045E:02E0.0003: enabling compliance with Linux Gamepad Specification
- 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
- Aug 27 00:03:14 rpi4 kernel: [ 12.978271] xpadneo 0005:045E:02E0.0003: controller quirks: 0x00000027
- Aug 27 00:03:14 rpi4 kernel: [ 13.638378] xpadneo 0005:045E:02E0.0003: 8BitDo Pro 2 [e4:17:d8:ae:8a:57] connected
- Aug 27 00:21:28 rpi4 kernel: [ 1097.621614] xpadneo 0005:045E:02E0.0003: reverting to original version (changed version from 0x00001130 to 0x00000903)
- Aug 27 00:21:28 rpi4 kernel: [ 1097.621629] xpadneo 0005:045E:02E0.0003: reverting to original product (changed PID from 0x028E to 0x02E0)
- (Note: is Xpadneo attempted PID of 0x028E a match for the Hex PID of 6103 in input mode?)
- ###################################
- ########## XPADNEO CONFIG ##########
- ###################################
- # /etc/modprobe.d/xpadneo.conf
- options hid_xpadneo quirks=98:B6:EA:xx:xx:xx+39
- ###################################
- ############ Autostart.sh ############
- ###################################
- 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,"
- emulationstation #auto
- #####################################
- ########## GAMECONTROLLERDB.TXT #########
- #####################################
- 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,
- 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,
- 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,"
- #####################################
- ########## EMULATIONSTATION ##########
- #####################################
- <?xml version="1.0"?>
- <inputList>
- <inputConfig type="joystick" deviceName="8BitDo Pro 2" deviceGUID="050000005e0400008e02000030110000">
- <input name="a" type="button" id="0" value="1" />
- <input name="b" type="button" id="1" value="1" />
- <input name="down" type="hat" id="0" value="4" />
- <input name="hotkeyenable" type="button" id="6" value="1" />
- <input name="left" type="hat" id="0" value="8" />
- <input name="leftanalogdown" type="axis" id="1" value="1" />
- <input name="leftanalogleft" type="axis" id="0" value="-1" />
- <input name="leftanalogright" type="axis" id="0" value="1" />
- <input name="leftanalogup" type="axis" id="1" value="-1" />
- <input name="leftshoulder" type="button" id="4" value="1" />
- <input name="leftthumb" type="button" id="9" value="1" />
- <input name="lefttrigger" type="axis" id="2" value="1" />
- <input name="right" type="hat" id="0" value="2" />
- <input name="rightanalogdown" type="axis" id="4" value="1" />
- <input name="rightanalogleft" type="axis" id="3" value="-1" />
- <input name="rightanalogright" type="axis" id="3" value="1" />
- <input name="rightanalogup" type="axis" id="4" value="-1" />
- <input name="rightshoulder" type="button" id="5" value="1" />
- <input name="rightthumb" type="button" id="10" value="1" />
- <input name="righttrigger" type="axis" id="5" value="1" />
- <input name="select" type="button" id="6" value="1" />
- <input name="start" type="button" id="7" value="1" />
- <input name="up" type="hat" id="0" value="1" />
- <input name="x" type="button" id="2" value="1" />
- <input name="y" type="button" id="3" value="1" />
- </inputConfig>
- </inputList>
- ##############################
- ########## RETROARCH #########
- ##############################
- #############################################
- ############ Custom Retroarch Config ########
- #############################################
- ######## /configs/all/retroarch.cfg #########
- #############################################
- #### Edits Aug 26 2023
- #### X-Input
- #####################################
- ###### Retroarch Menu ###############
- #####################################
- menu_driver = "xmb"
- xmb_show_add = "false"
- xmb_show_history = "false"
- xmb_show_images = "false"
- xmb_show_music = "false"
- xmb_shadows_enable = "false"
- config_save_on_exit = "false"
- rgui_show_start_screen = "false"
- menu_show_online_updater = "false"
- menu_show_core_updater = "false"
- menu_unified_controls = "true"
- rgui_aspect_ratio_lock = "2"
- menu_show_load_content_animation = "false"
- menu_disable_search_button = "true"
- menu_show_restart_retroarch = "false"
- global_core_options = "true"
- auto_remaps_enable = "true"
- remap_save_on_exit = "false"
- audio_enable_menu = "true"
- audio_enable_menu_ok = "true"
- audio_enable_menu_cancel = "true"
- audio_enable_menu_notice = "true"
- audio_enable_menu_bgm = "true"
- all_users_control_menu = "true"
- rgui_browser_directory = "/home/pi/RetroPie/roms"
- xmb_browser_directory = "/home/pi/RetroPie/roms"
- ###################################
- #### Options, Configs, Remaps #####
- ###################################
- global_core_options = "true"
- auto_remaps_enable = "true"
- remap_save_on_exit = "true"
- ##################################################
- ################ DIRECTORIES #####################
- ##################################################
- history_list_enable = "false"
- overlay_directory = "/home/pi/RetroPie/custom/overlay/custom/"
- core_options_path = "/opt/retropie/configs/all/retroarch-core-options.cfg"
- cache_directory = "/tmp/retroarch"
- video_shader_dir = "/opt/retropie/configs/all/retroarch/shaders/"
- cheat_database_path = "/home/pi/RetroPie/custom/cheats/"
- system_directory = "/home/pi/RetroPie/BIOS"
- cache_directory = "/tmp/retroarch"
- screenshot_directory = "/home/pi/RetroPie/custom/screenshots/"
- ############################
- ######### AUDIO VIDEO ######
- ############################
- video_fullscreen = "true"
- video_aspect_ratio_auto = "true"
- video_threaded = "true"
- ############################
- ###### INPUT ###############
- ############################
- ############################
- ###### HOTKEYS ############
- ############################
- #Select is hotkey, A is exit, Y is Retroarch menu, L1 / R2 is save / load.
- input_enable_hotkey_btn = "6"
- input_menu_toggle_btn = "2"
- input_exit_emulator_btn = "0"
- input_save_state_btn = "4"
- input_load_state_btn = "5"
- input_state_slot_increase = "right"
- input_state_slot_decrease = "left"
- input_state_slot_increase_axis = "+0"
- input_state_slot_decrease_axis = "-0"
- ######################################
- ############# KEYBOARD ###############
- ######################################
- ### Keyboard fallback
- input_player1_r3 = "f"
- input_player1_l = "q"
- input_player1_up = "up"
- input_player1_left = "left"
- input_player1_select = "space"
- input_player1_right = "right"
- input_player1_l2 = "tab"
- input_player1_l3 = "capslock"
- input_player1_r = "e"
- input_player1_y = "a"
- input_player1_x = "w"
- input_player1_menu_toggle = "f1"
- input_player1_down = "down"
- input_player1_start = "enter"
- input_player1_exit_emulator = "escape"
- input_player1_b = "x"
- #######################################
- #######################################
- ########## 8BitDo Pro 2.cfg ##########
- ########## Retroarch Joypads ##########
- #######################################
- # Firmware v3.02, Device started in Xinput mode., Edits 8/26/23
- input_driver = "udev"
- input_device = "8BitDo Pro 2"
- input_device_display_name = "8BitDo Pro 2 X"
- ### Note this is presenting as a Microsoft XBox One Wireless Controller ViD/PiD with Pro 2 in "X" Input Mode
- input_vendor_id = "1118"
- input_product_id = "736"
- input_a_btn = "0"
- input_b_btn = "1"
- input_x_btn = "2"
- input_y_btn = "3"
- input_up_btn = "h0up"
- input_down_btn = "h0down"
- input_left_btn = "h0left"
- input_right_btn = "h0right"
- input_l_btn = "4"
- input_r_btn = "5"
- input_l2_axis = "+2"
- input_r2_axis = "+5"
- input_l3_btn = "8"
- input_r3_btn = "9"
- input_select_btn = "6"
- input_start_btn = "7"
- input_l_x_plus_axis = "+0"
- input_l_x_minus_axis = "-0"
- input_l_y_minus_axis = "-1"
- input_l_y_plus_axis = "+1"
- input_r_y_minus_axis = "-4"
- input_r_y_plus_axis = "+4"
- input_r_x_minus_axis = "-3"
- input_r_x_plus_axis = "+3"
- #### Labels
- input_a_btn_label = "A"
- input_b_btn_label = "B"
- input_y_btn_label = "Y"
- input_x_btn_label = "X"
- 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_btn_label = "L1"
- input_l2_axis_label = "L2"
- input_r_btn_label = "R1"
- input_r2_axis_label = "R2"
- input_select_btn_label = "Select"
- input_start_btn_label = "Start"
- input_l3_btn_label = "LS"
- 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_r3_btn_label = "RS"
- 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"
- ################################
- ########## MUPEN64PLUS #########
- ################################
- ; InputAutoCfg.ini for Mupen64Plus SDL Input plugin
- ; 8BitDo Pro 2_START
- [8BitDo Pro 2]
- plugged = True
- plugin = 2
- mouse = False
- AnalogDeadzone = 4096,4096
- AnalogPeak = 32768,32768
- Mempak switch =
- Rumblepak switch = button(14)
- C Button U = button(3) axis(3-)
- L Trig = button(6)
- C Button D = button(0) axis(3+)
- DPad U = hat(0 Up)
- DPad L = hat(0 Left)
- C Button L = axis(2-)
- Y Axis = axis(1-,1+)
- X Axis = axis(0-,0+)
- DPad R = hat(0 Right)
- Z Trig = button(8)
- C Button R = axis(2+)
- R Trig = button(7)
- B Button = button(4)
- DPad D = hat(0 Down)
- Start = button(11)
- A Button = button(1)
- ; 8BitDo Pro 2_END
- ################################
- ############ REDREAM ###########
- ################################
- 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
- 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
- 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
- ################################
- ############ SCUMMVM ###########
- ################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement