Detecting remote control device events on a browser
I got a Windows XP PC with a remote control. (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/remote_control.asp)
I would like to grab the remote control events on a browser.
I got the following C# code for the RMT events grabbing: class Form1Window : NativeWindow { privateint iChar; public Form1 form; { // Handle the navigation and numeric buttons. { iChar = message.WParam.ToInt32(); { case (int)Keys.D0: // Handle 0 key here. break; // Insert more cases here. } // End switch. } // End key messages. base.WndProc(ref message); } // End WndProc } // End class.
using System.Windows.Forms;
privateconstint WM_KEYDOWN = 0x0100;
protectedoverridevoid WndProc(ref Message message)
if (message.Msg == WM_KEYDOWN)
switch(iChar)
Where do I go from here? How can I send these events to the browser? What are my options?
I do not need to distribute the application via the Internet, it will run on a single PC which I have full access to.
Thanks in advance,
Kaja.

