mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 16:52:21 -04:00
In preparation for Unicode support for the keyboard layer, we'd better get rid of all the hardcoded 0x100/0xff constants in kbdcontrol. Instead, add a flag called SPECIAL stored in the top bit of the integer. Adding Unicode support is very simple now; just change u_char map[] to u_int map[] in keyent_t, change the bounds checking in kbdcontrol to 0x1FFFFF and modify the ioctls to allow loading these new keymaps. |
||
|---|---|---|
| .. | ||
| kbdcontrol.1 | ||
| kbdcontrol.c | ||
| kbdmap.5 | ||
| lex.h | ||
| lex.l | ||
| Makefile | ||
| path.h | ||