ratbag_emu.util module

class ratbag_emu.util.ActionType

Bases: enum.Enum

An enumeration.

BUTTON = 2
XY = 1
class ratbag_emu.util.EventData(x=0, y=0)

Bases: object

static from_action(dpi, action)
Return type

EventData

static from_mm(dpi, x=0, y=0)
Return type

EventData

ratbag_emu.util.mm2inch(mm)
Return type

float

ratbag_emu.util.ms2s(ms)
Return type

float