H-M-H / Weylus

Use your tablet as graphic tablet/touch screen on your computer.
Other
6.81k stars 271 forks source link

Keyboard input not working on iPad #164

Open aronkof opened 2 years ago

aronkof commented 2 years ago

Hello, first of all, thank you for this awesome project!

I've tested this with both Windows and Ubuntu as the server. When connecting from another PC it works fine with Firefox, but from my iPad I've tried many browsers and all of them are working fine in terms of the video streaming and mouse/touch input but the keyboard input is not working at all. Running with the debug flags I see no response from keystrokes as well.

Any ideas?

If there's no workaround as of now I'll spare some time to analyze this later this week! Thanks again!

H-M-H commented 2 years ago

Weylus depends on the code property of KeyboardEvents to be set properly: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code

Onscreen keyboards often do not set the code property, especially if you are using some kind of IME. If you are using a Bluetooth keyboard, it should work though.

What kind of keyboard are you using?

aronkof commented 2 years ago

I am extremely sorry for the delay to answer this, I've got tons of company notifications so this simply vanished!

yes, I am using a bluetooth keyboard nuphy air60

when I'm running the client via ipad, I see no logs from the keystrokes!

aronkof commented 2 years ago

extra info.: ipad 9th gen and the OS version os 15.5