fix: the IntlBackslash key does not work on German virtual keyboard

This commit is contained in:
wj-xiao
2026-01-14 17:35:15 +08:00
parent 195037af87
commit b8d980be33
2 changed files with 5 additions and 6 deletions

View File

@@ -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);
}

View File

@@ -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/>:',