Open Arian04 opened 8 months ago
I can't reproduce this.
Details Phone: Pixel 5, running lineageOS 20 Computer: Archlinux, up to date as of yesterday. I believe key events are handled by the compositor on Wayland, so I'll include that I'm using Kwin (KDE Plasma). Keyboard: Hacker's Keyboard App Version: I grabbed the v1.0.0 APK straight off the releases page and fully uninstalled my previous version of the app and installed the fresh APK
As you can see, I can't reproduce the issue. I tried to be very thorough in explaining my exact process, so if you notice that way you reproduced the issue was different from the way I attempted to, let me know.
ideas:
$ localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: (unset)
X11 Layout: (unset)
As you can see I also included the output I got so we can compare.
Just had another idea, did you change the CTRL setting that I mention in the readme?
I did change the settings in README. After further testing, I believe the issue here is creating the character device with USB gadget tool in the first place. Everything works as intended only when I create a character device in the app. Switching between the default gadget and the keyboard gadget in USB gadget tool afterwards does not cause any problems.
Details
$ localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: (unset)
X11 Layout: us
yup I create the char device in a special way that's different than that app does it. I did it that way so mine can send extra keys like multimedia keys. so it's expected behavior that using an unexpectedly different device will cause some issues. glad we could figure it out. maybe I'll see if I can recreate the char device if I detect that it's not correct
From @404LiverNotFound in this comment
Describe the bug v1.0.0-beta.4 works well, but every key is sent with l_ctrl key pressed in v1.0.0.
Device details (please complete the following information):
Logs (from wev) Input: A
Logs: