summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_tc.c
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1998-01-07 08:40:34 +0000
committeryokota <yokota@FreeBSD.org>1998-01-07 08:40:34 +0000
commit3ed12c01d2398d8d3ced2e1ca6f32826a72a870f (patch)
tree44f9a894356d1de5492a3ecc4547c63dffb50d6a /sys/kern/kern_tc.c
parent8bd0a515dd68883ec58bf3e61f428131a1e0aa03 (diff)
downloadFreeBSD-src-3ed12c01d2398d8d3ced2e1ca6f32826a72a870f.zip
FreeBSD-src-3ed12c01d2398d8d3ced2e1ca6f32826a72a870f.tar.gz
Added accent (dead) key support to syscons and kbdcontrol.
With a keymap with accent key definitions loaded to syscons, you press an accent key followed by a regular letter key to produce an accented letter. Press an accent key followed by the space bar to get the accent letter itself. Code is based on the ideas and work by jmrueda@diatel.upm.es and totii@est.is. PR: i386/4016 console.h - Defined structures and constants for accent (dead) keys. syscons.c, kbdtables.h - When an accent key is pressed, set the corresponding index to `accents'. If the next key is the space key, produce the accent char itself. Otherwise search the accent key map entry, indexed by `accents', for a matching pair of a regular char and an accented char. - Added ioctl functions to set and get the accent key map (PIO_DEADKEYMAP and GIO_DEADKEYMAP).
Diffstat (limited to 'sys/kern/kern_tc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud