Refactor OnTouchEvent functions to return boolean values for better event handling (#2854)

This commit is contained in:
Totoo 2025-11-05 20:53:23 +01:00 committed by GitHub
parent 00c9c6b40e
commit 674b865ec0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 6 deletions

View file

@ -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);