Update virtual-keyboard.tsx

This commit is contained in:
Alexander-Ger-Reich
2025-09-14 14:14:48 +02:00
committed by GitHub
parent 8310e43b31
commit 8fc71a2e36

View File

@@ -130,8 +130,10 @@ export const VirtualKeyboard = () => {
}
if (keyboardLanguage === 'de' && key.endsWith('_qwertz')) {
const base = key.replace('_qwertz', '');
// Y ↔ Z Tausch
if (base === 'KeyZ') return KeyboardCodes.get('KeyY');
if (base === 'KeyY') return KeyboardCodes.get('KeyZ');
// all other labels use their own code
return KeyboardCodes.get(base);
}