The emulator now gets input focus when the webview panel gets focus.
It also gets input focus after using toolbar buttons which seems the most intuitive solution.
Client now also gets notified of panel visible and active state changes, but doesn't yet need to run any logic on these.
Decided not to reload image when focus is acquired, could be unexpected if already running some code. Instead, the reset button will reload the disc image, and user can immediately shift+break etc. if they like since emulator will now have input focus.
The emulator now gets input focus when the webview panel gets focus. It also gets input focus after using toolbar buttons which seems the most intuitive solution.
Client now also gets notified of panel
visible
andactive
state changes, but doesn't yet need to run any logic on these.Decided not to reload image when focus is acquired, could be unexpected if already running some code. Instead, the reset button will reload the disc image, and user can immediately shift+break etc. if they like since emulator will now have input focus.