mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
[apps] Code: when in input loop, handle 'up' event
This commit is contained in:
@@ -131,7 +131,7 @@ void ConsoleController::didBecomeFirstResponder() {
|
||||
}
|
||||
|
||||
bool ConsoleController::handleEvent(Ion::Events::Event event) {
|
||||
if (event == Ion::Events::Home && inputRunLoopActive()) {
|
||||
if ((event == Ion::Events::Home || event == Ion::Events::Up) && inputRunLoopActive()) {
|
||||
askInputRunLoopTermination();
|
||||
// We need to return true here because we want to actually exit from the
|
||||
// input run loop, which requires ending a dispatchEvent cycle.
|
||||
|
||||
Reference in New Issue
Block a user