mirror of
https://github.com/wez/wezterm.git
synced 2024-12-27 15:37:29 +03:00
window: add some comments about xkd lookups
This commit is contained in:
parent
e8967d9c17
commit
822202b7be
@ -352,6 +352,11 @@ fn build_physkeycode_map(keymap: &xkb::Keymap) -> HashMap<Keycode, PhysKeyCode>
|
||||
|
||||
// See <https://abaines.me.uk/updates/linux-x11-keys> for info on
|
||||
// these names and how they relate to the ANSI standard US keyboard
|
||||
// See also </usr/share/X11/xkb/keycodes/evdev> on a Linux system
|
||||
// to examine the mapping. FreeBSD and other unixes will use a different
|
||||
// set of keycode values.
|
||||
// We're using the symbolic names here to look up the keycodes that
|
||||
// correspond to the various key locations.
|
||||
for (name, phys) in &[
|
||||
("ESC", PhysKeyCode::Escape),
|
||||
("FK01", PhysKeyCode::F1),
|
||||
|
Loading…
Reference in New Issue
Block a user