-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated iBuffalo for several drivers + added Hyperkin Genesis
- Loading branch information
Showing
6 changed files
with
107 additions
and
3 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
android/iBuffalo_Classic_Usb_Gamepad.cfg → android/iBuffalo_BSGP801.cfg
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
input_driver = "dinput" | ||
input_device = "USB,2-axis 8-button gamepad" | ||
input_device_display_name = "iBuffalo Classic Famicom USB Gamepad (BGCFC801)" | ||
|
||
# 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 = 0583:2060 -> Decimal vid:pid = 1411:8288 | ||
# Appears as BUFFALO INC. (formerly MelCo., Inc.) | ||
input_vendor_id = 1041 | ||
input_product_id = 198 | ||
|
||
input_b_btn = "1" | ||
input_y_btn = "3" | ||
input_select_btn = "6" | ||
input_start_btn = "7" | ||
input_up_axis = "-1" | ||
input_down_axis = "+1" | ||
input_left_axis = "-0" | ||
input_right_axis = "+0" | ||
input_a_btn = "0" | ||
input_x_btn = "2" | ||
input_l_btn = "4" | ||
input_r_btn = "5" | ||
|
||
input_b_btn_label = "B" | ||
input_y_btn_label = "Y" | ||
input_select_btn_label = "Select" | ||
input_start_btn_label = "Start" | ||
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" | ||
input_a_btn_label = "A" | ||
input_x_btn_label = "X" | ||
input_l_btn_label = "L" | ||
input_r_btn_label = "R" |
2 changes: 1 addition & 1 deletion
2
dinput/iBuffalo_Classic_Usb_Gamepad.cfg → dinput/iBuffalo_BSGP801.cfg
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Hyperkin Sega Genesis Controller (6 buttons) | ||
|
||
input_driver = "udev" | ||
input_device = "USB Gamepad" | ||
input_device_display_name = "Hyperkin Sega Genesis Controller (6 buttons)" | ||
|
||
input_vendor_id = "121" | ||
input_product_id = "17" | ||
|
||
input_b_btn = "1" | ||
input_y_btn = "0" | ||
input_select_btn = "8" | ||
input_start_btn = "9" | ||
input_up_axis = "-1" | ||
input_down_axis = "+1" | ||
input_left_axis = "-0" | ||
input_right_axis = "+0" | ||
input_a_btn = "2" | ||
input_x_btn = "4" | ||
input_l_btn = "3" | ||
input_r_btn = "5" | ||
|
||
input_b_btn_label = "B" | ||
input_y_btn_label = "A" | ||
input_select_btn_label = "Mode" | ||
input_start_btn_label = "Start" | ||
input_up_btn_label = "D-Pad Up" | ||
input_down_btn_label = "D-Pad Down" | ||
input_left_btn_label = "D-Pad Left" | ||
input_right_btn_label = "D-Pad Right" | ||
input_a_btn_label = "C" | ||
input_x_btn_label = "Y" | ||
input_l_btn_label = "X" | ||
input_r_btn_label = "Z" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
input_driver = "xinput" | ||
input_device = "USB,2-axis 8-button gamepad" | ||
input_device_display_name = "iBuffalo Classic Famicom USB Gamepad (BGCFC801)" | ||
|
||
# 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 = 0583:2060 -> Decimal vid:pid = 1411:8288 | ||
# Appears as BUFFALO INC. (formerly MelCo., Inc.) | ||
input_vendor_id = 1041 | ||
input_product_id = 198 | ||
|
||
input_b_btn = "1" | ||
input_y_btn = "3" | ||
input_select_btn = "6" | ||
input_start_btn = "7" | ||
input_up_axis = "-1" | ||
input_down_axis = "+1" | ||
input_left_axis = "-0" | ||
input_right_axis = "+0" | ||
input_a_btn = "0" | ||
input_x_btn = "2" | ||
input_l_btn = "4" | ||
input_r_btn = "5" | ||
|
||
input_b_btn_label = "B" | ||
input_y_btn_label = "Y" | ||
input_select_btn_label = "Select" | ||
input_start_btn_label = "Start" | ||
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" | ||
input_a_btn_label = "A" | ||
input_x_btn_label = "X" | ||
input_l_btn_label = "L" | ||
input_r_btn_label = "R" |
2 changes: 1 addition & 1 deletion
2
xinput/iBuffalo_Classic_Usb_Gamepad.cfg → xinput/iBuffalo_BSGP801.cfg
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