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 | start_kb_nrgb (usbdevice *kb, int makeactive) |
int | setactive_kb (usbdevice *kb, int active) |
int | cmd_active_kb (usbdevice *kb, usbmode *dummy1, int dummy2, int dummy3, const char *dummy4) |
int | cmd_idle_kb (usbdevice *kb, usbmode *dummy1, int dummy2, int dummy3, const char *dummy4) |
void | setmodeindex_nrgb (usbdevice *kb, int index) |
Definition at line 114 of file device_keyboard.c.
References setactive_kb().
Definition at line 123 of file device_keyboard.c.
References setactive_kb().
int setactive_kb | ( | usbdevice * | kb, |
int | active | ||
) |
Definition at line 20 of file device_keyboard.c.
References ACT_LIGHT, ACT_LOCK, ACT_M1, ACT_M2, ACT_M3, ACT_MR_RING, usbdevice::active, DELAY_MEDIUM, lighting::forceupdate, imutex, IN_CORSAIR, IN_HID, usbdevice::input, inputupdate(), keymap, usbinput::keys, usbprofile::lastlight, MSG_SIZE, N_KEYS_HW, NEEDS_FW_UPDATE, usbdevice::profile, usbsend, and usbdevice::vtable.
Referenced by cmd_active_kb(), and cmd_idle_kb().
void setmodeindex_nrgb | ( | usbdevice * | kb, |
int | index | ||
) |
Definition at line 132 of file device_keyboard.c.
References NK95_M1, NK95_M2, NK95_M3, and nk95cmd.
int start_kb_nrgb | ( | usbdevice * | kb, |
int | makeactive | ||
) |
Definition at line 9 of file device_keyboard.c.
References usbdevice::active, NK95_HWOFF, nk95cmd, and usbdevice::pollrate.