Setting up WinLIRC for an FTDI-driven blaster is as simple as selecting the “SerialDevice.dll” plugin and the appropriate config file.
The WinLIRC config files are available from the WinLIRC remote database on Sourceforge. Download the one that matches your receiver or device, and place that file in the “Config” dialog. If your particular device is not available from the database, you will need to create your own config file. WinLIRC includes a tool that will allow you to capture commands using a USB IR receiver and play them back using your blaster. Click the “OK” button and WinLIRC should have no trouble connecting to your blaster.
Testing your USB IR blaster with WinLIRC
In the WinLIRC control window, you can select from two dropdown menus, one for remotes and one for commands. Choose the appropriate selections from each menu, and send the command to verify that your settings are correct.
Ever the optimist, I jumped feet-first into Windows 10 on the VCR, because there isn’t much documentation on the sorts of things I’m trying to do with Windows and the project. For the past couple of weeks, I’ve been blazing a trail through the digital wilderness trying to get peripherals and software working perfectly under the new OS, and I hate to say that I’ve run across some glaring dead-ends.
The first to go was the real support for my remote control. Because it uses the MCE protocol, which is no longer supported by Windows 10 (since they dispensed with MCE in a vaguely boneheaded move to sell more XBones? [Pun intended]). WinLIRC, which was already a finicky primadonna under 7 has simply refused to work more than once under Windows 10. The Xbox 360 remote still works (sorta), but I prefer to have the different protocols so I’m not transmitting odd signals to one machine or the other. I’ve been having to use a keyboard and mouse combo primarily for simple navigation, which is getting old, so I decided to give the gamepad a go. Which leads to dealbreaker number 2.
Either Logitech is not supporting its devices properly or Microsoft has decided to abandon support for generic X-Input devices. Probably both. Logitech has taken the official position that gamepads should use Direct-Input and map controls through their proprietary software which immediately does not work because I lose the programmable functionality of the “Guide” button which I will make extensive use of in future upgrades to the system.
It stands to be said that the only reason I am using Windows in the first place is for proper game support. Instead of a hacked-up solution involving WINE under Ubuntu, I would rather have the operating environment with minimal “intrusion”. Granted, for media and hardware support, I would rather be running under Ubuntu anyway, but I’ve got to sacrifice one to get the other.
WinLIRC, unlike its Linux-based sibling, is a finicky priss to get working. I tried to follow the setup guide on their website, but it was getting late and I could no longer make heads or tails of what they were trying to convey. Starting fresh this morning, I took to futzing around with the settings until I had it working correctly.
When you first run WinLIRC, you will get this error message off the bat:
Okay, I haven’t even defined a configuration, so obviously nothing’s going to work! Thanks, WinLIRC! Click “OK” and you’ll be taken to the main Setup window.
10 In the top section, choose the Input Plugin that is compatible with your remote. Since I’m using the SIIG Vista MCE Remote, I’m going to choose one of the MCEVista* plugins, and since my copy of Windows is 64-bit, I need the MCEVIsta64.dll plugin to drive my remote.
Click “OK” at the bottom, and you will likely get this message:
So, how do you get it to work? The trick is that you can’t simply right-click->”Run as administrator”. Oh, no! You have to edit the properties so that it runs at elevated privileges all the time!
In the Properties dialog, click the “Compatibility” tab, and, at the bottom, don’t simply check “Run this program as administrator”. Click the button underneath that says “Change settings for all users”. THEN check “Run this program as administrator”!
Try running WinLIRC again and you should see the system tray icon come up and you should no longer get the dreaded “Error Window of Doom”.
Now that you have WinLIRC properly configured and receiving signals from your remote, you’re going to need some way to parse those signals into useful commands….