Commit Graph

7 Commits

Author SHA1 Message Date
Michel Pollet
d53b0bceff Added joystick support
It is limited for now, hard coded to mine. Still need some sort of way
to specify which button to map to the emulated joytick. Same with the
axis, currently default to 0,1

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 16:59:08 +01:00
Michel Pollet
af6ff70155 Split the CPU regulator thread to it's own file
Removed it fron the Nuklear file, as it's actually not doign anything UI
based.
Also cleanup up type names etc

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 07:23:06 +01:00
Michel Pollet
3ee0061de6 Fix for missing control-XXX keys #6
These were mostly stolen by Nuklear handlers

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 07:21:42 +01:00
Michel Pollet
3ee2a36d38 mish: Removed globals.
Removed big horrible global used by mish commands, now use the parameter
made for it.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:29:41 +01:00
Michel Pollet
5d0abefadf Added mii_dispose() -- clean up everything
Seems there are no leaks; only blocks left non-freed are the queue of
drivers, which is static anyway

Also added a MII_TERMINATE state to quit any 'main' loop.

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-28 06:25:43 +01:00
Michel Pollet
955773500e ui: Fix the speed combo box
Didn't work!

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-25 18:58:32 +01:00
Michel Pollet
f7a56ebc01 Initial Commit
Cleaned up for release at last!

Signed-off-by: Michel Pollet <buserror@gmail.com>
2023-10-25 08:50:14 +01:00