| 386 | } |
| 387 | |
| 388 | void MainApplication::OnInput(const u64 down, const u64 up, const u64 held) { |
| 389 | if(!hos::IsExitLocked()) { |
| 390 | if(down & HidNpadButton_Plus) { |
| 391 | this->CloseWithFadeOut(); |
| 392 | } |
| 393 | else if(down & HidNpadButton_Minus) { |
| 394 | this->helpImage_OnClick(); |
| 395 | } |
| 396 | else if((down & HidNpadButton_ZL) || (down & HidNpadButton_ZR)) { |
| 397 | ShowPowerTasksDialog(cfg::Strings.GetString(229), cfg::Strings.GetString(230)); |
| 398 | } |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | void UpdateClipboard(const std::string &path) { |
| 403 | SetClipboard(path); |
nothing calls this directly
no test coverage detected