Date: Mon, 24 Aug 2009 09:17:01 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/kbdcontrol kbdcontrol.c Message-ID: <200908240917.n7O9HCbv035864@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-08-24 09:17:01 UTC FreeBSD src repository Modified files: usr.sbin/kbdcontrol kbdcontrol.c Log: SVN rev 196500 on 2009-08-24 09:17:01Z by ed Unhardcode 0x100 inside kbdcontrol. 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. Revision Changes Path 1.52 +73 -71 src/usr.sbin/kbdcontrol/kbdcontrol.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908240917.n7O9HCbv035864>