|
Size: 998
Comment: update content - pointers, structs
|
Size: 1009
Comment: Updated usage of Color2 macro.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 20: | Line 20: |
| <<Color2(green,Is it possible to use more than one index at a time for '''button'''?)>> | <<Color2(col=green,text="Is it possible to use more than one index at a time for '''button'''?")>> |
DRAFT |
SDL_JoystickGetButton
Use this function to get the current state of a button on a joystick.
Contents
Syntax
Uint8 SDL_JoystickGetButton(SDL_Joystick* joystick,
int button)
Function Parameters
joystick |
an SDL_Joystick structure containing joystick information ??? |
button |
the button indices index; starts at index 0 |
Is it possible to use more than one index at a time for button?
Return Value
*
Returns 1 if the specified button is pressed, 0 otherwise.
*
Code Examples
You can add your code example here
Remarks
You can add useful comments here
