The SDL-1.2.15 source in the squeezeplay repository has many changes to
the keyboard handlng for extended scan codes and key modifiers,
including for the multimedia keys, that a stock os sdl library won't
have.

See the 'patch file from jivelite'
(https://github.com/ralph-irving/jivelite/blob/master/patches/SDL-1.2.15.patch).

Note that these changes are for the fbcon (framebuffer) driver
SDL-1.2.15/src/video/fbcon/SDL_fbevents.c so if, for example, you're
using X windows then the windows multimedia key support and mapping is
handled by X instead.

If you look at SDL-1.2.15/include/SDL_keysym.h the scancodes are not
defined as they are in the upper case letter ascii range. so sdltest is
correct, SDL has no defined symbol for it.

ui-cmd: Rewind (0x48) 72
ui-cmd: Play (0x44) 68
ui-cmd: Fast forward (0x49) 73
ui-cmd: Pause (0x46) 70
ui-cmd: Stop (0x45) 69

The scancodes for the multimedia keys are much higher just above 320 if
you look towards the end of SDL_keysym.h.



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&currency_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

Reply via email to