[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: patch for ocamlsdl bug: mouse button event mismatch



On Mon, Jun 18, 2012 at 10:12 PM, Florent Monnier
<monnier.florent@gmail.com> wrote:
> Hi,
>
> In current ocamlsdl, if the user does a mouse left clic, ocamlsdl sends a
> right clic event. (right clic will send middle clic, etc...)
>
> This is because ocamlsdl's stub doesn't uses the macros SDL_BUTTON_LEFT, but
> uses an integer value instead (probably a value from an older SDL version).

right, actually this seems to be my fault, I apparently mucked it up
when I tried to extend the mouse button type.

thanks,
-- 
  Olivier


Reply to: