mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-12 10:07:38 -05:00
Update virtual-keyboard.tsx
This commit is contained in:
committed by
GitHub
parent
8310e43b31
commit
8fc71a2e36
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user