Retrieve and display Android product model and manufacturer in text overlay [skip ci]
This commit is contained in:
parent
133cb9afe2
commit
143c1c3aac
2 changed files with 23 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
#include <android/native_activity.h>
|
||||
#include <android/asset_manager.h>
|
||||
#include <android_native_app_glue.h>
|
||||
#include <sys/system_properties.h>
|
||||
#include "vulkanandroid.h"
|
||||
#elif defined(VK_USE_PLATFORM_WAYLAND_KHR)
|
||||
#include <wayland-client.h>
|
||||
|
|
@ -201,6 +202,8 @@ public:
|
|||
int32_t x;
|
||||
int32_t y;
|
||||
} touchPos;
|
||||
/** @brief Product model and manufacturer of the Android device (via android.Product*) */
|
||||
std::string androidProduct;
|
||||
#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