Valhalla Legends Archive

Programming => General Programming => Topic started by: Adron on July 05, 2003, 09:36 AM

Title: Human Interface Devices - IR Remote
Post by: Adron on July 05, 2003, 09:36 AM
I am writing a driver that among other things will support input from an IR remote control.

Looking in the SDK, I see WM_APPCOMMAND messages such as APPCOMMAND_MEDIA_NEXTTRACK, APPCOMMAND_MEDIA_RECORD etc. Since I have buttons for those on the remote, it'd make a lot of sense to have it generate those messages.

What is so far totally unclear to me is how a HID device causes those messages to be sent. I'm looking for any kind of more general tutorial/description of how this all fits together.

Suggestions?
Title: Re:Human Interface Devices - IR Remote
Post by: Grok on July 05, 2003, 10:35 AM
Have you been here?

http://www.usb.org/developers/hidpage/

Still searching..
Title: Re:Human Interface Devices - IR Remote
Post by: Adron on July 05, 2003, 05:13 PM
Hmm, I passed through there, and saw a lot of specifications... Maybe Windows magically connects those somehow, but I'm not making an USB device...
Title: Re:Human Interface Devices - IR Remote
Post by: Grok on July 05, 2003, 06:06 PM
Probably I didn't fully understand what you're looking for.  But that was my best attempt from what I knew.
Title: Re:Human Interface Devices - IR Remote
Post by: Adron on July 05, 2003, 07:35 PM
Quote from: Grok on July 05, 2003, 06:06 PM
Probably I didn't fully understand what you're looking for.  But that was my best attempt from what I knew.

I'm actually looking for some kind of overview... I'm sure that I could find everything I need by crossreferencing several specifications of hundreds of pages each, but it would be easy to make mistakes, misinterpret something or so...
Title: Re:Human Interface Devices - IR Remote
Post by: Skywing on July 05, 2003, 09:25 PM
Those sound like buttons on some of the "multimedia keyboards" - you know, the ones that have volume controls, browser navigation buttons, and all sorts of things which have absolutely no business being placed on a computer keyboard.  Maybe you might try checking into HID keyboards?