![]() |
ckb-next
beta-v0.2.8 at branch testing
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"
Include dependency graph for device_keyboard.c: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 112 of file device_keyboard.c.
References setactive_kb().
Here is the call graph for this function:Definition at line 116 of file device_keyboard.c.
References setactive_kb().
Here is the call graph for this function:| int setactive_kb | ( | usbdevice * | kb, |
| int | active | ||
| ) |
Definition at line 18 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().
Here is the call graph for this function:
Here is the caller graph for this function:| void setmodeindex_nrgb | ( | usbdevice * | kb, |
| int | index | ||
| ) |
Definition at line 120 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.