This is new wiki software and old wiki content. It's a work in progress!
Here's the explanation.
Be gentle, report bugs, leave feedback on pages, or just edit them yourself! Thanks!

SDL Wiki

Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

```#!wiki warning 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? Would it be helpful to mention the types of input devices it would or would not count?

SDL_OtherFunction

CategoryAPI, CategoryInput, CategoryDraft


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.