Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2020-01-13 09:10:07
Size: 539
Editor: markand
Comment: Create SDL_SensorGetDeviceNonPortableType
Revision 2 as of 2020-01-13 13:49:19
Size: 539
Editor: markand
Comment: Add CategorySensor
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
[[CategoryAPI]], [[CategoryEvents]] [[CategoryAPI]], [[CategorySensor]]

SDL_SensorGetDeviceNonPortableType

Get the platform dependent type of a sensor.

This can be called before any sensors are opened.

Syntax

int SDL_SensorGetDeviceNonPortableType(int device_index);

Function Parameters

device_index

The sensor to check

Return Value

The sensor platform dependent type, or -1 if device_index is out of range.


CategoryAPI, CategorySensor

None: SDL_SensorGetDeviceNonPortableType (last edited 2020-01-13 13:49:19 by markand)

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