ratbag_emu.actuators.sensor module

class ratbag_emu.actuators.sensor.SensorActuator(dpi)

Bases: ratbag_emu.actuator.Actuator

Represents the sensor/dpi actuator

Transform x and y values based on the DPI value.

transform(action)

Transforms action

Return type

Dict[str, Any]