-
Notifications
You must be signed in to change notification settings - Fork 162
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
Add Brazilian Portuguese keyboard layout #100
Conversation
Memory usage change @ 939d576
Click for full report table
Click for full report CSV
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, and thank-you for contributing to this library!
Now, I just learnt that Brazilian keyboards have this extra key, 0x54
, which is not present on the ISO physical layout. Unfortunately, the library cannot support adding modifiers to this key. This is because, in this array, bit 6 (0x40
) of each cell is used to select between the AltGr and Shift modifiers. C.f. the explanation by the bottom of KeyboardLayout.h.
Fortunately, Wikipedia tells me that:
To make this layout usable with keyboards with only 11 keys in the last row, the rightmost key (/?°) has its functions replicated across the AltGr+Q, AltGr+W, and AltGr+E combinations.
We will have to use these AltGr combinations instead of the key 0x54
.
Below are some more comments about specific lines of this pull request:
Memory usage change @ 7aaa02b
Click for full report table
Click for full report CSV
|
Merged to master. Thanks again! |
No description provided.