1
1
Fork
You've already forked kbdscan
1
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.
2025年08月05日 15:19:37 +02:00
kbdscan.c Delete trailing whitespace. 2018年10月08日 21:07:30 +02:00
LICENSE License. 2018年10月08日 21:19:09 +02:00
Makefile Bump. 2011年05月07日 22:05:49 +02:00
README.md Revise README 2025年08月05日 15:19:37 +02:00

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:

https://www.freshports.org/misc/kbdscan