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

Expand language support #149

Open
quaxalber opened this issue Aug 20, 2023 · 3 comments
Open

Expand language support #149

quaxalber opened this issue Aug 20, 2023 · 3 comments

Comments

@quaxalber
Copy link
Contributor

quaxalber commented Aug 20, 2023

Is your feature request related to a problem? Please describe.
Currently English (UK and US QWERTY) and German (QWERTZ) are supported for Grid 3.

Describe the solution you'd like
I suggest to revisit the existing layouts for other AAC platforms. Also I think adding further layouts would be beneficial to the community and the adoption of RelayKeys. As a first step, adding the layouts only should be sufficient since probably most people interested in using RelayKeys will manage with the English docs. Thus localized docs may be added at a later point in time.

Describe alternatives you've considered
According to ChatGPT these are the most commonly used keyboard layouts in Europe and North America:
https://chat.openai.com/share/9c95569b-6d94-423a-ac9d-973bd1211f70

Do you have any specific layouts in mind that should be implemented first? I'd take care of the Grid side of things.
Do you have users outside of Europe and North America you are aware of?

@willwade
Copy link
Contributor

willwade commented Oct 5, 2023

I've been wondering about this. I did some hacking with the standard layout system of linux to bulk convert them to our JSON format. Its far from done - and I may never finish this - but it might be useful for new layouts we want to use. Take a look at https://acecentreuk.sharepoint.com/:f:/s/AnonymousShares/EmtqWZU9y7xNsEppKb0NnpoBqaadNRziB67kh446X9ybUA?e=N7dWG0

Note the python script in there for doing the conversion. output_json holds the json output

@quaxalber
Copy link
Contributor Author

quaxalber commented Nov 4, 2023

Hey @willwade, my apologies for I wasn't able to reply earlier. The SharePoint link appears to have expired. Did you follow this approach further?

However, I think I may have found a different path to include many more layouts with reasonable effort:
Check out https://github.com/Neradoc/Circuitpython_Keyboard_Layouts

The repo contains quite a few layouts, ready to be used with adafruit_hid. These were extracted from the windows drivers and should therefore be complete. The best part is, there is a web interface to generate any of the 210 layouts shipped with windows 10 at the push of a button.

While this would necessitate some refactoring to migrate from the json keymaps to adafruit_hid, it strikes me as the best approach moving forward. What are your thoughts?

@willwade
Copy link
Contributor

willwade commented Nov 4, 2023

Hmmm. That is neat. I can see a conversion tool to output from that to our layout.

Nb. Originally we wanted to use circuitpy for relaykeys. The reason we didn't is you couldn't change MAC address. I think we need to investigate this. I also think we might be able to improve the daemon/serial idea if we stepped back and redesigned things . I think that's a source of some weirdness people find. Well that and no feedback loop which is tough to solve.

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