nanogui: Keyboard driver


Previous by date: 17 Oct 2002 08:43:15 -0000 insert image, Christoph Kling
Next by date: 17 Oct 2002 08:43:15 -0000 insert image, Christoph Kling
Previous in thread: 17 Oct 2002 08:43:15 -0000 Re: Keyboard driver, Greg Haerr
Next in thread: 17 Oct 2002 08:43:15 -0000 Re: keyboard driver, Greg Haerr

Subject: keyboard driver
From: vikas kedia ####@####.####
Date: 17 Oct 2002 08:43:15 -0000
Message-Id: <3DAD2750.8050408@nexgenix.com>

i have to attach a simple matrix keyboard to my system ... there will be 
a keyboard driver running which will simply scan the pins of keyboard 
and if a key is pressed write a scan code into a buffer in the memory 
(which is a FIFO) .. now how do i write a keyboard driver for 
microwindows which will keep on checking that FIFO to see if it is empty 
or not .. because currently what microwindows does is a select call for 
all the fds and whichver isset it reads from that .. but here this 
process will only work if i can attach a file descriptor to shared 
memory .. can i do that??
other method i can think of is that i dont check for keyboard from 
select call and after select call returns (by timeout or by an event) i 
also check for keyboard buffer..

regards
vikas


Previous by date: 17 Oct 2002 08:43:15 -0000 insert image, Christoph Kling
Next by date: 17 Oct 2002 08:43:15 -0000 insert image, Christoph Kling
Previous in thread: 17 Oct 2002 08:43:15 -0000 Re: Keyboard driver, Greg Haerr
Next in thread: 17 Oct 2002 08:43:15 -0000 Re: keyboard driver, Greg Haerr


Powered by ezmlm-browse 0.20.