Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mantis Mouse Pro Beta app does not recognize keyboard input #3424

Open
violetclearspark opened this issue Aug 8, 2022 · 7 comments
Open

Comments

@violetclearspark
Copy link

  • [✓] I have read the FAQ.
  • [✓] I have searched in existing issues.

Environment

  • OS: Linux Mint 21 Vanessa Cinnamon
  • scrcpy version: 1.24
  • installation method: manual build
  • device model: motorola one fusion+
  • Android version: 10

Bug:
Mantis Mouse Pro Beta (play store link: https://play.google.com/store/apps/details?id=app.mantispro.mousekeyboard) does not recognize any keyboard input. It does recognize Middle Mouse Button, the default key to enter shooting mode, and mouse movement works as expected. A similar android app, Panda Mouse Pro (https://play.google.com/store/apps/details?id=com.panda.mouse), is able to recognize the keyboard inputs and functions as expected.

I tried checking without -K option, but it did not work in both the aforementioned apps. --otg mode works with Panda Mouse Pro, but not with Mantis Mouse Pro.

@rom1v
Copy link
Collaborator

rom1v commented Aug 8, 2022

I tried checking without -K option, but it did not work in both the aforementioned apps.

For keyboard and mouse, you need -KM. These options are basically the same as --otg, but with mirroring enabled.

For your issues, I'm afraid you should report the bug to these apps :/

@violetclearspark
Copy link
Author

No, scrcpy works well with Panda Mouse Pro, with -KM or --otg options. There's no problem with Panda Mouse Pro, I just used it as a reference.
But as for Mantis Mouse Pro, I've used an otg keyboard with the same app and it worked but it does not work with either -KM or --otg option in scrcpy.
As I mentioned, Mantis Mouse Pro app works as expected when an otg (or Bluetooth?) keyboard is used but does not respond to any keyboard event sent by scrcpy.

@rom1v
Copy link
Collaborator

rom1v commented Aug 8, 2022

I have no idea, unfortunately. :/

@violetclearspark
Copy link
Author

ok, np. Also, is there a keymapping function like in Qtscrcy or do you plan to implement one in the future?

@rom1v
Copy link
Collaborator

rom1v commented Aug 9, 2022

See #712

@chisato2309
Copy link

chisato2309 commented Oct 21, 2022

@violetclearspark Hi! did you figure out anything?
I just tried the Mantis Mouse app and yes, it does not recognize the HID mouse keyboard emulated by scrcpy, only WASD and middle mouse click worked.

Octopus does recognize that tho
I'm not sure if it's a Mantis issue, or the way how scrcpy emulates mouse and keyboard...

@violetclearspark
Copy link
Author

@chisato2309 I was not able to get middle mouse button or WASD working, only mouse movement. Which game were you running? Some games support WASD natively. I found no solutions, though, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants