Anodynous / stenogotchi

Portable stenography using Plover and bluetooth keyboard emulation on a Raspberry Pi Zero W
GNU Affero General Public License v3.0
172 stars 11 forks source link

Modifier and special keys #2

Closed aerickt closed 2 years ago

aerickt commented 3 years ago

Are there any plans to support modifier keys for shortcuts like ctrl + c and ctrl + v? I've also noticed that arrow keys and function keys don't seem to work.

Anodynous commented 3 years ago

Yes I intend to extend the support for modifier/function keys. Excluding media keys this is already working in QWERTY mode. Besides common modifiers needed for text output these are however not properly handled when received from Plover yet.

aerickt commented 3 years ago

Glad to hear that. Thank you for your fantastic work.

Anodynous commented 3 years ago

2b3cf7d7ed4a3dc526e923bebeedba3ff5ce9e85 adds support for modifier, navigation and function keys along with some other previously missing ones. Support for key combinations, like ctrl+alt+del and ctrl+c, has also been added. Let me know if you notice any issues.

Most accented letters, international characters and special symbols still aren't supported. This is mainly due to limitations of the Stenogotchi presenting itself as a bluetooth keyboard. A solution leveraging Alt/Option-codes could be implemented, but would depend on knowing the OS of the remote device to produce the right sequence. Media keys are still not working.

aerickt commented 3 years ago

So far I don't see any problems and it's working as intended. Some media keys are working (play, stop, and previous). I'm going to be using the Stenogotchi a lot more now, so I'll update if I run into anything.

rmulligan commented 3 years ago

What change would be required to get the special cases working on Mac? It's interesting that evdevkb can send <, but the plover plugin client does not.