Wiki Page Content

Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2010-03-10 21:56:07
Size: 199
Editor: SheenaSmith
Comment: create page, add content
Revision 5 as of 2010-08-10 01:16:48
Size: 1371
Editor: SheenaSmith
Comment: update content - changeset 4633
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 6: Line 7:
== Mouse Support (SDL_mouse.h) == = Mouse Support =
Line 8: Line 9:
<<FullSearchCached(category:CategoryMouse)>> '''Include File(s):''' [[http://hg.libsdl.org/SDL/file/68dfd6df47da/include/SDL_mouse.h|SDL_mouse.h]]

<<Color2(green,Alternate Include File: [[http://hg.libsdl.org/SDL/file/100f7ab48946/include/SDL_input.h|SDL_input.h]])>>

<<TableOfContents()>>

== Introduction ==

Please note that this ONLY discusses "mice" with the notion of the desktop GUI. You (usually) have one system cursor, and the OS hides the hardware details from you. If you plug in 10 mice, all ten move that one cursor. For many applications and games this is perfect, and this API has served hundreds of SDL programs well since its birth.

It's not the whole picture, though. If you want more lowlevel control, SDL offers a different API that gives you visibility into each input device, multi-touch interfaces, etc.

Those two APIs are incompatible, and you usually should not use both at the same time. But for legacy purposes, this API refers to a "mouse" when it actually means the system pointer and not a physical mouse.

The other API is in [[http://hg.libsdl.org/SDL/file/100f7ab48946/include/SDL_input.h|SDL_input.h]]


== Functions ==

<<FullSearch(category:CategoryMouse)>>

DRAFT

Mouse Support

Include File(s): SDL_mouse.h

green

Introduction

Please note that this ONLY discusses "mice" with the notion of the desktop GUI. You (usually) have one system cursor, and the OS hides the hardware details from you. If you plug in 10 mice, all ten move that one cursor. For many applications and games this is perfect, and this API has served hundreds of SDL programs well since its birth.

It's not the whole picture, though. If you want more lowlevel control, SDL offers a different API that gives you visibility into each input device, multi-touch interfaces, etc.

Those two APIs are incompatible, and you usually should not use both at the same time. But for legacy purposes, this API refers to a "mouse" when it actually means the system pointer and not a physical mouse.

The other API is in SDL_input.h

Functions


CategoryCategory

None: CategoryMouse (last edited 2013-10-12 19:22:45 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit