Does anyone have any experience/knowledge that can help me out in mapping inputs? Cheers.
JadeMonkee wrote: > Ok I thought I'd have a go at it, but I haven't had much luck. > I started by doing the following (as per this post > https://forums.slimdevices.com/showthread.php?105117-lirc-rpi-gpio-IR-support-for-picoreplayer&p=883651&viewfull=1#post883651): > > Code: -------------------- > > sudo mkdir /home/tc/.jivelite/userpath/jive/ > sudo cp -L /opt/jivelite/share/jive/jive/InputToActionMap.lua /home/tc/.jivelite/userpath/jive/InputToActionMap.lua > cd /home/tc/.jivelite/userpath/jive/ > sudo vi InputToActionMap.lua -------------------- > > > > Then added below the existing entries in: > keyActionMappings = {} > keyActionMappings.press = { > (but before the final closing bracket) > > Code: -------------------- > > --BEGIN my OSMC Remote mappings. I've commented out existing maps > --event1 keys > --[KEY_HOME] = > --[KEY_UP] = > --[KEY_DOWN] = > --[KEY_LEFT] = > --[KEY_RIGHT] = > --[KEY_ENTER] = > --event2 keys > [KEY_INFO] = "go_current_track_info", > --[KEY_BACK] = > [KEY_CONTEXT_MENU] = "volume_up", > [KEY_PLAYPAUSE] = "pause", > [KEY_STOP] = "volume_down", > [KEY_REWIND] = "jump_rew", > [KEY_FASTFORWARD] = "jump_fwd", > --END my OSMC Remote mappings -------------------- > > > > Backed up my changes via the web menu and rebooted. > But Jivelite doesn't even start. > As soon as I RE-copy a fresh version of > /opt/jivelite/share/jive/jive/InputToActionMap.lua into > /home/tc/.jivelite/userpath/jive/InputToActionMap.lua Jivelite > immediately starts. > > What have I done wrong? > > Thanks for your help - and sorry for taking up so much of your time! 2x squeezebox classics | 2x squeezebox booms | 2x squeezebox receivers | 1x raspberry pi 2 b w/ picoreplayer, 7\" touch screen (iqaudio dac+ now deprecated in favour of receiver) | orangesqueeze as android controller lms v7.9.2 running as a docker in unraid on a hp microserver gen8 4522 albums with 39058 songs by 8214 artists - and always growing ------------------------------------------------------------------------ JadeMonkee's Profile: http://forums.slimdevices.com/member.php?userid=20481 View this thread: http://forums.slimdevices.com/showthread.php?t=103330 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
