Wiki Page Content

Differences between revisions 15 and 16
Revision 15 as of 2013-10-12 19:18:14
Size: 1874
Comment: Updated usage of Color2 macro.
Revision 16 as of 2013-10-12 19:22:45
Size: 1882
Comment: Hid input.h texts.
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
<<Color2(col=green,text=Alternate Include File: [[http://hg.libsdl.org/SDL/file/default/include/SDL_input.h|SDL_input.h]])>> ##<<Color2(col=green,text=Alternate Include File: [[http://hg.libsdl.org/SDL/file/default/include/SDL_input.h|SDL_input.h]])>>
Line 20: Line 20:
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. ##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.
Line 22: Line 22:
The other API is in [[http://hg.libsdl.org/SDL/file/100f7ab48946/include/SDL_input.h|SDL_input.h]]. See [[CategoryInput|Input Device Support]] for more. ##The other API is in [[http://hg.libsdl.org/SDL/file/100f7ab48946/include/SDL_input.h|SDL_input.h]]. See [[CategoryInput|Input Device Support]] for more.
Line 24: Line 24:
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. ##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.

Mouse Support

Include File(s): SDL_mouse.h

Introduction

This category contains functions for handling inputs from mice and other similar pointing devices, as well as some cursor management tasks.

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.

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