fix: add the touch emulation method for Android TV

This commit is contained in:
albexk 2024-11-24 21:18:35 +03:00
parent 0620b4536a
commit 4d2d7e4071
5 changed files with 71 additions and 0 deletions

View file

@ -287,6 +287,11 @@ bool AndroidController::requestAuthentication()
return result;
}
void AndroidController::sendTouch(float x, float y)
{
callActivityMethod("sendTouch", "(FF)V", x, y);
}
// Moving log processing to the Android side
jclass AndroidController::log;
jmethodID AndroidController::logDebug;