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.
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
  • K3Nv2 @ K3Nv2:
    All I gotta do is not spend $10 in the next 5 days and I'll break even this month lol
  • K3Nv2 @ K3Nv2:
    @BigOnYa, tell your wife not to forget her wallet
    +1
    K3Nv2 @ K3Nv2: https://youtu.be/YMAa6obDNZs?si=rymChLKeTdyS8nqk