-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIIU: Fix touchscreen mouse emulation #11191
WIIU: Fix touchscreen mouse emulation #11191
Conversation
== DETAILS The way the mouse emulation worked was to simply return a 3rd axis from the gamepad, which the polling code updates with the touch state in real time. Well, the code that figures out if it's a positive or negative axis was failing because it didn't see that 3rd axis as valid. So, I added values which allow it to be seen as valid, and voila! the touch screen input works again. == TESTING Tested locally using "Beneath a Steel Sky" in ScummVM.
Thanks very much for getting this fixed! |
Many thanks for making this feature work again! |
@groelk dunno about core downloads, but the nightly builds seem to be running: http://buildbot.libretro.com/nightly/nintendo/wiiu/ |
@gblues Is this expected to work in SNES cores? I tried to test this using Snes9x Current, but I'm not getting any mouse input in games that support the SNES mouse. I've switched the input to the SNES Mouse device type, but I'm not sure if there's more to do than that to get mouse support going. EDIT: Not getting anywhere with Genesis Plus GX, either, testing Mega Drive/Genesis games with Mega Mouse support. EDIT2: OK, testing with ScummVM, I can't actually launch any games at all, but within the ScummVM menu itself, I do have touch mouse support. Either there's additional setup needed for mouse support in other cores, or they're just not currently supported. |
I managed to get a few Cores (Gun Games) to work with the the WiiU Touchscreen! SNES - Snes9x Current: NES - FCEUmm: Mega Drive - Genesis Plus GX: Mame 2003: While Touchscreen DOES work fine for most Cores I tested I cant get the Touchscreen to work with the Retroarch UI? |
Dumb question: i can't see "options" under "quick menu" anywhere. I'm using Retroarch 1.19 and trying to setup touchpad to act as mouse in PUAE core (Amiga) on my WiiU. Any help? |
After recent updates Options has been renamed to Core Options ;) I'm not sure the Amiga Core can use the WiiU Touchscreen as Mouse thats what this issue could hopefully fix :) |
Thanks for clarification |
Yea, Touchscreen doesn't work in the Retroarch UI at all only in those few Cores that have Lightgun support. |
Description
The way the mouse emulation worked was to simply return a 3rd axis from the
gamepad, which the polling code updates with the touch state in real time.
Well, the code that figures out if it's a positive or negative axis was
failing because it didn't see that 3rd axis as valid. So, I added values
which allow it to be seen as valid, and voila! the touch screen input
works again.
Related Issues
resolves #10819
Reviewers
@QuarkTheAwesome