While watching movies on my computer, one thing I hate (even more when I'm lying down) is having to move the mouse around to pause, raise/lower the volume, or even rewind just a bit. So I made a script which transforms the mouse into a simple remote! Currently, it only supports VLC, MPC and Winamp, but it is very easy to add support for other players.
Here's more info from the script header:
Code:
/* TheGood
MouseMote
ONLY ENABLED WHILE IN FULLSCREEN
Raise/Lower volume Mouse wheel Up/Down
Seek forward/backward Hold RButton + Mouse wheel Up/Down
Play/Pause LButton click
Stop Middle click
To turn off hotkeys while in fullscreen, simply place the mouse in the upper-left corner of the
monitor. This is useful especially to access the context-menu (right-click menu) and to leave
fullscreen mode (most players require a double click). Also, clicking off the screen (in a multi-
monitor setup) will disable the hotkeys.
MouseMote automatically exits when no players are running. For this reason, it must be started
after the player is opened.
To add support for your own player:
1. Add the class name to the window group (both when fullscreen and not)
2. Make a wrapper for your player (look at the other wrappers for template)
3. Add an Else If in DoActions() to call your wrapper
*/
Download