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
90068a3c2d
commit
1016853d25
@@ -131,8 +131,8 @@ 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');
|
||||
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