Skip to content

Commit

Permalink
Merge pull request #150 from paalfe/patch-8
Browse files Browse the repository at this point in the history
Complete 8Bitdo GamePad configs for Android
  • Loading branch information
fr500 committed Jan 28, 2016
2 parents c3dc874 + d403e04 commit cb1e1a8
Show file tree
Hide file tree
Showing 22 changed files with 785 additions and 129 deletions.
57 changes: 0 additions & 57 deletions android/8Bitdo NES30 Pro.cfg

This file was deleted.

49 changes: 49 additions & 0 deletions android/8Bitdo-FC30-Arcade-Joystick-Bluetooth-Mode(HOME).cfg
@@ -0,0 +1,49 @@
input_driver = "android"
input_device = "8Bitdo Joy"
input_device_display_name = "8Bitdo Joy"
input_vendor_id = "4224"
input_product_id = "9"

input_b_btn = "96"
input_y_btn = "99"
input_select_btn = "109"
input_start_btn = "108"
input_a_btn = "97"
input_x_btn = "100"
input_l_btn = "102"
input_r_btn = "103"
input_l2_btn = "104"
input_r2_btn = "105"

input_b_btn_label = "A/Cross"
input_y_btn_label = "X/Square"
input_select_btn_label = "Select"
input_start_btn_label = "Start"
input_a_btn_label = "B/Circle"
input_x_btn_label = "Y/Triangle"
input_l_btn_label = "LB/L1"
input_r_btn_label = "RB/R1"
input_l2_btn_label = "LT/L2"
input_r2_btn_label = "RT/R2"

# Bluetooth Mode(HOME) Joystick = Buttons
input_up_btn = ""
input_down_btn = ""
input_left_btn = ""
input_right_btn = ""

input_up_btn_label = "Joystick Up"
input_down_btn_label = "Joystick Down"
input_left_btn_label = "Joystick Left"
input_right_btn_label = "Joystick Right"

# Bluetooth Mode(HOME) Joystick = Axis
input_up_axis = "-1"
input_down_axis = "+1"
input_left_axis = "-0"
input_right_axis = "+0"

input_up_axis_label = "Joystick Up"
input_down_axis_label = "Joystick Down"
input_left_axis_label = "Joystick Left"
input_right_axis_label = "Joystick Right"
38 changes: 38 additions & 0 deletions android/8Bitdo-FC30-Arcade-Joystick-USB.cfg
@@ -0,0 +1,38 @@
input_driver = "android"
input_device = "8Bitdo JoyStick 8Bitdo Joy "
input_device_display_name = "8Bitdo JoyStick 8Bitdo Joy "
input_vendor_id = "32768"
input_product_id = "4098"

input_b_btn = "96"
input_y_btn = "99"
input_select_btn = "109"
input_start_btn = "108"
input_a_btn = "97"
input_x_btn = "100"
input_l_btn = "102"
input_r_btn = "103"
input_l2_btn = "104"
input_r2_btn = "105"

input_b_btn_label = "A/Cross"
input_y_btn_label = "X/Square"
input_select_btn_label = "Select"
input_start_btn_label = "Start"
input_a_btn_label = "B/Circle"
input_x_btn_label = "Y/Triangle"
input_l_btn_label = "LB/L1"
input_r_btn_label = "RB/R1"
input_l2_btn_label = "LT/L2"
input_r2_btn_label = "RT/R2"

# USB
input_up_axis = "-1"
input_down_axis = "+1"
input_left_axis = "-0"
input_right_axis = "+0"

input_up_axis_label = "Joystick Up"
input_down_axis_label = "Joystick Down"
input_left_axis_label = "Joystick Left"
input_right_axis_label = "Joystick Right"
@@ -0,0 +1,45 @@
input_driver = "android"
input_device = "8Bitdo FC30 GamePad"
input_device_display_name = "8Bitdo FC30 GamePad"
input_vendor_id = "10256"
input_product_id = "9"

input_b_btn = "97"
input_y_btn = "100"
input_select_btn = "109"
input_start_btn = "108"
input_a_btn = "96"
input_x_btn = "99"
input_l_btn = "102"
input_r_btn = "103"

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"

