core.components.rumble.libshake module

class core.components.rumble.libshake.LibShakeRumble(library='libshake.so')[source]

Bases: core.components.rumble.tools.Rumble

device_count()[source]
device_info(device)[source]
quit()[source]
rumble(target=0, period=25, magnitude=24576, length=2, delay=0, attack_length=256, attack_level=0, fade_length=256, fade_level=0, direction=16384)[source]
class core.components.rumble.libshake.Shake_Effect[source]

Bases: _ctypes.Structure

delay

Structure/Union member

direction

Structure/Union member

id

Structure/Union member

length

Structure/Union member

periodic

Structure/Union member

rumble

Structure/Union member

type

Structure/Union member

u

Structure/Union member

class core.components.rumble.libshake.Shake_EffectPeriodic[source]

Bases: _ctypes.Structure

envelope

Structure/Union member

magnitude

Structure/Union member

offset

Structure/Union member

period

Structure/Union member

phase

Structure/Union member

waveform

Structure/Union member

class core.components.rumble.libshake.Shake_EffectRumble[source]

Bases: _ctypes.Structure

strongMagnitude

Structure/Union member

weakMagnitude

Structure/Union member

class core.components.rumble.libshake.Shake_Envelope[source]

Bases: _ctypes.Structure

attackLength

Structure/Union member

attackLevel

Structure/Union member

fadeLength

Structure/Union member

fadeLevel

Structure/Union member

class core.components.rumble.libshake.Shake_Union[source]

Bases: _ctypes.Union

periodic

Structure/Union member

rumble

Structure/Union member