L0O wrote:
> Is there possibility to change this 'click' to another button? Or even
> better to swap functionality with small one (where push is working)?
> I found remapping possibilities but not for this push/'click', also
> didn't found change functions of small one with big. But maybe didn't
> search enough. :/
Presumably you found the 'Shortcuts' applet under the 'Beta Features'
menu of 'Settings|Advanced', and found nothing that would help. Nor did
I.
If you are willing to edit the relevant script on the Radio (by logging
in through SSH), you can, at least, change the default setting for the
"mute" key (Volume knob press) in a way that might help you.
The script lives in '/usr/share/jive/applets/Shortcuts'. The script is
called 'ShortcutsMeta.lua'.
You could make an edit to a part of the file, as indicated below. The
line highlighted in red is to be changed, just replace "mute" by "go",
as I have done.
You will still have the "mute" function, but now only by a long
press/hold of the volume button.
What you are doing here is changing the default setting for the "mute"
key, which pressing the volume knob gives you. In principal, this option
could be added to the menu, so that it could be selected through the
user interface. But working out how the main script actually works
defeats me right now.
Code:
--------------------
EXTRACT FROM /USR/SHARE/JIVE/APPLETS/SHORTCUTS/SHORTCUTSMETA.LUA
keyActionMappings = {
press = {
[KEY_ALARM] = "go_alarms",
[KEY_ADD] = "add",
*[KEY_MUTE] = "go",*
[KEY_PRESET_1] = "play_preset_1",
[KEY_PRESET_2] = "play_preset_2",
[KEY_PRESET_3] = "play_preset_3",
[KEY_PRESET_4] = "play_preset_4",
[KEY_PRESET_5] = "play_preset_5",
[KEY_PRESET_6] = "play_preset_6",
},
hold = {
[KEY_GO] = "add",
[KEY_ALARM] = "go_alarms",
[KEY_ADD] = "add_end",
[KEY_HOME] = "go_home",
[KEY_MUTE] = "mute",
[KEY_PLAY] = "create_mix",
[KEY_PRESET_1] = "set_preset_1",
[KEY_PRESET_2] = "set_preset_2",
[KEY_PRESET_3] = "set_preset_3",
[KEY_PRESET_4] = "set_preset_4",
[KEY_PRESET_5] = "set_preset_5",
--------------------
Be aware that you may need to restore factory settings if you should
"make a mistake".
------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=113652
_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio