Show for keyboard codes in FreeBSD console for use in kbdmap(5) keymap files
- C 92.3%
- Makefile 7.7%
|
Michael Cardell Widerkrantz
900e2ce893
Revise README
- Point out that this is not actively maintained. - Change "scan code" to just "code" since there is some confusion about what kind of codes it prints. It's same codes that the kbdmap(5) man page calls "scancode": "The description of a key begins with the scancode for that key." - Refer to man pages to explain what to use the codes for. |
||
|---|---|---|
| kbdscan.c | Delete trailing whitespace. | |
| LICENSE | License. | |
| Makefile | Bump. | |
| README.md | Revise README | |
kbdscan
NOTE WELL! This was written in 2010 when I was actively using FreeBSD on workstations and laptops. While I still use FreeBSD on servers, I no longer use it on workstations and laptops. I can't easily test any changes to this program.
kbdscan sets the FreeBSD console keyboard in a mode where it can
show codes of keys pressed and released. These codes can then be used
for defining a keymap for the keyboard in the FreeBSD console. See
kbdmap(5) for the file format and kbdcontrol(1) to load it.
Five seconds of inactivity resets the console to the original mode and quits the program.
Note that kbdscan will only work if it is run directly in the FreeBSD console.
The project was packaged as misc/kbdscan in FreeBSD ports in 2010: