[MPlayer-dev-eng] [PATCH] double click support on Mac OSX

Ulion ulion2002 at gmail.com
Sat Aug 18 10:09:17 CEST 2007


2007/8/18, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> Hello,
> On Sat, Aug 18, 2007 at 11:56:05AM +0800, Ulion wrote:
> > I found vo driver on mac osx does not send all necessary mouse events,
> > that caused lack of support for double click events, here's the patch.
> >
> > 1. send mouse down events correctly so mplayer can detect double click
> > correctly.
> > 2. send mouse up events, to release corresponding mouse down events.
> > 3. detect up to 10 buttons up and down events.
>
> Ideally separate things should be done in separate patches (esp. the
> purely cosmetic renaming of the MouseEvent function into
> MouseDownEvent - couldn't you just add a parameter that decides between
> up and down?).
> But more importantly, you should use
> MOUSE_BTN0 + ...
> instead of
> MOUSE_BASE + ...

certainly, updated, please check.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: macosx_mouse_events2.patch
Type: application/octet-stream
Size: 2061 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070818/681a9bcf/attachment.obj>


More information about the MPlayer-dev-eng mailing list