Skip to content

Commit 9e5a251

Browse files
SPuntteeldruin
authored andcommitted
Fix No105Key layout: map NumpadPeriod to comma
1 parent a576096 commit 9e5a251

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/layouts/no105.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,13 @@ impl KeyboardLayout for No105Key {
216216
DecodedKey::Unicode('<')
217217
}
218218
}
219+
KeyCode::NumpadPeriod => {
220+
if modifiers.numlock {
221+
DecodedKey::Unicode(',')
222+
} else {
223+
DecodedKey::Unicode(127.into())
224+
}
225+
}
219226
e => {
220227
let us = super::Us104Key;
221228
us.map_keycode(e, modifiers, handle_ctrl)

0 commit comments

Comments
 (0)