Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
rc103 remote controler client ***************************** Installation ------------ There's no install ! You should only compile the rc103 program by running make. It requires libhid (the code is just a small modification of libhid example code) And by the way here is the original copyright of this example code: /* COPYRIGHT -- * * This file is part of libhid, a user-space HID access library. * libhid is (c) 2003-2005 * Martin F. Krafft <firstname.lastname@example.org> * Charles Lepple <email@example.com> * Arnaud Quette <firstname.lastname@example.org> && <email@example.com> * and distributed under the terms of the GNU General Public License. * See the file ./COPYING in the source distribution for more information. * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES * OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ Usage ----- When the rcd program has been compiled just run it with you usb IR receiver connected and it'll detect it automatically and starts reading input. You may need root permissions to open the device, check source code or libHID documentation for more informations. What the program does is just printing read values to stdout so you can pipe those into the program you want for the control. The actual values and/or number of values it prints depends on the type of RC you're using (only two supported, see below). Supported receivers: ------------------- This program is known to support two different remote controllers. * RC103 IR Receiver Keycodes consist of 4 signed char values which are listed in keycodes.txt (some are probably missing but the major ones should be there). A sample parser written in bash is provided in the file parser.sh . It uses xev to send events to X but is really specific to my configuration, anyway it should be a good start to understand how everything works. * RM2IR--01 Nothing special here since I don't have this remote controller. I only know it only outputs 3 values. Notes ----- xse binary is provided in this archive. It is a command line interface to the XSendEvent Xlib function. You get it and find more informations here: ftp://ftp.cs.rochester.edu/pub/packages/xsendevent/ It is required by the provided sample parser code Contact ------- Morgan Veyret morgan dot veyret at gmail dot org http://oxyde.org/patzy