keyboard & mouse forwarding

This commit is contained in:
galister
2025-11-11 21:12:01 +01:00
committed by Patrick Nicolas
parent efde4bf247
commit 2063cae3ae
22 changed files with 924 additions and 2 deletions
+3
View File
@@ -20,6 +20,7 @@
#pragma once
#ifdef __ANDROID__
#include "android/hid.h"
#include <android_native_app_glue.h>
#endif
@@ -81,6 +82,8 @@ class application : public singleton<application>
#ifdef __ANDROID__
ANativeWindow * native_window = nullptr;
bool resumed = false;
android_hid::input_handler input_handler{};
#endif
static inline const char engine_name[] = "No engine";