Mouse moving but click is not working!
Hey there. i have android 11 android box. I try all versions for this app. Mouse is moving well but click is not working at all. my android box is not compatible for on and off usb dubugging mode in developer mode. I think it’s a problem for mouse click is not working. Please fix this issue soon as possible.
I am using 1.0.7 version with Google TV. Mouse click stopped to work a week ago.
I went into Developper Options. Switch USB debuggong OFF and then again ON.
I also switched OFF App verification via USB option.
I am not sure which action solved it, so try one by one.
Worked for me!
In my android box. I’m not able to turn on or off usb debugging option. It’s permanently off in my android box.
I seem to have a similar issue. I use this on my Sonim XP3800 and the mouse control works great but the clicking will not work at all. This seems odd to me as when using Scrcpy to click it works fine. It would be nice if the click function in this app worked like it does in Scrcpy.
I have a similar issue. I have the Sonim XP3900 (XP3 plus) and cant click. I also tried KeyMapper app but tapping the screen doesn't work....
@Cy-mon @rattyrat8682 The issue with Sonim phones not registering clicking is that the touchscreen type attribute in Android Configuration is set to TOUCHSCREEN_NOTOUCH, therefore dispatchGesture does not work. See Android source code.
Scrcpy works because it calls a hidden API named InjectInputEvent which does not come with this restriction.
Can't think of ways to circumvent this without rooting. I'm working on a fork that also calls this API for clicking using Shizuku, no guarantees though.
Btw there are problems with bosskey event handling and accessibility node clicking as well. :(
Thanks! I found that both Switch Access and Switchboard work. I don't know much about Android programming, but switchboard is open source, so maybe you can use that for ideas. Switchboard can be found here https://github.com/jqug/switchboard
Yeah absolutely! Thank you!
From: rattyrat @.> Sent: Sunday, April 27, 2025 10:13:18 AM To: virresh/matvt @.> Cc: Kerry Shen @.>; Comment @.> Subject: Re: [virresh/matvt] Mouse moving but click is not working! (Issue #92)
[https://avatars.githubusercontent.com/u/37623655?s=20&v=4]rattyrat8682 left a comment (virresh/matvt#92)https://github.com/virresh/matvt/issues/92#issuecomment-2832900582
Thanks! I found that both Switch Access and Switchboard work. I don't know much about Android programming, but switchboard is open source, so maybe you can use that for ideas. Switchboard can be found here https://github.com/jqug/switchboard
— Reply to this email directly, view it on GitHubhttps://github.com/virresh/matvt/issues/92#issuecomment-2832900582, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALMO427ZYDE2VSTE4IWS2SD23Q4L5AVCNFSM6AAAAABMPV4VTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMZSHEYDANJYGI. You are receiving this because you commented.Message ID: @.***>
Hi, does anyone find the solution for Android 14 Google TV? Mouse click is not working.
Thanks! I found that both Switch Access and Switchboard work. I don't know much about Android programming, but switchboard is open source, so maybe you can use that for ideas. Switchboard can be found here https://github.com/jqug/switchboard
did you figure out how to make the mouse work on the xp3900 that it should click?
@Cy-mon @rattyrat8682 The issue with Sonim phones not registering clicking is that the touchscreen type attribute in Android Configuration is set to
TOUCHSCREEN_NOTOUCH, thereforedispatchGesturedoes not work. See Android source code.Scrcpy works because it calls a hidden API named
InjectInputEventwhich does not come with this restriction.Can't think of ways to circumvent this without rooting. I'm working on a fork that also calls this API for clicking using Shizuku, no guarantees though.
Btw there are problems with bosskey event handling and accessibility node clicking as well. :(
Hello, this is exactly the problem I am having. The mouse is unable to get spoofed from a device intended to work via touch screen, but instead it does not function as expected using a bluetooth mouse. I hope there can be a way to spoof this because it sucks not being able to click the meat and potato's of the app. Thank you
@mrkaffeine92 Hey man, my fork does have some preliminary implementation of this Shizuku thing right now, but even though theoretically Shizuku could bootstrap itself on Sonim phones since the version of Android running supports wireless debugging, the notification center is heavily modded and it is no longer possible to enter the pairing PIN code by "replying to a message" on the pairing notification.
So I stopped working on it lol. Doesn't seem to be worth it also creating a Shizuku fork for this if the solution is going to be taken and sold by random people, which IS going to happen.
I think there is an artifact in the Release section in my repo, you can check it out. But unfortunately you will have to use a PC to start the Shizuku service via ADB every time you restart your phone.
Btw the keycodes are hardcoded, shouldn't be a problem if your phone happens to be xp3plus too...
As for the TOUCHSCREEN_NOTOUCH thing, I still have zero idea.