tech-userlevel archive

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

Re: Detecting keypress on console



manu%netbsd.org@localhost (Emmanuel Dreyfus) writes:

>I tried reading wscons_event from /dev/wskbd0 and it works like
>a charm, but reinjecting the event with WSMUXIO_INJECTEVENT in
>/dev/wsmux0 while /dev/wskbd is still open will not do the job: 
>the process running on the console does not see the input.

Maybe /dev/wsmux1 ? wsmux0 is mouse input.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index