One of the important key of the french keyboard isn't recognised.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
One of the important key of the french keyboard isn't recognised.
Hello ! I'm french and in France, the number key doesn't actually type numbers unless you hold the shift button, so our "2" key actually types "é", like everyone on the planet, we use this key as a shortcut in MMORPGs, Minecrafts and all kinds of game. However, I'm currently coding a game with remappable buttons and I've noticed that when I try to assign the key "é" to something, it's shown as "unknown" and can't be used while playing. It does the same thing with the keys for "è", "ç" and "à" which corresponds to 7 9 and 0.
Re: One of the important key of the french keyboard isn't recognised.
Hi Pordrack, try using love.keyboard.isScancodeDown instead of isDown. Also, if you use the keypressed/keyreleased events, use the scancode parameter (the second one) instead of the key (which is the first).
(edited to fix typo)
(edited to fix typo)
Last edited by pgimeno on Sun May 17, 2020 6:33 pm, edited 1 time in total.
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 9 guests