Dolphin, the GameCube and Wii emulator - Forums
[Profile] Device = ??? for Android - 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: Controllers (https://forums.dolphin-emu.org/Forum-controllers)
+--- Thread: [Profile] Device = ??? for Android (/Thread-profile-device-for-android)



[Profile] Device = ??? for Android - jknut - 07-25-2019

I want to set-up a Profile in Config/Profiles/Wiimote to use both a touchscreen and an external controller for my Android.

Can a single ini file cover both touchscreen and an external controller?

The touchscreen alone works okay using the following:
Code:
[Profile]
Device = Android/4/Touchscreen
Buttons/A = 'Button 100'
...

How do I set-up the external controller?  This does not work:

Code:
[Profile]
Device = XInput/0/Gamepad
Buttons/A = `Button A`
...

What should I call the external controller under "Device"?


RE: [Profile] Device = ??? for Android - DJBarry004 - 07-25-2019

Android doesn´t use XInput... does it? I think that API is Windows-only?


RE: [Profile] Device = ??? for Android - jknut - 07-25-2019

What should I call the external controller under "Device"?


RE: [Profile] Device = ??? for Android - JosJuice - 07-25-2019

If I recall correctly, it should be set to Touchscreen even when you're using a gamepad. The Android input system is a bit weirdly designed.


RE: [Profile] Device = ??? for Android - jknut - 08-02-2019

Keeping the game profileat the following does not recognize the controller:
Device = Android/4/Touchscreen

I can program the controller through the application, but I would like to have more complex scenarios (multiple key press combos).

Does anyone have another idea on what I should do?