Paul Webster wrote: > I think the complete list is in > drivers/media/rc/keymaps/rc-cec.c > from kernel source > (although I have installed a lot of stuff in diagnosing this so perhaps > something else put it there - e.g. v4l-utils dev package. > > If I run > sudo cec-ctl --playback > (once per boot) > and then > sudo cec-ctl --monitor > and then use the remote then I can see the commands coming in - but what > I have not 100% worked out is what SDL1.2 makes of it because I have not > managed to get a tracing program showing the input to and output from > SDL1.2 > > There are sure to be nuances - like powering up the RPi before the > screen is turned on but I am confident that they can be worked through > once we have a system that doesn't require kernel building etc to try > things out.
I've attached a program sdltest.c that I've used to test and monitor sdl keyboard and mouse/touchscreen events. You'll likely need to modify it for your propose, but it should be a start. You need to install the pcp-squeezelite-dev.tcz extension to compile it and run as root to get permissions to the framebuffer. +-------------------------------------------------------------------+ |Filename: sdltest.tar.gz | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=33219| +-------------------------------------------------------------------+ Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ------------------------------------------------------------------------ ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=113784 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
