libretro.drivers.rumble.driver

Protocol definition for controller rumble feedback drivers.

See also

libretro.api.rumble

The matching ctypes types and callback definitions.

Classes

RumbleDriver

Protocol for drivers that drive controller rumble motors.

class RumbleDriver[source]

Bases: Protocol

Protocol for drivers that drive controller rumble motors.

See also

libretro.api.rumble

The matching ctypes types and callback definitions.

abstractmethod set_rumble_state(port, effect, strength)[source]

Set the rumble state of a controller port.

Return type:

bool

__init__(*args, **kwargs)
classmethod __new__(*args, **kwargs)