KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Allow users to choose the display to do actions on (e.g. tap screen on monitor 2)

Open OmaGamer opened this issue 3 years ago • 3 comments

Hello, Thanks for this Great App! I'm using Samsung Dex, wich is a desktop mode for the Phone. So if I add a Tap screen Action it only works on the phone screen and not on the desktop screen. I hope this is understandable.

Greetings

OmaGamer avatar Dec 04 '22 09:12 OmaGamer

Don't mind me, I wound up here by accident, but this might save a few minutes for the developer. The way to implement this on the back-end is probably with this method:

https://developer.android.com/reference/android/accessibilityservice/GestureDescription.Builder#setDisplayId(int)

into this guy:

https://github.com/keymapperorg/KeyMapper/blob/a0f3575f4fa2087a697cd05aa3ff09b76cb76a6a/app/src/main/java/io/github/sds100/keymapper/system/accessibility/MyAccessibilityService.kt#L377

But I've never developed anything on android, so you better fact-check me :P

And of course, everything from there the front-end of the app is up to you..

NeatNit avatar Dec 08 '22 00:12 NeatNit

Has this issue been solved yet? How can I fix it?

Slapow avatar Dec 21 '22 13:12 Slapow

No I couldn't fix it

OmaGamer avatar Dec 21 '22 15:12 OmaGamer