summaryrefslogtreecommitdiff
path: root/recovery_ui/ui.cpp
diff options
context:
space:
mode:
authoralk3pInjection <webmaster@raspii.tech>2023-04-20 00:08:54 +0800
committeralk3pInjection <webmaster@raspii.tech>2023-04-20 00:08:54 +0800
commit978edd5f16c38c951ab34f32a603a6ae6b1e398e (patch)
tree7b793b37487e0832549f51879112863a928e951d /recovery_ui/ui.cpp
parenta7c2a69702471e09259944f9ad6e56d4a350b524 (diff)
parentf17cdc348e7344198274b8b967b3e8aa479a7c87 (diff)
Merge tag 'LA.QSSI.13.0.r1-09800-qssi.0' into tachibanatachibana
"LA.QSSI.13.0.r1-09800-qssi.0" Change-Id: Ie49788b1bfc7f3c10e9a5f64340042706d5a2f6b
Diffstat (limited to 'recovery_ui/ui.cpp')
-rw-r--r--recovery_ui/ui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/recovery_ui/ui.cpp b/recovery_ui/ui.cpp
index 6e67b1d4..eb87f526 100644
--- a/recovery_ui/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -341,6 +341,11 @@ int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) {
ProcessKey(ev.code, ev.value);
}
+ // For Lid switch handle
+ if (ev.type == EV_SW) {
+ SetSwCallback(ev.code, ev.value);
+ }
+
return 0;
}