Last active
January 1, 2024 09:46
-
-
Save andriitishchenko/b453274f77f3804e80c6f3e37672ed0d to your computer and use it in GitHub Desktop.
Revisions
-
andriitishchenko revised this gist
Jan 1, 2024 . 1 changed file with 51 additions and 37 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,45 +1,59 @@ Hotkeys https://retropie.org.uk/docs/RetroArch-Configuration/ Congif key-value description: https://github.com/libretro/retroarch-joypad-autoconfig $ cd /opt/retropie/configs/all/retroarch-joypads/ $ lsusb Bus 001 Device 006: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad Bus 001 Device 005: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Define controllers: $ cat /proc/bus/input/devices I: Bus=0003 Vendor=0079 Product=0006 Version=0110 N: Name="DragonRise Inc. Generic USB Joystick " P: Phys=usb-20980000.usb-1.3.2/input0 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/0003:0079:0006.0002/input/input0 U: Uniq= H: Handlers=event0 js0 B: PROP=0 B: EV=1b B: KEY=fff 0 0 0 0 0 0 0 0 0 B: ABS=3002f B: MSC=10 I: Bus=0003 Vendor=054c Product=0268 Version=8111 N: Name="Sony PLAYSTATION(R)3 Controller Motion Sensors" P: Phys=usb-20980000.usb-1.3.1/input0 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:054C:0268.0001/input/input2 U: Uniq=00:1e:3d:2d:28:7b H: Handlers=event1 B: PROP=40 B: EV=9 B: ABS=7 I: Bus=0003 Vendor=054c Product=0268 Version=8111 N: Name="Sony PLAYSTATION(R)3 Controller" P: Phys=usb-20980000.usb-1.3.1/input0 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:054C:0268.0001/input/input1 U: Uniq=00:1e:3d:2d:28:7b H: Handlers=event2 js1 B: PROP=0 B: EV=20001b B: KEY=f 0 0 0 0 0 0 0 7fdb0000 0 0 0 0 0 0 0 0 0 B: ABS=3f B: MSC=10 B: FF=1 7030000 0 0 -
andriitishchenko created this gist
Jan 1, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ # "/opt/retropie/configs/all/retroarch-joypads/DragonRise Inc. Generic USB Joystick .cfg" # Open config menu and enable analog controll input_device = "DragonRise Inc. Generic USB Joystick " input_driver = "udev" input_r_y_minus_axis = "-4" input_r_y_plus_axis = "+4" input_r_x_plus_axis = "+3" input_r_x_minus_axis = "-3" input_l_y_plus_axis = "+1" input_l_y_minus_axis = "-1" input_l_x_plus_axis = "+0" input_l_x_minus_axis = "-0" input_a_btn = "1" input_b_btn = "2" input_x_btn = "0" input_y_btn = "3" input_r_btn = "7" input_l_btn = "6" input_start_btn = "9" input_select_btn = "8" input_l3_btn = "10" input_r3_btn = "11" # input_up_btn = "h0up" # input_down_btn = "h0down" # input_left_btn = "h0left" # input_right_btn = "h0right" This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,45 @@ Hotkeys https://retropie.org.uk/docs/RetroArch-Configuration/ Congif key-value description: https://github.com/libretro/retroarch-joypad-autoconfig $ cd /opt/retropie/configs/all/retroarch-joypads/ Define controllers: $ cat /proc/bus/input/devices I: Bus=0003 Vendor=0079 Product=0006 Version=0110 N: Name="DragonRise Inc. Generic USB Joystick " P: Phys=usb-20980000.usb-1.3.2/input0 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/0003:0079:0006.0002/input/input0 U: Uniq= H: Handlers=event0 js0 B: PROP=0 B: EV=1b B: KEY=fff 0 0 0 0 0 0 0 0 0 B: ABS=3002f B: MSC=10 I: Bus=0003 Vendor=054c Product=0268 Version=8111 N: Name="Sony PLAYSTATION(R)3 Controller Motion Sensors" P: Phys=usb-20980000.usb-1.3.1/input0 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:054C:0268.0001/input/input2 U: Uniq=00:1e:3d:2d:28:7b H: Handlers=event1 B: PROP=40 B: EV=9 B: ABS=7 I: Bus=0003 Vendor=054c Product=0268 Version=8111 N: Name="Sony PLAYSTATION(R)3 Controller" P: Phys=usb-20980000.usb-1.3.1/input0 S: Sysfs=/devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:054C:0268.0001/input/input1 U: Uniq=00:1e:3d:2d:28:7b H: Handlers=event2 js1 B: PROP=0 B: EV=20001b B: KEY=f 0 0 0 0 0 0 0 7fdb0000 0 0 0 0 0 0 0 0 0 B: ABS=3f B: MSC=10 B: FF=1 7030000 0 0 This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ # "/opt/retropie/configs/all/retroarch-joypads/Sony PLAYSTATION(R)3 Controller.cfg" input_device = "Sony PLAYSTATION(R)3 Controller" input_driver = "udev" input_enable_hotkey_btn = "10" input_r3_btn = "12" input_r_y_minus_axis = "-4" input_l_btn = "4" input_load_state_btn = "4" input_r_y_plus_axis = "+4" input_up_btn = "13" input_left_btn = "15" input_state_slot_decrease_btn = "15" input_select_btn = "8" input_r2_axis = "+5" input_r_x_minus_axis = "-3" input_l_y_plus_axis = "+1" input_l_x_plus_axis = "+0" input_right_btn = "16" input_state_slot_increase_btn = "16" input_l2_axis = "+2" input_l_x_minus_axis = "-0" input_r_x_plus_axis = "+3" input_l3_btn = "11" input_r_btn = "5" input_save_state_btn = "5" input_l_y_minus_axis = "-1" input_y_btn = "3" input_x_btn = "2" input_menu_toggle_btn = "2" input_down_btn = "14" input_start_btn = "9" input_exit_emulator_btn = "9" input_b_btn = "0" input_reset_btn = "0" input_a_btn = "1"