Basic Android touch support (rotation only) (Refs #173)

This commit is contained in:
saschawillems 2017-03-06 21:16:51 +01:00
parent 519dab3855
commit c9d9c83617
2 changed files with 46 additions and 14 deletions

View file

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