Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to add more maths symbols #33

Open
willwade opened this issue May 7, 2019 · 2 comments
Open

Need to add more maths symbols #33

willwade opened this issue May 7, 2019 · 2 comments

Comments

@willwade
Copy link
Contributor

willwade commented May 7, 2019

Symbols like Square root, Infinity, Degrees all need to be a type: command.
Also greek symbols (alpha, beta, gamma) etc.

@joedevsys
Copy link
Contributor

As the project is based on HID you can only send HID key codes, therefore I think the only way to send these characters is using the target device's unicode input method. Awkwardly it is different for each operating system (and for windows varies depending on version and some registry settings) so you need to know what your target is.

e.g. Windows 10: LALT down,KPADD,,,,,LALT up
e.g. Linux: LCTRL+LSHIFT+u,,,,,\n

These could be sent as a command sequence from the user's application without further changes to RelayKeys, or, more usefully the cli could do the translation from unicode char to command sequence. This makes sense as you already translate some chars in the paste and type commands.

You would need some way to know what the target OS is - I'm doubt that' obtainable over HID so would wither need in the config file or settable via the cli (perhaps then stored with connected device info).

@willwade
Copy link
Contributor Author

willwade commented Jul 6, 2022

I need to test this but I think this is fixed by using the keymap mapping in the cli application https://docs.acecentre.org.uk/products/v/relaykeys/developers/relaykeys-cfg#introduction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants