So, In proffieOS, we generally have this rather simple flow of events:
inputs → prop → saberbase → outputs
I was thinking about how to implement multiple displays when I realized a I need some sort of a controller that translates events, like “saber turned on” into what to do, like “show out.bmp”. For blades, we already have this, and it’s called “styles”. In fact, I have also started implementing something like this for displays, although it’s not really all that useful yet. There is one output device that doesn’t have a something like a “style” though, which is sound.
If it did, than the event path would look like this:
inputs → prop → saberbase → styles → outputs
I’m not sure if we need that for sound, but sure would be nice if all events followed the same pattern, and it would open the door to customize sound in ways which would require us to rewrite
I guess it also begs the question: What other output devices exist? IR? Serial?