MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / OnMenuInput

Method OnMenuInput

projects/uMenu/source/ul/menu/ui/ui_LockscreenMenuLayout.cpp:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void LockscreenMenuLayout::OnMenuInput(const u64 keys_down, const u64 keys_up, const u64 keys_held, const pu::ui::TouchPoint touch_pos) {
54 if(keys_down != 0) {
55 UnlockScreen();
56 }
57
58 this->UpdateConnectionTopIcon(this->connection_top_icon);
59 this->UpdateTimeText(this->time_mtext);
60 this->UpdateDateText(this->date_text);
61 this->UpdateBatteryTextAndTopIcons(this->battery_text, this->battery_top_icon, this->battery_charging_top_icon);
62 }
63
64 bool LockscreenMenuLayout::OnHomeButtonPress() {
65 UnlockScreen();

Callers

nothing calls this directly

Calls 5

UnlockScreenFunction · 0.85
UpdateTimeTextMethod · 0.80
UpdateDateTextMethod · 0.80

Tested by

no test coverage detected