mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-13 03:19:45 -05:00
fix: the IntlBackslash key does not work on German virtual keyboard
This commit is contained in:
@@ -137,7 +137,6 @@ export const VirtualKeyboard = () => {
|
||||
// Tausch
|
||||
if (base === 'KeyZ') return getKeycode('KeyY');
|
||||
if (base === 'KeyY') return getKeycode('KeyZ');
|
||||
if (base === 'IntlBackslash') return getKeycode('IntlBackslash_qwertz');
|
||||
// all other labels use their own code
|
||||
return getKeycode(base);
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ export const keyboardOptions = {
|
||||
KeyQ_qwertz: 'Q<br/>@',
|
||||
KeyE_qwertz: 'E<br/>€',
|
||||
BracketRight_qwertz: '+~*',
|
||||
Backslash_qwertz: '#<br/>\'',
|
||||
Backslash_qwertz: "#<br/>'",
|
||||
IntlBackslash_qwertz: '<|>',
|
||||
Comma_qwertz: ',<br/>;',
|
||||
Period_qwertz: '.<br/>:',
|
||||
|
||||
Reference in New Issue
Block a user