Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2005 11:35:39 +0200
From:      "Norbert Koch" <NKoch@demig.de>
To:        "Freebsd-Hackers@Freebsd. Org" <freebsd-hackers@freebsd.org>
Subject:   using vkbd device
Message-ID:  <000001c5681f$9a5eb4e0$4801a8c0@ws-ew-3.W2KDEMIG>

index | next in thread | raw e-mail

Hello,

I am trying to use vkbd to multiplex
an at keyboard and an usb keyboard
into syscons.

Vkbd's control device's write routine
expects ints to queue to the slave device.

As I understand, those ints map 1:1
to the chars I read from a keyboard device, right?
So I open, for example, /dev/kbd0, set it to K_RAW,
read chars from it and write them as ints to
vkbd's control device, right?

Thank you for any help,

Norbert Koch


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c5681f$9a5eb4e0$4801a8c0>