Update virtual-keyboard.tsx

This commit is contained in:
Alexander-Ger-Reich
2025-09-14 18:01:34 +02:00
committed by GitHub
parent 1016853d25
commit 48c941fb86

View File

@@ -118,6 +118,9 @@ export const VirtualKeyboard = () => {
}
function getKeyCode(key: string) {
console.log('Key: ', key);
console.log('KeyboardLanguage: ', keyboardLanguage);
// AZERTY: swap A↔Q and Z↔W on French physical positions
if (keyboardLanguage === 'fr' && key.endsWith('_azerty')) {
const base = key.replace('_azerty', '');