Basic Android touch support (rotation only) (Refs #173)
This commit is contained in:
parent
519dab3855
commit
c9d9c83617
2 changed files with 46 additions and 14 deletions
|
|
@ -197,7 +197,10 @@ public:
|
|||
#elif defined(__ANDROID__)
|
||||
// true if application has focused, false if moved to background
|
||||
bool focused = false;
|
||||
|
||||
struct TouchPos {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
} touchPos;
|
||||
#elif defined(VK_USE_PLATFORM_WAYLAND_KHR)
|
||||
wl_display *display = nullptr;
|
||||
wl_registry *registry = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue