mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-29 07:56:43 -05:00
Refactor OnTouchEvent functions to return boolean values for better event handling (#2854)
This commit is contained in:
parent
00c9c6b40e
commit
674b865ec0
5 changed files with 7 additions and 6 deletions
|
|
@ -148,7 +148,7 @@ struct standalone_application_information_t {
|
|||
void (*shutdown)();
|
||||
|
||||
void (*PaintViewMirror)();
|
||||
void (*OnTouchEvent)(int x, int y, uint32_t type);
|
||||
bool (*OnTouchEvent)(int x, int y, uint32_t type);
|
||||
void (*OnFocus)();
|
||||
bool (*OnKeyEvent)(uint8_t key);
|
||||
bool (*OnEncoder)(int32_t delta);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue