Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-09-09 20:12:30
Size: 784
Editor: SheenaSmith
Comment: create page - 9/9 9d3baea5738a
Revision 2 as of 2011-09-12 21:29:58
Size: 1002
Editor: SheenaSmith
Comment: update content for consistency - not limited to system cursor
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to get the number of mouse input devices available. Use this function to get the number of ,,mouse,, input devices available.

<<Color2(green,This API is not limited to mice. Should it say "pointing" or similar instead to specify the type of input device (ie: not a keyboard) without being overly specific?)>>
Line 27: Line 29:
<<Color2(green,Does it only look for mice or other input devices as well?)>> <<Color2(green,Would it be helpful to mention the types of input devices it would or would not count?)>>

DRAFT

SDL_GetNumInputDevices

Use this function to get the number of mouse input devices available.

green

Syntax

int SDL_GetNumInputDevices(void)

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information. ??? green

Code Examples

You can add your code example here

Remarks

You can add useful comments here

green


CategoryAPI, CategoryInput

None: SDL_GetNumInputDevices (last edited 2013-09-01 19:00:06 by PhilippWiesemann)

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