Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2011-11-04 22:21:25
Size: 1199
Editor: SheenaSmith
Comment: add admonition about removal from wiki; break CategoryAPI link to remove from list
Revision 4 as of 2013-09-01 19:00:06
Size: 1232
Comment: Updated usage of Color2 macro.
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
<<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?)>> <<Color2(col=green,text="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 23: Line 23:
<<Color2(green,Source?)>> <<Color2(col=green,text="Source?")>>
Line 33: Line 33:
<<Color2(green,Would it be helpful to mention the types of input devices it would or would not count?)>> <<Color2(col=green,text="Would it be helpful to mention the types of input devices it would or would not count?")>>

DRAFT

The SDL_input.h header is incomplete and has been temporarily removed from the wiki. Please disregard this and related pages until this notice has been removed.

SDL_GetNumInputDevices

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

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?"

Syntax

int SDL_GetNumInputDevices(void)

Return Value

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

Code Examples

You can add your code example here

Remarks

You can add useful comments here

Would it be helpful to mention the types of input devices it would or would not count?


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