Arian04 / android-hid-client

Android app that allows you to use your phone as a keyboard and mouse WITHOUT any software on the other end (Requires root)
GNU General Public License v3.0
109 stars 4 forks source link

Caps lock doesn't work on Gboard in Direct Input #5

Closed Arian04 closed 1 year ago

Arian04 commented 1 year ago

Gboard doesn't send a shift KeyEvent with each key, and KeyEvent.isCapsLockOn() returns false even when caps lock is on, so I can't detect caps lock being on.

Hacker's keyboard works fine though, since it sends a distinct shift KeyEvent with each key when caps lock is enabled.