Taal: NL of EN
Mode: PC, Tablet, Mobile of TV
pcpret.nl: wandelen, fotografie, audio en computer weetjes!
WelkomSoftwareStuur berichtGastenboekWebsite BlogLinks RSS button
Bloem van watermuurSteun Hart voor natuur nu!Paddestoel

Software Development

I2C op de PC, historie
Basicode historie
Webdesign, allerlei
Video file saving in Wmv
Save audio in Wma
Downloads
Matrox Marvel G200
Digital TV DVB-C/S
Media Center remote control
Analog TV and FM radio
Teletext on a PC
Digital TV DVB-T
DirectX and DirectShow
Amcap video capture
Introduction

Meest gelezen onderwerpen:
Website blog...
Mediastreaming van Windows P...
Gastenboek lezen...
Gastenboek schrijven...
Pingen en een IP adres vinde...
UTP, straight en cross ...
Schrijf een bericht...
Geluidsapparatuur aansluiten...
Mijn Windows Media Center er...
Een thuisnetwerk aanleggen...

OS=
Browser=
IP adres= 54.227.127.109
Bezoekers= 1368281     Meer ...
(Vanaf 27-10-2010)

Land informatie van bezoekers, 07 dec 2017 t/m 13 dec 2017

Software development, Microsoft remote control

Introduction.
The purpose was to use the Windows remote control in my own program. Understand how this worked, took some effort to understand. On MSDN a nice C++ example was supplied that showed almost all important information. To get a working C# program I found a nice example: Programming for the '10 Foot Experience' via Remote Control (Part 1 of 2) written by Bruce Thomas.

How to use
The Windows remote control uses at least three interfaces, one of them is the keyboard (via the WM_KEYDOWN message or key down signal GUI). That is the easiest part to implement, just push the button and look. Than, there is WM_APPCOMMAND, the application command message that is used by a number of applications, such as the remote control. To catch this message a special hook (WndProc) must be used. Finally, some commands come via the WM_INPUT message. This message is used for raw input from computer devices and has some specific demands. The function must register the Window handle together with type of commands so the sending process knows where to send the message to. It is possible to omit the handle, in that case the WM_INPUT message will only come when the windows does not have any controls.

Software
The software of Bruce Thomas gives a very good example.

Hardware
On Windows MCE and on Windows XP (SP2?) the Microsoft IR control can be used. That is nice to know, because without making special software, the Microsoft remote control can be used if the applications can handle the button commands. On Windows XP most button commands are not supported. However, when also the software update KB888795-v3-x86 (MCE rollup update 1) is installed, then allmost all IR remote control functionality seems to be available. It is sufficient to keep the Ir installation files in sp2qfe, after starting the initialization. Than map contains all files needed to get the remote control working. When aborting the installation, that map is still there and it could be saved somewhere else.
Even on Windows 2000 the remote control works partially when the files in sp2qfe are used for installating the IR receiver. Unfortunately the application commands do not work (registering fails), so if those commands would be used there is still some development to do.

If you want to use the normal TV remote control than Winlirc might offer a working solution (see the Interesting links chapter for the URL).

Interesting links
Interesting links, well: Microsoft MSDN, here you can find a lot of information on almost any subject related to Microsoft Windows. On Sourceforge, Winlirc can be found. Here you can find a solution for making your own IR interface and using your own IR remote control.

Terug naar het Begin.


WelkomSoftwareStuur berichtGastenboekWebsite BlogLinks RSS button

Datum: january 3, 2006