Mouse?

Okay, super quick question. Where’s access functions to the mouse? I’ve looked
everywhere for it and can’t find it. I need to display mouse pointer, get
mouse.x, mouse.y coordinates, and events when mouse buttons are pressed.

Many thanks
If poss, email me directly.

Ok super quick question. Where’s access functions to the mouse in SDL?

If possible, could you email me directly aswell.
Many thanks
Kevin
Beginner

Okay, super quick question. Where’s access functions to the mouse?
I’ve looked everywhere for it and can’t find it. I need to display
mouse pointer,

By default, it is displayed. :^) You can show/hide it, though,
and change its shape.

get mouse.x, mouse.y coordinates, and events when mouse buttons are pressed.

Just check for mouse motion events.

My simple game “Bug Squish” might be a good start. It’s quite simple
(I wrote the bulk of it in two evenings :^) )

http://www.newbreedsoftware.com/bugsquish/

-bill!On Sun, Dec 22, 2002 at 08:49:46PM +0000, K Cheng wrote:

on the sdl website, go to the link “Doc Project”

http://sdldoc.csn.ul.ie/

look under the section “Events”…
there are things like getmousestate() and then a slew of events that are
passed…_________________________________________________________________
MSN 8: advanced junk mail protection and 3 months FREE*.
http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU=
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_advancedjmf_3mf