SDL Wiki

Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

SDL_HapticLeftRight

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

Data Fields

<bgcolor="#EDEDED">Header

Uint16

type

SDL_HAPTIC_LEFTRIGHT

<bgcolor="#EDEDED">Replay

Uint32

length

duration of the effect

<bgcolor="#EDEDED">Rumble

Uint16

large_magnitude

control of the large controller motor

Uint16

small_magnitude

control of the small controller motor

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.

SDL_HapticEffect
SDL_HapticNewEffect

CategoryStruct, CategoryForceFeedback, CategoryDraft


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.