separate out keyboard data

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m

Signed-off-by: Mattias Andrée <maandree@operamail.com>
doc

Signed-off-by: Mattias Andrée <maandree@operamail.com>
write to fd

Signed-off-by: Mattias Andrée <maandree@operamail.com>
separate out keyboard reading

Signed-off-by: Mattias Andrée <maandree@operamail.com>
m

Signed-off-by: Mattias Andrée <maandree@operamail.com>