summaryrefslogtreecommitdiff
path: root/src/ui/ui_fsm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_fsm.cpp')
-rw-r--r--src/ui/ui_fsm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp
index bdc1f89f..c2ac6d8b 100644
--- a/src/ui/ui_fsm.cpp
+++ b/src/ui/ui_fsm.cpp
@@ -68,6 +68,10 @@ void Interactive::entry() {
sCurrentScreen.reset(new screens::Menu());
}
+void Interactive::react(const system_fsm::KeyLockChanged& ev) {
+ sDisplay->SetDisplayOn(ev.falling);
+}
+
} // namespace states
} // namespace ui