Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2014-01-19 13:12:16
Size: 1576
Comment: Created page using content from SDL_haptic.h.
Revision 2 as of 2017-03-25 22:45:17
Size: 1576
Comment: Fixed typos.
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
A structure that contains a template for a Left/Right effect. A structure that contains a template for a left/right effect.
Line 36: Line 36:
The Left/Right effect is used to explicitly control the large and small motors, commonly found in modern game controllers. One motor is high frequency, the other is low frequency. The left/right effect is used to explicitly control the large and small motors, commonly found in modern game controllers. One motor is high frequency, the other is low frequency.

DRAFT

SDL_HapticLeftRight

A structure that contains a template for a left/right effect.

Data Fields

Header

Uint16

type

SDL_HAPTIC_LEFTRIGHT

Replay

Uint32

length

duration of the effect

Rumble

Uint16

large_magnitude

control of the large controller motor

Uint16

small_magnitude

control of the small controller motor

Code Examples

You can add your code example here

Remarks

This struct is exclusively for the SDL_HAPTIC_LEFTRIGHT effect.

The left/right effect is used to explicitly control the large and small motors, commonly found in modern game controllers. One motor is high frequency, the other is low frequency.


CategoryStruct, CategoryForceFeedback

None: SDL_HapticLeftRight (last edited 2017-03-25 22:46:12 by PhilippWiesemann)

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