Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Solar Sensor Device
#1
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!
Reply

#2
Seems the hot keys are all on the libretro side, not the mGBA side. I'll go that route.
Reply

#3
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.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.