Closed GoogleCodeExporter closed 8 years ago
The multimedia keys are currently handled by dbus events from the gnome setting
daemon. As the media keys are not normally passed to applications unless they
have
been defined to X.
I will add the codes in if you can tell me what codes your keyboard is sending
to the
application.
Original comment by kdeko...@gmail.com
on 29 Nov 2009 at 9:41
Try to copy the given code from SMPlayer, or Audacious (it corresponding, a
plug-in
(how much I remember it))
Having added processing multimedia keys through X events, it is necessary to
save and
processing of multimedia keys through dbus events (as in Audacious). It is
necessary
because at the included processing of multimedia keys through dbus events, X -
keys
will be locked: GNOME are currently handled by dbus events (but in others DE,
processing of multimedia keys through X events is necessary)...
>I will add the codes in if you can tell me what codes your keyboard is sending
to the
application.
I am bad in I understand this question, but, I will try to talk to other people
that
it understand....
Original comment by unihorn1...@gmail.com
on 30 Nov 2009 at 4:17
>I am bad in I understand this question, but, I will try to talk to other
people that
it understand....
I spoke with kda from
http://forum.altlinux.org/index.php?topic=4620.new;topicseen#new
The player should react on keysum keys registered as multimedia in Xmodmap. For
example:
cat /usr/share/X11/XKeysymDB | grep XF86Audio
XF86AudioLowerVolume :1008FF11
XF86AudioMute :1008FF12
XF86AudioRaiseVolume :1008FF13
XF86AudioPlay :1008FF14
XF86AudioStop :1008FF15
XF86AudioPrev :1008FF16
XF86AudioNext :1008FF17
XF86AudioRecord :1008FF1C
XF86AudioPause :1008FF31
XF86AudioMedia :1008FF32
XF86AudioRewind :1008FF3E
XF86AudioForward :1008FF97
XF86AudioRepeat :1008FF98
XF86AudioRandomPlay :1008FF99
XF86AudioCycleTrack :1008FF9B
It?
Concrete implementation can be looked in code SMplayer, Audacious, or any other
player with multimedia keys through X.
Best Regards.
Original comment by unihorn1...@gmail.com
on 1 Dec 2009 at 10:52
What keycode to assign (on above enumerated), business of the one who will
assign it.
Best Regards.
Original comment by unihorn1...@gmail.com
on 1 Dec 2009 at 11:45
I believe these keys can be managed via xmodmap
http://en.gentoo-wiki.com/wiki/Multimedia_Keys#Command_Line_Functions_to_Control
_Common_Applications
gnome-mplayer has a complete dbus interface that is documented here:
http://code.google.com/p/gnome-mplayer/source/browse/trunk/DOCS/tech/dbus.txt
I did some more testing with this on my machine and never saw these keys
trigger any
event in my application via the keyboard interface.
Original comment by kdeko...@gmail.com
on 16 Dec 2009 at 9:45
Original comment by kdeko...@gmail.com
on 21 Oct 2010 at 2:34
Original issue reported on code.google.com by
unihorn1...@gmail.com
on 29 Nov 2009 at 1:31