# Bluetooth Mode(START) D-pad = Keyboard arrow keys
input_up_btn = "19"
input_down_btn = "20"
input_left_btn = "21"
input_right_btn = "22"

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"

# Bluetooth Mode(START+R) D-pad = PC Joystick. Requires Firmware v2.5 (2014-11-05) or newer.
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"
34 changes: 34 additions & 0 deletions android/8Bitdo-FC30-GamePad-2P-Bluetooth-Mode(START).cfg
@@ -0,0 +1,34 @@
input_driver = "android"
input_device = "8Bitdo FC30 II"
input_device_display_name = "8Bitdo FC30 II"
input_vendor_id = "10256"
input_product_id = "9"

input_b_btn = "97"
input_y_btn = "100"
input_select_btn = "109"
input_start_btn = "108"
input_a_btn = "96"
input_x_btn = "99"
input_l_btn = "102"
input_r_btn = "103"

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"

# Bluetooth Mode(START) D-pad = Keyboard arrow keys
input_up_btn = "19"
input_down_btn = "20"
input_left_btn = "21"
input_right_btn = "22"

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"
34 changes: 34 additions & 0 deletions android/8Bitdo-FC30-GamePad-2P-Bluetooth-Mode(START+R).cfg
@@ -0,0 +1,34 @@
input_driver = "android"
input_device = "8Bitdo FC30 II Joystick"
input_device_display_name = "8Bitdo FC30 II Joystick"
input_vendor_id = "10256"
input_product_id = "9"

input_b_btn = "97"
input_y_btn = "100"
input_select_btn = "109"
input_start_btn = "108"
input_a_btn = "96"
input_x_btn = "99"
input_l_btn = "102"
input_r_btn = "103"

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"

# Bluetooth Mode(START+R) D-pad = PC Joystick. Requires Firmware v2.5 (2014-11-05) or newer.
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"
34 changes: 34 additions & 0 deletions android/8Bitdo-FC30-GamePad-USB.cfg
@@ -0,0 +1,34 @@
input_driver = "android"
input_device = "FC30 FC30 Joystick"
input_device_display_name = "FC30 FC30 Joystick"
input_vendor_id = "4661"
input_product_id = "43793"

input_b_btn = "189"
input_y_btn = "192"
input_select_btn = "198"
input_start_btn = "199"
input_a_btn = "188"
input_x_btn = "191"
input_l_btn = "194"
input_r_btn = "195"

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"

# USB
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"
@@ -0,0 +1,69 @@
input_driver = "android"
input_device = "8Bitdo FC30 Pro"
input_device_display_name = "8Bitdo FC30 Pro"
input_vendor_id = "14352"
input_product_id = "9"

input_b_btn = "97"
input_y_btn = "100"
input_select_btn = "109"
input_start_btn = "108"
input_a_btn = "96"
input_x_btn = "99"
input_l_btn = "102"
input_r_btn = "103"
input_l2_btn = "104"
input_r2_btn = "105"
input_l3_btn = "106"
input_r3_btn = "107"
input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1"
input_r_x_plus_axis = "+2"
input_r_x_minus_axis = "-2"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"

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 = "L1"
input_r_btn_label = "R1"
input_l2_btn_label = "L2"
input_r2_btn_label = "R2"
input_l3_btn_label = "Left Thumb"
input_r3_btn_label = "Right Thumb"
input_l_x_plus_axis_label = "Left Analog Right"
input_l_x_minus_axis_label = "Left Analog Left"
input_l_y_plus_axis_label = "Left Analog Down"
input_l_y_minus_axis_label = "Left Analog Up"
input_r_x_plus_axis_label = "Right Analog Right"
input_r_x_minus_axis_label = "Right Analog Left"
input_r_y_plus_axis_label = "Right Analog Down"
input_r_y_minus_axis_label = "Right Analog Up"

# Bluetooth Mode(POWER) D-pad = Buttons
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"

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"

# Bluetooth Mode(POWER+R1) D-pad = Left Analog. Requires Firmware v1.50 (2015-01-30) or newer.
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"

0 comments on commit cb1e1a8

Please sign in to comment.