ANNOUNCE: TiVo::HME 1.2
From: zzo (methan_at_gmail.com)
Date: 02/22/05
- Previous message: l.g.h_at_caramail.com: "LWP, https and a proxy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Feb 2005 17:58:11 GMT
TiVo::HME 1.2 has been uploaded to the CPAN (*).
It's a pure perl implementation of TiVo's HME protocol (see
http://tivohme.sourceforge.net).
SYNOPSIS
use TiVo::HME::Application;
@ISA = qw(TiVo::HME::Application);
sub init {
my($self, $context) = @_;
$self->get_root_view->visible(1);
my $mpg = $T_RESOURCE->image_file('examples/myloop.jpg');
$self->get_root_view->set_resource($mpg,
$T_CONST->HALIGN_CENTER | $T_CONST->VALIGN_CENTER);
}
sub handle_event {
my($self, $resource, $key_action, $key_code,
$key_rawcode) = @_;
print "You pressed the $key_code key on the remote!\n";
}
}
* Now 100% more installable!!
- Previous message: l.g.h_at_caramail.com: "LWP, https and a proxy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|