pocomane / MiSTer_Batch_Control

Simple utility to control the MiSTer FPGA from the command line
47 stars 8 forks source link

Stream mode dedicated for keyboard inputs? #35

Closed sofakng closed 1 year ago

sofakng commented 1 year ago

I've noticed that that raw_seq command creates an closes a new evdev device every time the command is run which requires a delay (ie. MBC_SEQUENCE_WAIT) before the actual sequence can be sent.

Would it be possible to create an alternate 'stream' mode but create an evdev once and then listen for commands?

Therefore, you can have a remote service (or remote control) sending button presses more rapidly and have them respond quickly. (this might be similar to how your webmenu works but I haven't looked)

sofakng commented 1 year ago

Nevermind... I took your code and wrote my own: https://github.com/sofakng/risd

Thanks for the inspiration!