Closed midwan closed 6 years ago
This would be nice.
I had some code on a side project (iGameLight, that would be like x-bench, but never got around to make anything usefull - I'll uploade the source), but had joystick support. Left/right would go through the letters and up/down the list.
@MrZammler That sounds great! We should be able to re-use parts of that, I guess. Was that also MUI-based?
No toolkit. Just a custom PAL screen with some text. :-)
@MrZammler
Did you use a system-friendly way to detect joystick input?
I was looking at lowlevel.library
as one approach, but I'm not very excited about the way it does it (constantly polling). I was wondering if there's a better way...
AFAIK you can use gameport.device to get input events. But lowlevel.library is probably simpler to implement.
Yes, I used the gameport.device to get events. I've uploaded the scrap source from iGameLite here: https://github.com/MrZammler/iGameLite
@wepl thanks for the suggestion @MrZammler great, that will help a lot to implement this! Thanks!
We should add joystick navigation (e.g. joystick up/down and Fire launches a game)