Commit graph

3 commits

Author SHA1 Message Date
MatthewColvin
94d75fa4d5 Make Key press sim use SDL event watcher for key event grabbing.
Create a mutex for UI that will help make it possible to run handlers that update UI elements on seprate threads.

its far from perfect but should hold up for now.
2023-10-02 20:41:42 -05:00
MatthewColvin
160114f54c move from constructing keypress abstract with handler into setting the handler so that it can be set by the UI. 2023-09-29 15:27:54 -05:00
MatthewColvin
414f711373 Add KeyPress Abstract and a KeyPress Simulator
as beginning stages for forwarding key events to the UI.
2023-09-29 11:52:48 -05:00