ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
#include "command.h"
#include "device.h"
#include "devnode.h"
#include "firmware.h"
#include "input.h"
#include "profile.h"
#include "usb.h"
Go to the source code of this file.
Functions | |
int | setactive_mouse (usbdevice *kb, int active) |
int | cmd_active_mouse (usbdevice *kb, usbmode *dummy1, int dummy2, int dummy3, const char *dummy4) |
int | cmd_idle_mouse (usbdevice *kb, usbmode *dummy1, int dummy2, int dummy3, const char *dummy4) |
int | cmd_pollrate (usbdevice *kb, usbmode *dummy1, int dummy2, int rate, const char *dummy3) |
int cmd_active_mouse | ( | usbdevice * | kb, |
usbmode * | dummy1, | ||
int | dummy2, | ||
int | dummy3, | ||
const char * | dummy4 | ||
) |
Definition at line 44 of file device_mouse.c.
References setactive_mouse().
int cmd_idle_mouse | ( | usbdevice * | kb, |
usbmode * | dummy1, | ||
int | dummy2, | ||
int | dummy3, | ||
const char * | dummy4 | ||
) |
Definition at line 53 of file device_mouse.c.
References setactive_mouse().
Definition at line 62 of file device_mouse.c.
References MSG_SIZE, usbdevice::pollrate, and usbsend.
int setactive_mouse | ( | usbdevice * | kb, |
int | active | ||
) |
Definition at line 9 of file device_mouse.c.
References usbdevice::active, lighting::forceupdate, imutex, IN_CORSAIR, IN_HID, usbdevice::input, inputupdate(), usbinput::keys, usbprofile::lastlight, MSG_SIZE, NEEDS_FW_UPDATE, usbdevice::profile, and usbsend.
Referenced by cmd_active_mouse(), and cmd_idle_mouse().