mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-11 00:22:56 -05:00
Update virtual-keyboard.tsx
This commit is contained in:
committed by
GitHub
parent
6ca0fa7626
commit
e86d385521
@@ -133,10 +133,9 @@ export const VirtualKeyboard = () => {
|
||||
}
|
||||
if (keyboardLanguage === 'de' && key.endsWith('_qwertz')) {
|
||||
const base = key.replace('_qwertz', '');
|
||||
// Y ↔ Z Tausch
|
||||
// Tausch
|
||||
if (base === 'KeyZ') return KeyboardCodes.get('KeyY');
|
||||
if (base === 'KeyY') return KeyboardCodes.get('KeyZ');
|
||||
if (base === 'KeyUE') return KeyboardCodes.get('KeyBracketLeft');
|
||||
|
||||
// all other labels use their own code
|
||||
return KeyboardCodes.get(base);
|
||||
|
||||
Reference in New Issue
Block a user