Re: How to send a long key press - without been able to send a long key press
mamema <mamema.a7v1yo-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
this curl works:
curl -X POST -d
'{"id":0,"params":["bb:bb:5a:21:df:c6",["button","5.hold"]],"method":"slim.request"}'
http://192.168.0.30:9000/jsonrpc.js
the references in Default.map are:
5.hold = preset_5
5.hold_release = preset_release5
preset_5.hold = favorites_add5
5.hold = letter_5
and for button 5
5 = numberScroll_5
5 = numberLetter_5
so i've tried to change the Default.map to
5 = preset_5. (doesn't work)
or
5 = letter_5 (doesn't work)
so, perhaps i haven't changed the correct references.....
Any insight here? What needs to be done to simulate the curl command
with a button press?
------------------------------------------------------------------------
mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=115110