-
Notifications
You must be signed in to change notification settings - Fork 31
start of Azerty layout scancode set2 #8
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
Conversation
Hi, I have a French azerty keyboard on my laptop so I tested your branch on my little OS (https://github.com/vinc/moros), and the letters and numbers work fine but I had trouble with some other keys. For example the |
Hi,
I will check this tomorrow and give you a feedback and then commit if the
error come from me.
…On Sat, Jul 4, 2020, 12:17 AM Vincent Ollivier ***@***.***> wrote:
Hi, I have a French azerty keyboard on my laptop so I tested your branch
on my little OS (https://github.com/vinc/moros), and the letters and
numbers work fine but I had trouble with some other keys.
For example the < key at the bottom left of the keyboard doesn't work,
while the * key on the right behave as if it was the < key. Are they
working correctly for you? The issue could very well comes from my OS
though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANLNLGTEU63GOZPZYV4MDILRZZKGNANCNFSM4OJDKRYA>
.
|
hi again,
Are we okay on the basic layout implementation ? us104 - >
https://upload.wikimedia.org/wikipedia/commons/3/3a/Qwerty.svg
Ideally i think that to be coherent on the translation to azerty layout, a
new KeyCode implementation can be a more efficient way.
Btw, as a first step i will re-map correctly when i will be certain that
the basic keyboard layout is the one i showed above. If im mistaken, can
you transfer me an image to the well layout please ?
Le sam. 4 juil. 2020 à 00:17, Vincent Ollivier <[email protected]> a
écrit :
… Hi, I have a French azerty keyboard on my laptop so I tested your branch
on my little OS (https://github.com/vinc/moros), and the letters and
numbers work fine but I had trouble with some other keys.
For example the < key at the bottom left of the keyboard doesn't work,
while the * key on the right behave as if it was the < key. Are they
working correctly for you? The issue could very well comes from my OS
though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANLNLGTEU63GOZPZYV4MDILRZZKGNANCNFSM4OJDKRYA>
.
|
The US Qwerty keyboard layout is 104 keys, and the UK one is 105 keys. I think the common French Azerty keyboard is 105 keys like the UK one, so it might help to reuse https://upload.wikimedia.org/wikipedia/commons/d/da/KB_United_States.svg That's what I did when I implemented the Dvorak layout from |
You made me realize that actually I should also have started from |
hi, I think the keymap must be okay except for the ['<' '>'].
I don't understand how the UK keyboard key ['|' '\'] can work, have you
tested it ?
These 2 keys trigger the same KeyCode on azerty/UK then, if it's work on
the UK this will work on the azerty.
Btw, the rest of the map should work fine.
Le sam. 4 juil. 2020 à 17:55, Vincent Ollivier <[email protected]> a
écrit :
… You made me realize that actually I should also have started from Uk105Key
to have the bottom left < key working on a Dvorak 105 keys keyboard!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANLNLGWB5AJRLZGG57UNEOTRZ5GIXANCNFSM4OJDKRYA>
.
|
I havn't pull request, the code is updated on my forked version.
Le dim. 5 juil. 2020 à 15:25, Leo K <[email protected]> a écrit :
… hi, I think the keymap must be okay except for the ['<' '>'].
I don't understand how the UK keyboard key ['|' '\'] can work, have you
tested it ?
These 2 keys trigger the same KeyCode on azerty/UK then, if it's work on
the UK this will work on the azerty.
Btw, the rest of the map should work fine.
Le sam. 4 juil. 2020 à 17:55, Vincent Ollivier ***@***.***>
a écrit :
> You made me realize that actually I should also have started from
> Uk105Key to have the bottom left < key working on a Dvorak 105 keys
> keyboard!
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#8 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ANLNLGWB5AJRLZGG57UNEOTRZ5GIXANCNFSM4OJDKRYA>
> .
>
|
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.
I tested all the ASCII chars on my OS, and everything is working perfectly except 2 keys (!
and =
) where the lowercase and uppercase chars should be swapped.
src/layouts/azerty.rs
Outdated
} | ||
KeyCode::Slash => { | ||
if modifiers.is_shifted() { | ||
DecodedKey::Unicode('!') |
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.
DecodedKey::Unicode('!') | |
DecodedKey::Unicode('§') |
src/layouts/azerty.rs
Outdated
} | ||
KeyCode::Equals => { | ||
if modifiers.is_shifted() { | ||
DecodedKey::Unicode('=') |
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.
DecodedKey::Unicode('=') | |
DecodedKey::Unicode('+') |
src/layouts/azerty.rs
Outdated
} else if modifiers.alt_gr { | ||
DecodedKey::Unicode('}') | ||
} else { | ||
DecodedKey::Unicode('+') |
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.
DecodedKey::Unicode('+') | |
DecodedKey::Unicode('=') |
if modifiers.is_shifted() { | ||
DecodedKey::Unicode('!') | ||
} else { | ||
DecodedKey::Unicode('§') |
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.
DecodedKey::Unicode('§') | |
DecodedKey::Unicode('!') |
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.
Looks good to me 👍
let's go :) |
@thejpster could you have a look at this PR? It would be great to publish a new version of the crate after that with the new layouts 🎉 |
I no longer have write access to this repo I'm afraid. |
I see I am the only person who can push to crates.io though - who would like to be added to that, and can I add a Github group to a crate? |
OK, once rust-embedded-community/meta#2 is sorted, I can set the owner of pc-keyboard to be that team, and anyone in that team can push you a new release. |
That seems great 👍 |
Basic Azerty layout handling.
The method used for other layouts occult the azerty meaning.