| 30 | } |
| 31 | |
| 32 | void ThemesMenuLayout::OnMenuInput(const u64 keys_down, const u64 keys_up, const u64 keys_held, const pu::ui::TouchPoint touch_pos) { |
| 33 | if(keys_down & HidNpadButton_B) { |
| 34 | pu::audio::PlaySfx(this->back_sfx); |
| 35 | |
| 36 | g_MenuApplication->LoadMenu(MenuType::Main); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | bool ThemesMenuLayout::OnHomeButtonPress() { |
| 41 | pu::audio::PlaySfx(this->back_sfx); |