Homebrew Problems setting up Retroarch hid for SNES30

Zaweet

Active Member
OP
Newcomer
Joined
Oct 12, 2013
Messages
34
Trophies
0
Location
Montreal, Quebec
XP
309
Country
Canada
So I'm trying to set up the Wii Retroarch port to work with my SNES30 8bitdo controller through usb but I've had no luck so far. For those wondering why I'm not using bluetooth I find this controllers bluetooth connection to be a bit laggy and you have to flash an older firmware to get Wii support.

The Wii U GameCube adapter works fine so my guess is I didn't create the .cfg file properly. The .cfg I created is based on "Generic_SNES_USB_Controller.cfg" and has replaced values from a working .ini for hid to vpad. Before the hex values were placed into the new .cfg I converted the hex values to base 10.

So here's the .cfg I created
input_device = "8Bitdo SNES30"
input_driver = "hid"
input_vendor_id = 43808
input_product_id = 11720
input_b_btn = "47"
input_y_btn = "1"
input_select_btn = "64"
input_start_btn = "128"
input_a_btn = "31"
input_x_btn = "143"
input_l_btn = "4"
input_r_btn = "8"
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_menu_toggle_btn = "16"

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"
input_l_x_plus_axis_label = "D Pad Right"
input_l_x_minus_axis_label = "D Pad Left"
input_l_y_plus_axis_label = "D Pad Down"
input_l_y_minus_axis_label = "D Pad Up"
input_menu_toggle_btn_label = "Select+Start"

and this is the HID to VPAD .ini I based the .cfg file on
[vid=0x2dc8,pid=0xab20] // 8Bitdo SNES30 Controller.
//At first we set the dpad mode. This controller uses 2 bytes. One byte is for up(0x00)/down(0xFF) and the other for left(0x00)/right(0xFF).
DPAD_MODE = DPAD_Absolute_2Values

// byte-position / value

//Set dpad values. The values you need to set depend on the dpad mode.
VPAD_BUTTON_DPAD_ABS_UP = 0x01, 0x00
VPAD_BUTTON_DPAD_ABS_DOWN = 0x01, 0xFF
VPAD_BUTTON_DPAD_ABS_LEFT = 0x00, 0x00
VPAD_BUTTON_DPAD_ABS_RIGHT = 0x00, 0xFF

//Set normal buttons
VPAD_BUTTON_A = 0x04, 0x10
VPAD_BUTTON_B = 0x04, 0x20
VPAD_BUTTON_X = 0x04, 0x80
VPAD_BUTTON_Y = 0x05, 0x01
VPAD_BUTTON_MINUS = 0x05, 0x40
VPAD_BUTTON_PLUS = 0x05, 0x80

//VPAD_BUTTON_ZR Assignment removed due to how virtual console games map the buttons
VPAD_BUTTON_R = 0x05, 0x08
VPAD_BUTTON_L = 0x05, 0x04
VPAD_BUTTON_ZL = 0x05, 0x04
Any idea what I'm doing wrong here? The current .cfg file leaves me with none of the controller inputs working. I'm not even sure if the controller is being detected at all.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: Brb