Matthew
ok, so back on topic... remember a while ago I complained about the up
and down arrow keys being too sensitive? Well, in particular using a
Harmony remote on my Transporter it was completely impossible (each
up/down moved by at least three) so I looked into it and I have a patch
to offer for your next release.
In plugin.pm, near line 67, change to:
Code:
--------------------
my %mainModeFunctions = (
'up' => sub {
my $client = shift;
my $button = shift;
if ($button !~ /repeat/) {
Plugins::LiveDepartures::UI::enterStateSwitchRouteOption($client, 0);
}
},
'down' => sub {
my $client = shift;
my $button = shift;
if ($button !~ /repeat/) {
Plugins::LiveDepartures::UI::enterStateSwitchRouteOption($client, 1);
}
},
--------------------
I borrowed this from James' lastFM plugin and it seems to debounce very
effectively.
HTH
Ceejay
--
ceejay
------------------------------------------------------------------------
ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148
View this thread: http://forums.slimdevices.com/showthread.php?t=33913
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins