From: Pete P. <pp...@mv...> - 2001-07-02 16:04:53
|
James Simmons wrote: >>>Qtronix 990P infrared keyboard driver. >>> >>That would be great -- if you convert it to the input api. >> >>I wrote that driver, not knowing anything about keyboards, and I picked >>the wrong way to do it. After the scancode is decoded from the raw >>serial data, I should have at that point translated the Qtronix scancode >>to a PS2 scancode. That way you don't need to worry about the scancode >>to keycode translation and you don't need a new keymap file. >> > >Do you have the codes tha hardware produces for each key? I will need the >to create the keycode map to event values. With the input api their is >only ONE keymap needed :-) > I don't have them, but I get hook up the keyboard and get them. > >You probably won't be able to test the new keyboard driver. I can test >it when you're ready. > > >Okay. Cool. Just give me some time. I'm working on serial stuff right now. >I hope to port over my code to CVS soon. > BTW, do you realize that this keyboard driver is of limited value? The keyboard ships with a ps2/usb adapter that you connect to your PS2 or USB port on your PC or embedded board. The adapter has the infrared receiver. If you use this adapter, the keyboard is just a regular ps2 or usb keyboard. However, one of our customers has an infrared receiver on the board itself, so they wanted to be able to use a wireless keyboard without the special adapter that the board ships with. Bottom line is that not too many people will be able to use this keyboard driver. It's possible though that someone else could make another embedded board with an infrared port that could then use this keyboard driver. Currently the ITE IT8172 referrence board and the Globespan PVR (their personal video recorder eval board) use the keyboard driver. Just FYI. Pete |