Dolphin, the GameCube and Wii emulator - Forums
Gamecube adapter via usb c? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Android (https://forums.dolphin-emu.org/Forum-android)
+--- Thread: Gamecube adapter via usb c? (/Thread-gamecube-adapter-via-usb-c)



Gamecube adapter via usb c? - flwns - 01-05-2017

Recently, I was curious about whether dolphin for android would support control via an official wii u GC adapter, passed through the usb c port on my Oneplus 3.

(The game I'm trying to play is melee. Also, I'm using a usb-A to usb-C adapter to interface my gc controller adapter to the phone)

First, I went to the gc controller setup in dolohin and selected the adapter option instead of emulated for port 1. Next, I launch melee. Before the game gets up and running I get a pop up notification asking if dolphin can have access to the usb port. I allow it, and when the game starts up port 1 is seen as disconnected and I have no control.

It seems like dolphin is definitely detecting the adapter, but for some reason just cant complete the job and allow the controls to work?

I'm just wondering if anyone here has some experience getting something like this working (is it even possible in current builds?)

Thanks for reading.


RE: Gamecube adapter via usb c? - JosJuice - 01-05-2017

Did you restart Dolphin after accepting the pop-up notification?


RE: Gamecube adapter via usb c? - flwns - 01-05-2017

(01-05-2017, 06:50 PM)JosJuice Wrote: Did you restart Dolphin after accepting the pop-up notification?
yes, after I check whether or not the controller worked, I restart dolphin and get the same results.

I'm using build [color=#333333]5.0-1656, on android nougat btw[/color]


RE: Gamecube adapter via usb c? - flwns - 01-06-2017

I just found this page https://dolphin-emu.org/docs/guides/how-use-official-gc-controller-adapter-wii-u/#Android, which says that it should just work with android, nothing special needed

I'm trying to figure out why my system is not handling it right. Are there any other Oneplus 3 users out there that have the ability to test if the wii u adapter will work on their phone? If you don't have a USB-A to USB-C adapter, they can easily be found online. This happens to be the one I'm using https://www.amazon.com/gp/product/B01EL4PVFE/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1

edit:

on my internal storage under dolphin-emu/config/ I noticed a file named GCPadNew.ini, opeining up there are all kinds of values for configuring the controllers. The first line for GCPad1 "Device = Android/0/Touchscreen", shouldnt this change to something else when I go through the menus and change GCPad1 to Gamcube adapter?

Is there a way I can enable some kind of logging to see what's going on?

edit: I setup a wireless adb connection, and used logcat to get some info about what's going on

Here is the logcat output from when I press "ok" when dolphin asks me if i can allow it to use the usb device
Code:
: 61 - 102%
01-05 16:14:02.358  3342  4543 I ActivityManager: START u0 {flg=0x10000000 cmp=com.android.syst
emui/.usb.UsbPermissionActivity (has extras)} from uid 1000 pid 3342 on display 0
01-05 16:14:02.469 10317 11346 I DolphinEmuNative: JITARM64 DC | OpenGLES | HLE | FPS: 59 - VPS
: 59 - 98%
01-05 16:14:03.377  3342  3593 I ActivityManager: START u0 {flg=0x10000000 cmp=com.android.syst
emui/.usb.UsbPermissionActivity (has extras)} from uid 1000 pid 3342 on display 0
01-05 16:14:03.475 10317 11346 I DolphinEmuNative: JITARM64 DC | OpenGLES | HLE | FPS: 60 - VPS
: 60 - 100%
01-05 16:14:03.776  3782  3782 D AppTracker: App Event: stop
01-05 16:14:03.802 10317 10317 D AppTracker: App Event: start
01-05 16:14:03.820  3782  4322 D OpenGLRenderer: endAllStagingAnimators on 0x7f797ff800 (Ripple
Drawable) with handle 0x7f797e98c0
01-05 16:14:03.831  3342  4544 W InputMethodManagerService: Window already focused, ignoring fo
cus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@f905930 attribute=null, to
ken = android.os.BinderProxy@9e908a6
01-05 16:14:03.841  3342  6907 W ActivityManager: Unable to start service Intent { cmp=org.dolp
hinemu.dolphinemu/.services.USBPermService (has extras) } U=0: not found
01-05 16:14:03.849  3782  3782 D AbstractTracker: Event success
01-05 16:14:03.857 10317 10317 D AbstractTracker: Event success
01-05 16:14:04.403 10317 11349 I Dolphin : GCAdapter: Number of configurations: 1
01-05 16:14:04.403 10317 11349 I Dolphin : GCAdapter: Number of interfaces: 1
01-05 16:14:04.405 10317 11349 I Dolphin : GCAdapter: Number of endpoints: 2
01-05 16:14:04.478 10317 11346 I DolphinEmuNative: JITARM64 DC | OpenGLES | HLE | FPS: 60 - VPS
: 60 - 100%