[vlc-devel] Re: Key Presses and playback control

Sigmund Augdal sigmunau at stud.ntnu.no
Wed Apr 2 08:56:28 CEST 2003


On Tue, Apr 01, 2003 at 09:04:45PM -0800, Chet Pressler wrote:
> 
> I am working on developing a mozilla plugin change to allow keyboard 
> commands to control the playback instead of mouse-controls since my 
> application will not rely on mouse clicks but rather keyboard clicks. I 
> want to be able to assign the "p" keypress for play "q" keypress for pause 
> and "s" keypress for stop. I know the "f" keypress is already used for 
> fullscreen. Idealy I would like to create a keyboard mapping function to 
> allow whatever keys to be assigned to whatever functions.
> 
> I would like to know how the mozilla directory ties into the other VLC code.
> 
> Could someone point me to the proper module to start looking to implement 
> such a feature?
Actually there are quite a lot of keyboard shortcuts available in the
mozilla plugin on X11. Look at
modules/video_output/x11/xcommon.c:ManageVideo() for a list. This will allso
be the place to do changes.

Sigmund
-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list