RivalDevice

Undocumented in source.

Constructors

this
this()

Opens the first matching device

this
this(string serial_number)

Opens the first matching device

this
this(uint vendor_id, uint product_id)

Opens the first matching device

this
this(uint vendor_id, uint product_id, string serial_number)

Opens the first matching device

this
this(Device dev)

Opens a specific device

Destructor

~this
~this()

Destructor

Members

Functions

readDpi
Tuple!(ushort, ushort) readDpi()

Reads DPI values

readDpi
ushort readDpi(ubyte id)

Reads DPI value

readFirmware
Tuple!(ubyte, ubyte) readFirmware()

Reads firmware version

resetLed
void resetLed()

Reset LEDs

save
void save()

Save settings in the mouse

setDpi
void setDpi(ubyte id, uint value)

Change DPI

setLedCycle
void setLedCycle(ubyte led, Cycle cycle)

Set Led cycle

setLedCycle
void setLedCycle(ubyte led, Point[] points)

Set Led cycle

setLedCycle
void setLedCycle(ubyte led, Point[] points, ushort duration)

Set Led cycle

setRate
void setRate(uint value)

Change report rate

test
void test()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta