Skip to content
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

Using Gyroscope hardware on mobile device #85

Open
illando opened this issue Feb 9, 2020 · 5 comments
Open

Using Gyroscope hardware on mobile device #85

illando opened this issue Feb 9, 2020 · 5 comments

Comments

@illando
Copy link

illando commented Feb 9, 2020

As I can see, VBA-M can emulate the gyroscope sensor using the left analog stick.
Would be possible to connect it to the real hardware gyroscope sensor on mobile devices?

I'm testing it on iOS and it doesn't seems to work. Maybe on the android side this function is already supported!

Thanks.

@ZachBacon
Copy link
Contributor

Currently It's not possible, But it could be doable, Just needs some work code side to get it hooked up, It's something I've been thinking about with even desktop side of things, just need to find the time to attempt it.

@illando
Copy link
Author

illando commented Feb 9, 2020

@ZachBacon I don't know if could be helpful, but actually with GBA4iOS and with its successor DELTA is possible to use the hardware gyroscope of the iOS devices.
Maybe you can search in their source code to take some inspiration.
Unfortunately I don't know nothing about the android side, but I heard that some user can take advantage of the gyroscope of the Nvidia Shield using VBA-M.

@negativeExponent
Copy link
Contributor

are your requesting for the libretro port or standalone? if its for the libretro port, i believe there are already analog inputs (gyro etc) for vita and libnx. not sure if such drivers for ios area available for libretro.

@illando
Copy link
Author

illando commented Feb 10, 2020

@negativeExponent I'm requesting for the libretro port.
I can confirm that with the actual Retroarch release 1.8.4 the analogue stick emulation of gyro is perfectly working on iOs, but it could be awesome to have a connection with the hardware gyro of the iOS devices.
I was also pointing out that I heard the standalone version of VBA-M has that feature, and some people are using it, on some android devices, so it could be another reference to write a giroscope driver also for the libretro core.

@negativeExponent
Copy link
Contributor

sadly no gyro for IOS, only psp and libnx seems to have it.

i dont think the standalone vba-m does either. probably only on one of those GBAIOS or similar forks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants