uterm: vt: handle VT switches without kernel input
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 8 Oct 2012 14:57:02 +0000 (16:57 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 8 Oct 2012 14:57:02 +0000 (16:57 +0200)
commitb1e91d8f65985119df2907743bd8baded12a0bbb
tree1726250768b3c19c1c72639a84a66c2c09a0d6c5
parent32335abdc7b48d18139034d087b506f9dc978c4d
uterm: vt: handle VT switches without kernel input

We now set KBMODE to K_OFF so we are totally independent of kernel input.
Instead, we handle VT switches with uterm-input now. This also allows us
to have full control of which keyboard input is parsed by us and which is
parsed by the kernel.

We still need to set a flag for uterm-input events that they were handled
to avoid having the TSM layer handle these events again.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_vt.c