I noticed that the Khadas remote has a “mouse mode” toggle button. Based on my understanding, mouse mode is not something supported by Android by default. Is there a way to enable/disable mouse mode programmatically?
I tried this piece of code to simulate various button on the dpad, but can’t find the right key value for mouse toggle.
Instrumentation instrumentation = new Instrumentation(); instrumentation.sendKeyDownUpSync(key);