-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
send key event action when imitating button presses #563
Comments
Hi! I'm not 100% what the solution is but there is one thing I can think of trying. Can you send a screenshot of your keymaps as they are now?
|
Hello, I downloaded and installed the installation package file you provided. The following screenshot is my configuration, but I still can't use key combination. I don't know what the problem is. |
What if you turn on the "hold down" option by pressing the 3 dots on the action. |
You didn't have the hold down option turned on before. |
Yes, I can see my Bluetooth keyboard in the device list, and I chose it. |
keymapper-2.3.0-alpha-debug.zip |
Ha ha, it works. The remote computer can normally receive all key sequences on my Bluetooth keyboard, including combination keys. |
Cool. That's a good start. Can you install this app and press the key shortcuts with the accessibility service of the last apk turned on and then with it off. Then send me a screenshot of the full output. |
Of course, when the accessibility service is turned on, the software does not have any output. When the accessibility service is turned off, if I press meta-e quickly, the following output will be generated. However, if the speed is not very fast, there will be no output
|
Did you choose the Basic Input Method when you turned the accessibility service on? it should work. |
No,i don't.Let me try again
|
How come there is only a KeyUp if you press the shortcut without the accessibility service turned on? There should be 4 events - down and up for both Meta and E |
I tried many times and there was only one. And I'm still pressing the shortcut key quickly. If I press a little bit slowly, nothing will be output. Is it related to voice assistant? When I press the meta key alone, the voice assistant is turned on and there is no output. |
ohhhh, of course! sorry |
My device has root permissions. I have given root permissions to the software that tests the buttons. |
yeah, its fine. i forgot that the keyevents were being consumed by the system 😄 |
I'm working on a fix now... |
Hard work, come on.🌹 |
keymapper-2.3.0-alpha-debug.zip |
Remote desktop can receive shortcut keys normally. But I found some small problems. The first one is that when I press the shortcut key meta-e at a very fast speed, the effect on the remote desktop is equivalent to pressing meta alone, then releasing, then pressing E alone, and then releasing. The second problem is that if I use the Bluetooth keyboard to directly connect to my remote computer, at this time I keep pressing and holding the meta key. Only when I release it will the windows application menu interface be opened. But when I use the Bluetooth keyboard to connect to the Android phone and use the Android phone to connect to my computer remotely, if I keep holding down the meta key, before I release it, the windows application menu interface will be opened in two or three seconds. |
keymapper-2.3.0-alpha-debug.zip |
When I install, I am prompted that the installation package is invalid. No operating system is incompatible. My operating system is 8.0😂 |
ohh oops. sent wrong one i think... |
keymapper-2.3.0-alpha-debug.zip |
This installation package can't use shortcut keys, just like the release version. |
You're using the basic input method? |
yes ,i did |
try this apk |
Or can only short press, can't use shortcut keys.😴 |
What! 😂 I swear it worked in the Microsoft Remote Desktop app for me. I could use Win+E to open File Explorer and Win+R to open the Run dialog. |
😭Is there something wrong with my mobile phone? I remember I succeeded once. But there's a little bit of a problem. That's the one. |
Did you change anything? You were right, the other apks didn't work for me either. The one you said that worked didn't seem to either. The one which just passed through all Key Events did work. |
Can you make sure the image is uploaded before posting the comment. I've done the same as well |
Nope at first the link will say "Uploading [image name]...." and when it doesn't say "Uploading" anymore you need to send the message. |
Closed? |
No, my browser is too laggy. It should be wrong. |
So you can you use the shortcuts at all in the latest apk that I sent? |
No, only the installation package in the picture I sent can use shortcut keys. |
keymapper-2.3.0-alpha-debug_1.zip |
😂😂😂 |
Do you need to use Meta-Enter as a shortcut? |
Well, when I use VNC to connect to Linux, I often need to use |
When you press meta-backspace Android treats that shortcut as the "back button". meta-enter is the "home button". |
So if you press those shortcuts while making a trigger Key Mapper thinks you have pressed the back/home button. |
Thank you so much. Now I can play computer happily in bed. ha-ha. |
|
I will add this to the 2.2 release and release Beta 2 today to the play store |
Hello sds100, I use
rd client
to connect to the remote desktop on my Android phone, and then use the Bluetooth keyboard to connect to my Android phone. But I found that there are some problems when using the keyboard, that is, when I press certain shortcut keys on the keyboard, these shortcut keys will be triggered by the Android system instead of being triggered by the remote computer, such asalt-tab
,meta
.In order to solve this problem, I checked a lot of information and finally found the software you developed. I set up a pair of mappings in the software:
short press meta key
-----meta key
. At this time, my remote computer can receive the meta key normally, but cannot use the key combination, such as opening the windows file managermeta-e
. Can you teach me how to configure it?The text was updated successfully, but these errors were encountered: