Linux Infrared Remote Control allows to decode infra-red signals of nearly all commonly used remote controls. WinLIRC combined with AutoHotkey enables remote control of a Windows OS.