Roller on middle mouse

Hi,

This question has probably been asked before because I read the same questions in the SDL Doc Project (but with no answers).

How do I use the roller on the middle mouse button?

Peter

Peter A Venis wrote:

How do I use the roller on the middle mouse button?

Do you mean mouse wheel?

When you move the mouse wheel you get a mouse-button-down event with
mouse-button being SDL_BUTTON_WHEELUP and SDL_BUTTON_WHEELDOWN

RK.

My compiler says:

‘SDL_BUTTON_WHEELUP’ : undeclared identifier.

I do have the SDL library properly installed. All other buttons of the mouse
work properly. Are you sure you haven’t mispelled the name?

Also, I couldn’t find anything in the online documentation about
SDL_BUTTON_WHEELUP.

Peter> ----- Original Message -----

From: romik12345@lycos.co.uk (Romi Kuntsman)
To:
Sent: Sunday, September 08, 2002 10:08 PM
Subject: Re: [SDL] roller on middle mouse

Peter A Venis wrote:

How do I use the roller on the middle mouse button?

Do you mean mouse wheel?

When you move the mouse wheel you get a mouse-button-down event with
mouse-button being SDL_BUTTON_WHEELUP and SDL_BUTTON_WHEELDOWN

RK.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Get the latest CVS of SDL or wait for 1.2.5 to be released.

http://www.libsdl.org/cvs.php> On Sunday 08 September 2002 16:37, Peter wrote:

My compiler says:

‘SDL_BUTTON_WHEELUP’ : undeclared identifier.

I do have the SDL library properly installed. All other buttons of the
mouse work properly. Are you sure you haven’t mispelled the name?

Also, I couldn’t find anything in the online documentation about
SDL_BUTTON_WHEELUP.

Download latest headers from CVS.
This was added very recently.

RK.

Peter Venis wrote:>My compiler says:

‘SDL_BUTTON_WHEELUP’ : undeclared identifier.

I do have the SDL library properly installed. All other buttons of the mouse
work properly. Are you sure you haven’t mispelled the name?

Also, I couldn’t find anything in the online documentation about
SDL_BUTTON_WHEELUP.

Peter