tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Protocol wskbd vs. Protocol standard



Hello,

on Sunday 28 July 2013 11:24:07 Martin Husemann wrote:
> On Sun, Jul 28, 2013 at 11:40:40PM +0900, Izumi Tsutsui wrote:
> > Because all OpenBSD MD kernel keyboard drivers provide "rawmap"s
> > which return PC XT scancodes for X servers?
>
> We seriously need to sit down and (1) spec and (2) implement finaly a
> real solution, e.g. based on USB scan codes or some superset of it and
> feed those to wsmux directly from the hardware driver, and also create
> a X keyboard driver to receive them in the same format from wsmux, and
> then not go through the horrifying levels of indirection inside X.

I did this a while ago for adbkbd as proof of concept. 
( Why adbkbd you ask? Because it's the one most likely to share a wsmux with a 
USB keypad on non-x86 ) 

> I want to run a sun kbd and a usb one through the same mux with a single
> X server!

src/sys/dev/adb/adbkbd.c and adb_usb_map.c ;)

have fun
Michael


Home | Main Index | Thread Index | Old Index