Add 8Bitdo Modkits

Fixes #471
This commit is contained in:
Rob Loach 2021-01-23 16:26:46 -05:00
parent 7f18bbef97
commit 9669cd4948
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A
2 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,48 @@
# 8BitDo Mod Kit for Original PlayStation Controller (Start+Cross) - http://www.8bitdo.com/ - https://shop.8bitdo.com/products/mod-kit-for-original-playstation-controller - http://support.8bitdo.com/
input_driver = "udev"
input_device = "8Bitdo P30 Modkit"
input_device_display_name = "8Bitdo P30 Modkit"
# 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
# Hex vid:pid = 2DC8:5107 -> Decimal vid:pid = 11720:20743
input_vendor_id = "11720"
input_product_id = "20743"
input_b_btn = "0"
input_y_btn = "3"
input_select_btn = "10"
input_start_btn = "11"
input_a_btn = "1"
input_x_btn = "4"
input_l_btn = "6"
input_r_btn = "7"
input_l2_btn = "8"
input_r2_btn = "9"
input_b_btn_label = "Cross"
input_y_btn_label = "Square"
input_select_btn_label = "Select"
input_start_btn_label = "Start"
input_a_btn_label = "Circle"
input_x_btn_label = "Triangle"
input_l_btn_label = "L1"
input_r_btn_label = "R1"
input_l2_btn_label = "L2"
input_r2_btn_label = "R2"
input_up_axis = "-1"
input_down_axis = "+1"
input_left_axis = "-0"
input_right_axis = "+0"
input_up_btn_label = "Dpad Up"
input_down_btn_label = "Dpad Down"
input_left_btn_label = "Dpad Left"
input_right_btn_label = "Dpad Right"
# -------------------------------------------------------------------------------------------------------------------------------------------------
# If RetroArch do NOT detect the controller when connected via Bluetooth and won't even recognize manual binding,
# fix it by adding this udev rule (the line below WITHOUT the # symbol at the beginning!) to "/etc/udev/rules.d/10-local.rules" and reboot.
# SUBSYSTEM=="input", ATTRS{name}=="8Bitdo NES30 Pro", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
# -------------------------------------------------------------------------------------------------------------------------------------------------

View File

@ -0,0 +1,27 @@
# 8BitDo Mod Kit for Original PlayStation Controller (Start+Cross) - http://www.8bitdo.com/ - https://shop.8bitdo.com/products/mod-kit-for-original-playstation-controller - http://support.8bitdo.com/
input_driver = "xinput"
input_device = "Bluetooth Wireless Controller "
input_device_display_name = "8Bitdo N30 Modkit"
input_vendor_id = "1118"
input_product_id = "736"
input_b_btn = "0"
input_select_btn = "7"
input_start_btn = "6"
input_a_btn = "1"
input_b_btn_label = "B"
input_select_btn_label = "Select"
input_start_btn_label = "Start"
input_a_btn_label = "A"
input_up_axis = "+1"
input_down_axis = "-1"
input_left_axis = "-0"
input_right_axis = "+0"
input_up_axis_label = "Dpad Up"
input_down_axis_label = "Dpad Down"
input_left_axis_label = "Dpad Left"
input_right_axis_label = "Dpad Right"