Closed thejpster closed 1 year ago
KeyCode::HashTilde => {
if modifiers.is_shifted() {
DecodedKey::Unicode('~')
} else {
DecodedKey::Unicode('#')
}
}
should be
// Ok a UK keyboard, this is actually left of Z and has neither Hash nor Tilde on it
KeyCode::HashTilde => {
if modifiers.is_shifted() {
DecodedKey::Unicode('|')
} else {
DecodedKey::Unicode('\\')
}
}
// This key is between Carriage Return and @
KeyCode::BackSlash => {
if modifiers.is_shifted() {
DecodedKey::Unicode('~')
} else {
DecodedKey::Unicode('#')
}
}
On a PS/2 UK keyboard with 0.6.1:
#~
key produces\|
\|
key produces#~