![]() |
|
New Solar Sensor Device - Printable Version +- mGBA Forums (https://forums.mgba.io) +-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1) +--- Forum: Development (https://forums.mgba.io/forumdisplay.php?fid=11) +--- Thread: New Solar Sensor Device (/showthread.php?tid=5840) |
New Solar Sensor Device - TideGear - 01-20-2026 I'm currently working on an ESP32-based device for reading actual UV levels (not just artificial light) for playing the Boktai games as originally intended. I'm focusing on making it very easy and cheap to build. It will be open source. The easiest way to make it work with any version of mGBA (PC, libretro core, etc,) would be to enter the exact solar value via the controller hotkeys. The problem is, only increments and decrements are currently supported. The device and mGBA could easily lose sync. I'd like to add inputing exact solar meter values in a way similar to this... 0 bars: L3 1 bar: Up on left analog + Up on right analong + L3 2 bars: Up on left analog + Right on right analog + L3 ... and so on. I could figure out the best combos later, but they should all be analog-based. What's the best way to do this? Code it for the main branch and the libretro branch then issue PRs? Thanks! RE: New Solar Sensor Device - TideGear - 01-20-2026 Seems the hot keys are all on the libretro side, not the mGBA side. I'll go that route. RE: New Solar Sensor Device - endrift - 01-21-2026 mGBA standalone has scripting support. I intend to expose the solar sensor if I haven't already such that you can just hook into it using a script and feed the values directly. |