Dolphin, the GameCube and Wii emulator - Forums

Full Version: Emulating IR Controls
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello!

I am running Dolphin emukator 5.0-9279 on Android, with ipega gamepad 9023. I am trying to play the game called "And Then There Were None", but that game is based heavily on IR controls. I found a way to set stick controls to act as IR, but the cursor keeps getting back to center, and after some time it gets inverted (Up is Down, Down is Up, left is Right, Right is Left).
Does anybody have a solution for this? Thanks in advance! Smile
Can you post your wiimote .ini file? (should be under User > Config)
(01-03-2019, 12:08 AM)ExtremeDude2 Wrote: [ -> ]Can you post your wiimote .ini file? (should be under User > Config)

This is Android.
I know, does android not have the same config files?
(01-03-2019, 12:11 AM)ExtremeDude2 Wrote: [ -> ]I know, does android not have the same config files?

The config files are there, but the actual button mappings are stored outside of the controller INI files. It's a bit weird.
First part of your question, using the joystick as the IR will always reset the pointer to the middle when you let go of the joystick. This is just how it works when controlling via joystick.

Now your second part is more interesting. This occurs when dolphin thinks the emulated Wiimote is upside down. Imagine your holding the wiimote in your hands but you have the buttons facing down instead of up. I've had some success 'reorienting' the wiimote by just spamming tilt/swing but its not really a solution. Currently the emulated wiimote accelerometer defaults differently on boot than on PC(very strange).

Technically I have the first issue fixed, via using the touchscreen for for the IR pointer. You press to move the pointer and the pointer stays on its current position when you lift your finger. Your second problem is the reason I have not finished that PR. I am still researching what android does differently causing the strange default wiimote accelerometer readings.
(01-03-2019, 04:47 AM)billygoat Wrote: [ -> ]First part of your question, using the joystick as the IR will always reset the pointer to the middle when you let go of the joystick. This is just how it works when controlling via joystick.

Unless you are using the Relative Input option, which I believe is not exposed in the Android GUI.
(01-03-2019, 04:59 AM)JosJuice Wrote: [ -> ]Unless you are using the Relative Input option, which I believe is not exposed in the Android GUI.

I believe that is correct. Would also need to add the 'Reset pointer position' button, since you can easily lose the pointer.
(01-03-2019, 04:47 AM)billygoat Wrote: [ -> ]First part of your question, using the joystick as the IR will always reset the pointer to the middle when you let go of the joystick. This is just how it works when controlling via joystick.

Now your second part is more interesting. This occurs when dolphin thinks the emulated Wiimote is upside down. Imagine your holding the wiimote in your hands but you have the buttons facing down instead of up. I've had some success 'reorienting' the wiimote by just spamming tilt/swing but its not really a solution. Currently the emulated wiimote accelerometer defaults differently on boot than on PC(very strange).

Technically I have the first issue fixed, via using the touchscreen for for the IR pointer. You press to move the pointer and the pointer stays on its current position when you lift your finger. Your second problem is the reason I have not finished that PR. I am still researching what android does differently causing the strange default wiimote accelerometer readings.

Thank you, sir! Will look forward to see both fixed, but until then, how should I set my Emulator in which case touch controls will emulate IR ones?
So I've resolved the last remaining issues with the touch pointer PR. You can test it by sideloading this apk

I've added default configs for some games (galaxy 1/2, twilight princess, AC:CF). If your playing another game, the IR pointer may not map 1:1 to a touch press. If that is the case, open the ingame menu -> Configure Controls -> IR sensitivity and test out different values until it does map. 
Pages: 1 2