MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / OnInput

Method OnInput

Goldleaf/source/ui/ui_AmiiboDumpLayout.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29namespace ui {
30
31 void AmiiboDumpLayout::OnInput(const u64 keys_down, const u64 keys_up, const u64 keys_held, const pu::ui::TouchPoint touch_pos) {
32 if(keys_down & HidNpadButton_B) {
33 nfp::Close();
34 nfp::Exit();
35 g_MainApplication->ReturnToParentLayout();
36 }
37 }
38
39 AmiiboDumpLayout::AmiiboDumpLayout() : pu::ui::Layout() {
40 this->info_text = pu::ui::elm::TextBlock::New(0, 0, "-");

Callers

nothing calls this directly

Calls 3

CloseFunction · 0.85
ReturnToParentLayoutMethod · 0.80
ExitFunction · 0.50

Tested by

no test coverage detected