doc:appunti:linux:sa:remap_keyboard_keys
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:remap_keyboard_keys [2021/12/07 11:31] – [Remap keyboard keys in GNU/Linux] niccolo | doc:appunti:linux:sa:remap_keyboard_keys [2021/12/07 11:50] (current) – [xmodmap] niccolo | ||
---|---|---|---|
Line 181: | Line 181: | ||
===== Configuration example for the Teclast F6 notebook ===== | ===== Configuration example for the Teclast F6 notebook ===== | ||
- | The following is the file **/ | + | The following is the file **/ |
< | < | ||
- | # / | + | # / |
- | # | + | # |
# Keyboard remapping for the Teclast F6 notebook. | # Keyboard remapping for the Teclast F6 notebook. | ||
- | # 2021-05-13 Niccolo Rigacci < | + | # 2021-12-07 Niccolo Rigacci < |
# | # | ||
# The following udev hwdb configuration swaps the Fn behaviour | # The following udev hwdb configuration swaps the Fn behaviour | ||
- | # on keys F2, F3, F4, F8, F9, F10, F11 and F12. | + | # on keys F2, F3, F4, F6, F7, F8, F9, F10, F11 and F12. |
# It also binds the Fn+ESC to Ctrl+LeftWinLogo+Esc, | # It also binds the Fn+ESC to Ctrl+LeftWinLogo+Esc, | ||
# be used as keyboard shortcut into XFCE or other desktop | # be used as keyboard shortcut into XFCE or other desktop | ||
# environments to execute a script and toggle the touchpad. | # environments to execute a script and toggle the touchpad. | ||
# | # | ||
- | # Function | + | # Function |
- | # udev Hardware Database (as far as I know). | + | # Database (as far as I know). |
# | # | ||
- | # To make this file effective execute: | + | # To make this file effective execute |
+ | # input number using lsinput): | ||
# | # | ||
# | # | ||
+ | # | ||
# | # | ||
- | # To view current | + | # To view current |
# | # | ||
# | # | ||
Line 217: | Line 219: | ||
# | # | ||
# | # | ||
- | # Function keys F1, F6 and F7 do not generate events | + | # Fn+F6 and Fn+F7 produce keys 64 and 65 (0x40 and 0x41). |
- | # (verified with evtest | + | |
- | # be remapped. | + | |
- | # | + | |
- | # The following EV_KEY do not work: | + | |
- | # | + | |
- | # | + | |
- | # | + | |
# | # | ||
+ | # Function keys F1 does not generate events (verified with | ||
+ | # evtest and showkey), so it cannot be remapped. | ||
+ | |||
+ | # Teclast AT Keyboard input device. | ||
evdev: | evdev: | ||
| | ||
Line 238: | Line 237: | ||
| | ||
| | ||
+ | | ||
+ | | ||
| | ||
| | ||
Line 244: | Line 245: | ||
| | ||
| | ||
+ | |||
+ | # F6 and F7 are connected to input "Intel HID events", | ||
+ | evdev: | ||
+ | | ||
+ | | ||
</ | </ | ||
Line 287: | Line 293: | ||
</ | </ | ||
- | These keysyms do not produce the expected action; i.e. they don't do anything, despite I associate them to a key and depite | + | These keysyms do not produce the expected action; i.e. they don't do anything, despite I associate them to a key and despite |
* XF86TouchpadToggle, | * XF86TouchpadToggle, |
doc/appunti/linux/sa/remap_keyboard_keys.txt · Last modified: 2021/12/07 11:50 by niccolo