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

Some keys are not recognized using a AZERTY keyboard. #29

Open
MichaPau opened this issue Oct 2, 2016 · 4 comments
Open

Some keys are not recognized using a AZERTY keyboard. #29

MichaPau opened this issue Oct 2, 2016 · 4 comments

Comments

@MichaPau
Copy link

MichaPau commented Oct 2, 2016

In the moment I've found two keys which are not recognized in the miniAudicle editor.
using a AZERTY (french) keyboard.
(Windows7 64bit)

the closing curly bracket '}'
end the pipe '|'

That only happens when the virtual machine has started.
When I start miniAudicle without the VM running I can type these characters.
(but only before I started it the first time - closing the VM doesn't give back the lost key bindings)

Once I run the VM it seems it overrides some key bindings.

On an AZERT keyboard the '}' key is ALtGr + [the key left from backspace]
and the '|' key is AltGre + 6

Unfortunately these are two characters one is using a lot while programming,
and always using ALT-125 and ALT-124 gets a bit cumbersome in the long run.

@spencersalazar
Copy link
Member

spencersalazar commented Oct 6, 2016

Thanks Michael. Thats an unfortunate workaround.

Alt-= (equals) and Alt-- (minus) are used as shortcuts for on-the-fly programming, and on American systems at least Alt-whatever is not uncommon for keyboard shortcuts which is why these were chosen. Unfortunately as you point out that on AZERTY keyboards these same key combinations are used to enter } and |.

The only solution I can think of is to detect if an AZERTY keyboard is in use and then use different key combinations in that case, or no key combinations for those keys. This might take some however, as miniAudicle uses Qt and Im not sure how to get this information within Qt.

@spencersalazar
Copy link
Member

Hmm, actually it seems it is more nuanced than my initial understanding. From what I can tell, AltGr is normally used to access |, }, and other "bottom-right" characters whereas Alt is used to access shortcuts (like Alt-- and Alt-+). Does AltGr-+/AltGr-6 work for typing the | and } characters?

@MichaPau
Copy link
Author

MichaPau commented Oct 8, 2016

Actually I meant AltGr and not Alt/Ctrl, my bad, sorry - I thought it's called like that on an English/American keyboard.

So AltGr-+/AltGr-6 is not working for the | and } characters.

@MichaPau
Copy link
Author

MichaPau commented Feb 6, 2018

Still not working in version 1.4.0.0

Thanks for the new release btw. !

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

No branches or pull requests

2 participants