RetroArch Android: GBA emulator feature request: RTC and Light Sensor

Not sure if it’s in or not but the ability to have the GBA core use a Real Time Clock feature would be sweet, mainly so people could get the full experience out of the Pokemon Liquid Crystal rom hack, and any other Pokemon or other games that make use of the Real Time Clock.

If there is a way to do this already any help enabling the feature would be appreciated.

I just thought of another feature that I’d enjoy (not sure if this would be possible on a phone without root, or how complex it’d be to implement) but emulating the light sensor for the Boktai games, I’m assuming it’d rely on phones that have a light sensor in them for changing the phones brightness (eg: my Atrix HD dims the screen when it’s in the dark, but will switch to full screen brightness when in direct sunlight), It’d allow me and anyone else who plays the game to play with a clean rom instead of the ones that allow you to manually adjust the light coming into the sensor, meaning the game could be enjoyed with the full intent of it.

Going to agree here about implementing the Light Sensor. Not sure how feasible it would be to actually tie it into the light sensors on phones, but at the very least a light-level toggle would be a fantastic addition. As it stands I’m stuck having to use No$GBA to play Boktai (which doesn’t bother me too much), but I’d definitely love to have the ability to play it in RetroArch.

RTC would also be nice, and I imagine pulling information from the system clock would be easy enough (at least on PC, no idea how this would work out on Android/consoles), but certainly isn’t a requirement to play anything, so it’s not too incredibly important.

There are solar sensor patches for the Boktai games you can google to find that let you hold down a button (I think it’s L or R) and press left or right on the d-pad to change the light level. Those should work in any GBA emulator.

I am going to be working on making RetroArch more suitable as a 3D demo tool over the coming months - one of the areas I will be looking into is accelerometer/gyrometer/magnetometer support and possibly more.

It will be great if we can use input devices like PS Move/Kinect/mobile phone cameras et al as ‘input devices’ to interact with 3D environments. That is what I am more or less going to be looking into.

If I can find any use for it in pre-existing emulator libretro ports I can have a look at it as soon as I have something of this nature implemented.