ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
Go to the source code of this file.
Functions | |
static int | rgbcmp (const lighting *lhs, const lighting *rhs) |
static int | isblack (const usbdevice *kb, const lighting *light) |
int | updatergb_mouse (usbdevice *kb, int force) |
int | savergb_mouse (usbdevice *kb, lighting *light, int mode) |
int | loadrgb_mouse (usbdevice *kb, lighting *light, int mode) |
Definition at line 13 of file led_mouse.c.
References lighting::b, lighting::g, IS_M65, LED_MOUSE, N_MOUSE_ZONES, and lighting::r.
Referenced by updatergb_mouse().
Definition at line 87 of file led_mouse.c.
References lighting::b, ckb_err, lighting::g, IS_SABRE, IS_SCIMITAR, LED_DPI, LED_MOUSE, MSG_SIZE, lighting::r, and usbrecv.
Referenced by cmd_hwload_mouse().
Definition at line 7 of file led_mouse.c.
References lighting::b, lighting::g, LED_MOUSE, N_MOUSE_ZONES, and lighting::r.
Referenced by updatergb_mouse().
Definition at line 66 of file led_mouse.c.
References lighting::b, lighting::g, IS_SABRE, IS_SCIMITAR, LED_DPI, LED_MOUSE, MSG_SIZE, lighting::r, and usbsend.
Referenced by cmd_hwsave_mouse().
int updatergb_mouse | ( | usbdevice * | kb, |
int | force | ||
) |
Definition at line 20 of file led_mouse.c.
References usbdevice::active, lighting::b, usbprofile::currentmode, lighting::forceupdate, lighting::g, IS_GLAIVE, isblack(), usbprofile::lastlight, LED_MOUSE, usbmode::light, MSG_SIZE, N_MOUSE_ZONES, usbdevice::profile, lighting::r, rgbcmp(), and usbsend.