joystick
The joystick proxy can be used to get images from a joystick. More...
Detailed Description
The joystick proxy can be used to get images from a joystick.
Classes | |
| struct | playerc_joystick_t |
| joystick proxy data. More... | |
Functions | |
| PLAYERC_EXPORT playerc_joystick_t * | playerc_joystick_create (playerc_client_t *client, int index) |
| Create a joystick proxy. More... | |
| PLAYERC_EXPORT void | playerc_joystick_destroy (playerc_joystick_t *device) |
| Destroy a joystick proxy. More... | |
| PLAYERC_EXPORT int | playerc_joystick_subscribe (playerc_joystick_t *device, int access) |
| Subscribe to the joystick device. More... | |
| PLAYERC_EXPORT int | playerc_joystick_unsubscribe (playerc_joystick_t *device) |
| Un-subscribe from the joystick device. More... | |
Function Documentation
◆ playerc_joystick_create()
| PLAYERC_EXPORT playerc_joystick_t* playerc_joystick_create | ( | playerc_client_t * | client, |
| int | index | ||
| ) |
Create a joystick proxy.
◆ playerc_joystick_destroy()
| PLAYERC_EXPORT void playerc_joystick_destroy | ( | playerc_joystick_t * | device | ) |
Destroy a joystick proxy.
◆ playerc_joystick_subscribe()
| PLAYERC_EXPORT int playerc_joystick_subscribe | ( | playerc_joystick_t * | device, |
| int | access | ||
| ) |
Subscribe to the joystick device.
◆ playerc_joystick_unsubscribe()
| PLAYERC_EXPORT int playerc_joystick_unsubscribe | ( | playerc_joystick_t * | device | ) |
Un-subscribe from the joystick device.

