-
-
Save JustinAiken/23c1ac7c70d9bff8df7f to your computer and use it in GitHub Desktop.
Configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@retropie:~ $ cat /etc/udev/rules.d/10-local.rules | |
SUBSYSTEM=="input", ATTRS{name}=="8Bitdo SFC30 GamePad Joystick", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1" | |
pi@retropie:~ $ cat /opt/retropie/configs/all/retroarch-joypads/8BitdoSFC30GamePadJoystick.cfg | |
# If RetroArch do NOT detect a controller when connected via Bluetooth and won't even recognize manual binding, | |
# the cause is most likely SDL (Simple DirectMedia Layer) NOT recognizing the controller as a joystick. | |
# To fix this you need to add udev rules to force detection - https://hg.libsdl.org/SDL/file/704a0bfecf75/README-linux.txt | |
# ------------------------------------------------------------------------------------------------------------------------------------------------- | |
# 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 SFC30 GamePad Joystick", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1" | |
# ------------------------------------------------------------------------------------------------------------------------------------------------- | |
input_device = "8Bitdo SFC30 GamePad Joystick" | |
input_driver = "udev" | |
# Hex vid:pid = 2810:0009 -> Decimal vid:pid = 10256:9 | |
input_vendor_id = 10256 | |
input_product_id = 9 | |
# Meta buttons: | |
input_enable_hotkey_btn = "21" | |
input_save_state_btn = "18" | |
input_load_state_btn = "17" | |
input_exit_emulator_btn = "22" | |
input_reset_btn = "12" | |
input_menu_toggle_btn = "14" | |
input_state_slot_increase_axis = "+0" | |
input_state_slot_decrease_axis = "-0" | |
# Simple Buttons: | |
input_b_btn = "12" | |
input_y_btn = "15" | |
input_select_btn = "21" | |
input_start_btn = "22" | |
input_a_btn = "11" | |
input_x_btn = "14" | |
input_l_btn = "17" | |
input_r_btn = "18" | |
# Simple button labels: | |
input_b_btn_label = "B" | |
input_y_btn_label = "Y" | |
input_select_btn_label = "Select" | |
input_start_btn_label = "Start" | |
input_a_btn_label = "A" | |
input_x_btn_label = "X" | |
input_l_btn_label = "L" | |
input_r_btn_label = "R" | |
# Axis: | |
input_up_axis = "-1" | |
input_down_axis = "+1" | |
input_left_axis = "-0" | |
input_right_axis = "+0" | |
input_up_axis_label = "D-Pad Up" | |
input_down_axis_label = "D-Pad Down" | |
input_left_axis_label = "D-Pad Left" | |
input_right_axis_label = "D-Pad Right" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment