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
1016853d25
commit
48c941fb86
@@ -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', '');
|
||||
|
||||
Reference in New Issue
Block a user