Lirc::ClientA client library for the Linux Infrared Remote Control | |
Download |
Lirc::Client Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Mark Grimes
- Publisher web site:
- http://search.cpan.org/~mgrimes/
Lirc::Client Tags
Lirc::Client Description
A client library for the Linux Infrared Remote Control Lirc::Client is a Perl module that provides a simple interface to the Linux Infrared Remote Control (Lirc). The module encasuplates parsing the Lirc config file (.lircrc), openning a connection to the Lirc device, and retrieving events from the device.SYNOPSIS use Lirc::Client; ... my $lirc = Lirc::Client->new( 'progname' ); my $code; do { # Loop while getting ir codes $code = $lirc->next_code; # wait for a new ir code print "Lirc> $code\n"; process( $code ); # do whatever you want with the code } while( defined $code ); # undef will be returned when lirc dev exists Requirements: · Perl
Lirc::Client Related Software