remote-desktop-clients
remote-desktop-clients copied to clipboard
Super/meta/windows key not sent to the remote
I am using samsung tab s7 tablet + keyboard to connect to a gnome remote desktop client (GNOME 45). When I pressed a super/meta key, no key is being sent to the remote desktop. But when I tried other remote desktop client, the super key works fine.
Is that in "DEX" mode or not? The app has specific integration with DEX to capture Super key.
Also, what app is able to detect super key on your device?
Thank you!
On Mon, Mar 11, 2024, 1:15 p.m. Stefan Tanuwijaya @.***> wrote:
I am using samsung tab s7 tablet + keyboard to connect to a gnome remote desktop client (GNOME 45). When I pressed a super/meta key, no key is being sent to the remote desktop. But when I tried other remote desktop client, the super key works fine.
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/537, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV4Y3VJUWBYWQM6BZILYXXRBNAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TSNRZGM3TAMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi and thanks for the response. I tried both in normal and DEX mode, but the super key does not work in both mode.
The other app I tried is Remote Desktop Manager by Devolutions, but it's a proprietary software.
I will need to see a Copy Logcat from the app. Please send it to support at morpheusly dot com.
To gather the log, please do the following:
- Enable "More Debug Logging" from general settings (the wrench icon)
- reboot your device (to make sure the app is freshly restarted and the log is clean)
- start the app
- connect to your server
- tap Super key a few times
- then tap the "a" key a few times
- disconnect
- menu->Copy Logcat
And email it to our support address.
Thanks!
On Tue, Mar 12, 2024, 12:14 a.m. Stefan Tanuwijaya @.***> wrote:
Hi and thanks for the response. I tried both in normal and DEX mode, but the super key does not work in both mode.
The other app I tried is Remote Desktop Manager https://play.google.com/store/apps/details?id=com.devolutions.remotedesktopmanager by Devolutions, but it's a proprietary software.
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/537#issuecomment-1990232349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV2IFKV6RIV2C77LSELYXZ6LJAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJQGIZTEMZUHE . You are receiving this because you commented.Message ID: @.***>
I'm sending the full logcat via the support email. Meanwhile, here's the part of the log you might find useful.
03-12 13:13:17.230 8920 8920 D RemoteCanvas: onKeyUpEvent, e: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_META_LEFT, scanCode=125, metaState=0, flags=0x8, repeatCount=0, eventTime=85159892000, downTime=85074477000, deviceId=10, source=0x101, displayId=-1 } 03-12 13:13:17.230 8920 8920 D RemoteRdpKeyboard: processLocalKeyEvent: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_META_LEFT, scanCode=125, metaState=0, flags=0x8, repeatCount=0, eventTime=85159892000, downTime=85074477000, deviceId=10, source=0x101, displayId=-1 } 117 03-12 13:13:17.230 8920 8920 D RemoteKeyboardState: detected hardware LSUPER scanCode, down: false 03-12 13:13:17.230 8920 8920 D RemoteKeyboardState: detected hardware LSUPER keyCode, down: false 03-12 13:13:17.231 8920 8920 D RemoteKeyboard: convertEventMetaState: Will not ignore KeyEvent.META_ALT_LEFT_ON if present 03-12 13:13:17.231 8920 8920 D RdpCommunicator: writeKeyEvent: setting metaState to: 131072 03-12 13:13:17.231 8920 8920 D RdpKeyboardMapper: processAndroidKeyEvent: vkcode: 0, unicode: 0, preferSendingUnicode: false, isSpecialKey: false 03-12 13:13:17.348 8920 8920 I ViewRootImpl@8837cfb[RemoteCanvasActivity]: ViewPostIme key 0 03-12 13:13:17.348 8920 8920 D RemoteCanvas: onKeyDownEvent, e: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_META_LEFT, scanCode=125, metaState=META_META_ON|META_META_LEFT_ON, flags=0x8, repeatCount=0, eventTime=85276679000, downTime=85276679000, deviceId=10, source=0x101, displayId=-1 } 03-12 13:13:17.348 8920 8920 D RemoteRdpKeyboard: processLocalKeyEvent: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_META_LEFT, scanCode=125, metaState=META_META_ON|META_META_LEFT_ON, flags=0x8, repeatCount=0, eventTime=85276679000, downTime=85276679000, deviceId=10, source=0x101, displayId=-1 } 117 03-12 13:13:17.348 8920 8920 D RemoteKeyboardState: detected hardware LSUPER scanCode, down: true 03-12 13:13:17.348 8920 8920 D RemoteKeyboardState: detected hardware LSUPER keyCode, down: true 03-12 13:13:17.348 8920 8920 D RemoteKeyboard: convertEventMetaState: Will not ignore KeyEvent.META_ALT_LEFT_ON if present 03-12 13:13:17.348 8920 8920 D RemoteKeyboard: convertEventMetaState: KeyEvent.META_META_ON 03-12 13:13:17.348 8920 8920 D RemoteKeyboard: convertEventMetaState: KeyEvent.META_META_LEFT_ON 03-12 13:13:17.348 8920 8920 D RdpCommunicator: writeKeyEvent: setting metaState to: 131072 03-12 13:13:17.348 8920 8920 D RdpKeyboardMapper: processAndroidKeyEvent: vkcode: 0, unicode: 0, preferSendingUnicode: false, isSpecialKey: false 03-12 13:13:17.426 8920 8920 I ViewRootImpl@8837cfb[RemoteCanvasActivity]: ViewPostIme key 1
Hi iiordanov:
Can we directly map the meta key as a Win key:
Code example:
// mapping meta key to windows key
keymapAndroid[KeyEvent.KEYCODE_META_LEFT] = VK_LWIN | VK_EXT_KEY;
keymapAndroid[KeyEvent.KEYCODE_META_RIGHT] = VK_RWIN | VK_EXT_KEY;
Best, Sean
Let's try it!
https://github.com/iiordanov/remote-desktop-clients/releases/download/v5.3.0/freeaRDP-v5.3.0_0-final.apk
Does the above work for you?
On Wed, Mar 13, 2024 at 1:43 AM Sean @.***> wrote:
Hi iiordanov https://github.com/iiordanov:
Can we directly map the meta key as a Win key:
Code example:
// mapping meta key to windows key keymapAndroid[KeyEvent.KEYCODE_META_LEFT] = VK_LWIN | VK_EXT_KEY; keymapAndroid[KeyEvent.KEYCODE_META_RIGHT] = VK_RWIN | VK_EXT_KEY;Best, Sean
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/537#issuecomment-1993612532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV5QPSHBX65AHCP6H5TYX7RRXAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJTGYYTENJTGI . You are receiving this because you commented.Message ID: @.***>
-- The conscious mind has only one thread of execution.
Great! The fix is working :)
Any estimation when thr pro version will get updated?
-------- Original message -------- From: iiordanov @.> Date: 3/14/24 10:15 (GMT+08:00) To: iiordanov/remote-desktop-clients @.> Cc: Randy Stefan TANUWIJAYA @.>, Author @.> Subject: Re: [iiordanov/remote-desktop-clients] Super/meta/windows key not sent to the remote (Issue #537)
Let's try it!
https://github.com/iiordanov/remote-desktop-clients/releases/download/v5.3.0/freeaRDP-v5.3.0_0-final.apk
Does the above work for you?
On Wed, Mar 13, 2024 at 1:43 AM Sean @.***> wrote:
Hi iiordanov https://github.com/iiordanov:
Can we directly map the meta key as a Win key:
Code example:
// mapping meta key to windows key keymapAndroid[KeyEvent.KEYCODE_META_LEFT] = VK_LWIN | VK_EXT_KEY; keymapAndroid[KeyEvent.KEYCODE_META_RIGHT] = VK_RWIN | VK_EXT_KEY;
Best, Sean
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/537#issuecomment-1993612532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV5QPSHBX65AHCP6H5TYX7RRXAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJTGYYTENJTGI . You are receiving this because you commented.Message ID: @.***>
-- The conscious mind has only one thread of execution.
— Reply to this email directly, view it on GitHubhttps://github.com/iiordanov/remote-desktop-clients/issues/537#issuecomment-1996266767, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDWVQHEXNIWTQBLY5X4PVTYYEB3RAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJWGI3DMNZWG4. You are receiving this because you authored the thread.Message ID: @.***>
I'll look to release it tomorrow.
On Wed, Mar 13, 2024, 10:43 p.m. Stefan Tanuwijaya @.***> wrote:
Closed #537 https://github.com/iiordanov/remote-desktop-clients/issues/537 as completed.
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/537#event-12111439533, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV52Q2TSRBD6FEB67VTYYEFGBAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGEYTCNBTHE2TGMY . You are receiving this because you commented.Message ID: @.*** .com>
Join the Beta through Google Play and you'll get access to the version with the fix.
Thanks, I'll join the beta version.
Actually I do have an unrelated question regarding the source code.
Is the full source code of both free and pro version are available on Github? If not, what part of the code is open sourced?
-------- Original message -------- From: iiordanov @.> Date: 3/14/24 23:02 (GMT+08:00) To: iiordanov/remote-desktop-clients @.> Cc: Randy Stefan TANUWIJAYA @.>, State change @.> Subject: Re: [iiordanov/remote-desktop-clients] Super/meta/windows key not sent to the remote (Issue #537)
Join the Beta through Google Play and you'll get access to the version with the fix.
— Reply to this email directly, view it on GitHubhttps://github.com/iiordanov/remote-desktop-clients/issues/537#issuecomment-1997665877, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANDWVQEQHKNAGK3NUQPHZQ3YYG3ZFAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGY3DKOBXG4. You are receiving this because you modified the open/close state.Message ID: @.***>
The app is fully OSS.
On Thu, Mar 14, 2024, 11:57 a.m. Stefan Tanuwijaya @.***> wrote:
Thanks, I'll join the beta version.
Actually I do have an unrelated question regarding the source code.
Is the full source code of both free and pro version are available on Github? If not, what part of the code is open sourced?
-------- Original message -------- From: iiordanov @.> Date: 3/14/24 23:02 (GMT+08:00) To: iiordanov/remote-desktop-clients @.> Cc: Randy Stefan TANUWIJAYA @.>, State change @.> Subject: Re: [iiordanov/remote-desktop-clients] Super/meta/windows key not sent to the remote (Issue #537)
Join the Beta through Google Play and you'll get access to the version with the fix.
— Reply to this email directly, view it on GitHub< https://github.com/iiordanov/remote-desktop-clients/issues/537#issuecomment-1997665877>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ANDWVQEQHKNAGK3NUQPHZQ3YYG3ZFAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGY3DKOBXG4>.
You are receiving this because you modified the open/close state.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/iiordanov/remote-desktop-clients/issues/537#issuecomment-1997788135, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK3EV4VWEYBT3P7LBZODPDYYHCGNAVCNFSM6AAAAABEQW5ZOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXG44DQMJTGU . You are receiving this because you commented.Message ID: @.***>
Hello @iiordanov, I also encountered the issue where the Windows (Meta) key is not working. However, my device is Xiaomi, not Samsung. Xiaomi seems to not have DeX mode. Can aRDP now capture the Windows key on Xiaomi devices?
On a general Android system, we can use the accessibility service to capture the meta key and some other shortcuts. (Although this may not comply with the requirements of Google Play.) Have you considered using this method to capture key inputs on non-Samsung devices?
code example: https://github.com/lyc8503/moonlight-android-no-keyboard-shortcut/commit/619b80cd4d4273aadc708eb29a950a26d4bce414
@lyc8503 I'll look into it. Reopened the ticket while I investigate if it'll pass muster with Google.
Hello @iiordanov, I have tried to add the accessibility feature I mentioned to aRDP for capturing complete keyboard input.
https://github.com/lyc8503/remote-desktop-clients
It works perfectly on my phone, I've tested common shortcuts like Ctrl+Shift+Esc, Win, Win+Tab, Alt+Tab, etc., and they all work fine.
My implementation is quite rough and only supports aRDP, so I didn't initiate a PR. But I hope this information can help you, and thank you for creating such a useful software like aRDP!
By the way, as far as I know, Google Play also accepts applications that use accessibility features for other reasonable purposes, such as Bitwarden, which uses accessibility features to fill in passwords. Although this may lead to a more complex review process, I still hope to see future versions of aRDP incorporate this feature, which can greatly enhance the experience of users with external physical keyboards.