|
⇤ ← Revision 1 as of 2010-03-23 18:02:11
Size: 749
Comment: create page, add content (Rev 5540)
|
Size: 808
Comment: update content - changeset 4624
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 11: | Line 11: |
| ||Uint8||'''type'''||SDL_JOYBALLMOTION|| | ||Uint32||'''type'''||SDL_JOYBALLMOTION|| |
| Line 14: | Line 14: |
| ||int||'''xrel'''||the relative motion in the x direction|| ||int||'''yrel'''||the relative motion in the y direction|| |
||Uint8||'''padding1'''|||| ||Uint8||'''padding2'''|||| ||int||'''xrel'''||the relative motion in the X direction|| ||int||'''yrel'''||the relative motion in the Y direction|| |
DRAFT |
SDL_JoyBallEvent
A structure that contains joystick trackball motion event structure information (event.jball.*).
Data Fields
Uint32 |
type |
SDL_JOYBALLMOTION |
Uint8 |
which |
the joystick device index |
Uint8 |
ball |
the joystick trackball index |
Uint8 |
padding1 |
|
Uint8 |
padding2 |
|
int |
xrel |
the relative motion in the X direction |
int |
yrel |
the relative motion in the Y direction |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
