Re: windows noob needs pointers to writing a device driver
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 17 Apr 2005 10:58:43 -0700
the extra key's scan codes in a sun keyboard are not handled by the keyboard
stack, they are handled by windows input subsystem itself (the raw input
thread (RIT)). if it is a ps2 device, the scan codes bubble up to the RIT.
if it is a usb device, they are probably lost at the HID mapper layer
(kbdhid.sys) b/c the parser does not know about the usage -> scan code
mapping for those keys (but it could, this is off the top of my head).
Technically you could attempt to add value here, but that would be very
difficult given how kbdhid reports packets.
If the device is neither ps2 or usb, you have a lot more work to do b/c you
need to interface w/the hw itself.
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"shea martin" <smartin@xxxxxxxxx> wrote in message
news:grm8e.1043755$8l.57091@xxxxxxxxxxx
> Tim Roberts wrote:
>> Shea Martin <smartin@xxxxxxxxx> wrote:
>>
>>>I am a fairly experience c/c++ programmer, but I have done very little
>>>work on the windows platform. I would like to try my hand at writing a
>>>device driver for a usb keyboard.
>>
>>
>> USB keyboards do not need drivers. Windows supplies one automatically.
>
> What about a Sun Type 6 keyboard? I can't seem to the the extra function
> keys (cut/paste/front/again ... etc) to work.
>
> I'll have a look at the DDK, thanks.
>
> ~S
.
- Follow-Ups:
- Re: windows noob needs pointers to writing a device driver
- From: shea martin
- Re: windows noob needs pointers to writing a device driver
- References:
- windows noob needs pointers to writing a device driver
- From: Shea Martin
- Re: windows noob needs pointers to writing a device driver
- From: Tim Roberts
- Re: windows noob needs pointers to writing a device driver
- From: shea martin
- windows noob needs pointers to writing a device driver
- Prev by Date: Re: Question on EXPORT_DRIVER
- Next by Date: Re: Virtual serial driver in C/C++
- Previous by thread: Re: windows noob needs pointers to writing a device driver
- Next by thread: Re: windows noob needs pointers to writing a device driver
- Index(es):
Relevant Pages
|