ralphy wrote: 
> Jivelite will fail to start if you use KEY_ names that are not defined. 
> Unfortunately, the list is created an compile time and can't be extended
> without rebuilding jivelite.
> 
> The mappings and action keys are defined in these jivelite files.
> 
> https://github.com/ralph-irving/jivelite/blob/master/src/jive.h
> https://github.com/ralph-irving/jivelite/blob/master/src/jive_framework.c
> https://github.com/ralph-irving/jivelite/blob/master/share/jive/jive/ui/Framework.lua
> 
> The scancodes reported by evtest are from the kernel and the mapping to
> the SDLK_ names happens in 
> 
> https://github.com/ralph-irving/squeezeplay/blob/master/src/SDL-1.2.15/src/events/SDL_keyboard.c
> https://github.com/ralph-irving/squeezeplay/blob/master/src/SDL-1.2.15/src/video/fbcon/SDL_fbevents.c
> 
> It's very convoluted.  You need to find the keycode for the media keys
> and try to find it in the SDL files and then use the KEY_name in
> InputToActionMap.lua mapped from the SDLK_ symbol.
> 
> In my experience a lot of the low cost wireless keyboard/remotes use non
> standard keycodes that require changes to both the SDL library and
> jivelite to work.

Thanks for the info. Sounds convoluted, indeed!
I'll have a poke around for the media event keys and see if I can link
the two, but otherwise I guess I'll just buy a flirc if not having full
remote functionality really bothers me (I mean, it's not like I don't
have several other ways to play/pause the music, anyhow).
Thanks so much for your help - and PiCorePlayer!



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

Reply via email to