mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] In lock-on-console mode: Enable interrupting input loop and execution when clicking on 'home' or 'back'
This commit is contained in:
committed by
EmilieNumworks
parent
e304da5ee1
commit
769bc1ad3c
@@ -170,6 +170,10 @@ bool ConsoleController::handleEvent(Ion::Events::Event event) {
|
||||
}
|
||||
#if EPSILON_GETOPT
|
||||
if (m_locked && (event == Ion::Events::Home || event == Ion::Events::Back)) {
|
||||
if (inputRunLoopActive()) {
|
||||
askInputRunLoopTermination();
|
||||
interrupt();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user