fix: add the touch emulation method for Android TV
This commit is contained in:
parent
392cacaabc
commit
2987e03a86
5 changed files with 63 additions and 0 deletions
|
|
@ -304,6 +304,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue