Hi Eric,
Unfortunately, hornsey not support gnome-settings-daemon media keys.
Media player need support org.gnome.SettingsDaemon.MediaKeys.
GrabMediaPlayerKeys
register media player, g-s-d will send signal to it
ReleaseMediaPlayerKeys
MediaPlayerKeyPressed
the key pressed signal that is must listen by player
Banshee already support this API but hornsey not yet.
And about keycode:
Gnome-settings-daemon default listen the following X-event:
XF86AudioMedia
XF86AudioNext
XF86AudioPause
XF86AudioPlay
XF86AudioPrev
You must make sure your function key is binding to above X-event.
You can monitor those keys by xev.
Joey Lee
於 六,2009-10-31 於 10:33 +0800,Eric 提到:
> [email protected]>
Hi,
Is hornsey capable of supporting media keys (like previous key,next
key,pause key,stop key and play key)?Gnome-setting-daemon can deal with
those keys?And how can I get scancodes of these keys`?
thank you.
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists