Mouse wheel events

Im checking sdl 1.2.5 docs and I cant find nothing about mouse wheel
events. Is it supported?–
Roger D. Vargas
ICQ: 117641572
Linux User: 180787

  • Much to learn you still have *
    Master Yoda, AOTC


Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que est? limpio.

Yes it is…

event.button.button == 4 is mousewheelUP
and
event.button.button == 5 is mousewheelDOWN

Have fun

Best Regards
Daniel Liljeberg>From: “Roger D. Vargas”

Reply-To: sdl at libsdl.org
To: SDL at libsdl.org
Subject: [SDL] mouse wheel events
Date: Wed, 20 Aug 2003 09:53:45 -0400 (CDT)

Im checking sdl 1.2.5 docs and I cant find nothing about mouse wheel
events. Is it supported?


Roger D. Vargas
ICQ: 117641572
Linux User: 180787

  • Much to learn you still have *
    Master Yoda, AOTC


Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que est? limpio.


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


The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail

Mouse wheel events exist in SDL 1.2 but not in 1.3. Is this because
1.3 branch was created before mouse wheel events added, or it was
intended removal?–
Roman Kyrylych (??? ???)

2006/10/1, Roman Kyrylych <@Roman_Kyrylych>:

Mouse wheel events exist in SDL 1.2 but not in 1.3. Is this because
1.3 branch was created before mouse wheel events added, or it was
intended removal?

Sorry, I was just confused by mising
#define SDL_BUTTON_WHEELUP 4
#define SDL_BUTTON_WHEELDOWN 5
in SDL_mouse.h in SDL 1.3
but haven’t noticed new
SDL_MOUSEWHEEL, /**< Mouse wheel motion */
in SDL_events.h–
Roman Kyrylych (??? ???)