Bug 3996 - Unable to map different actions for single & hold keys
: Unable to map different actions for single & hold keys
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: IR
: 6.5b1
: All All
: P2 normal (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-24 14:54 UTC by James Craig
Modified: 2006-08-25 09:08 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2006-08-24 14:54:44 UTC
It seems that it's not possible to remap some remote keys with different functions for single presses and hold action.
In my custom.map file I have the following:

[common]
arrow_right = dead
arrow_right.single = right
arrow_right.hold   = modefunction_PLUGIN.LastFM::Plugin->lastfm_skip

Intention is that single presses move right as normal but a hold executes a different action.
However, with this enabled, when I press right once from an INPUT.List menu, two move rights are executed.

2006-08-24 22:14:19.3609 IR: 7689d02f -> code: arrow_right
2006-08-24 22:14:19.3629 found function exit_right for button arrow_right in mode INPUT.List from map Default
2006-08-24 22:14:19.6189 found button arrow_right for 7689d02f
2006-08-24 22:14:19.6196 found function right for button arrow_right.single in mode common from map tsu2000.map

How can one do this properly?
Comment 1 Chris Owens 2006-08-25 09:08:47 UTC
Have you considered bringing this question up in the developer forum?  http://forums.slimdevices.com/forumdisplay.php?f=5

That's our developer support forum.

If (after discussing it with them) this does turn out to be a bug, please reopen this bug!