OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Miod Vallat (miodcvs.openbsd.org)
Date: Sat Nov 20 2010 - 14:52:11 CST


CVSROOT: /cvs
Module name: src
Changes by: miodcvs.openbsd.org 2010/11/20 13:52:11

Modified files:
        sys/dev/wscons : wscons_callbacks.h wsdisplay.c wskbd.c

Log message:
Change wsdisplay_kbdinput() to get an aray of keysym_t and a count, instead of
a single keysym_t at a time - this means tty sanity checks will only happen
once.

Introduce wsdisplay_rawkbdinput() for raw mode input, since raw input is
a byte array. As a bonus this allows us to skip the `is this a KS_GROUP_Ascii
value' test in that case.