ckb-next  v0.2.8 at branch master
ckb-next driver for corsair devices
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
device_vtable.c File Reference
#include "command.h"
#include "device.h"
#include "dpi.h"
#include "firmware.h"
#include "input.h"
#include "led.h"
#include "notify.h"
#include "profile.h"
+ Include dependency graph for device_vtable.c:

Go to the source code of this file.

Functions

static void cmd_none (usbdevice *kb, usbmode *dummy1, int dummy2, int dummy3, const char *dummy4)
 
static int cmd_io_none (usbdevice *kb, usbmode *dummy1, int dummy2, int dummy3, const char *dummy4)
 
static void cmd_macro_none (usbdevice *kb, usbmode *dummy1, int dummy2, const char *dummy3, const char *dummy4)
 
static int loadprofile_none (usbdevice *kb)
 
static void int1_void_none (usbdevice *kb, int dummy)
 
static int int1_int_none (usbdevice *kb, int dummy)
 

Variables

const devcmd vtable_keyboard
 RGB keyboard vtable holds functions for each device type. More...
 
const devcmd vtable_keyboard_nonrgb
 
const devcmd vtable_mouse
 

Function Documentation

static int cmd_io_none ( usbdevice kb,
usbmode dummy1,
int  dummy2,
int  dummy3,
const char *  dummy4 
)
static

Definition at line 18 of file device_vtable.c.

18  {
19  (void)kb;
20  (void)dummy1;
21  (void)dummy2;
22  (void)dummy3;
23  (void)dummy4;
24 
25  return 0;
26 }
static void cmd_macro_none ( usbdevice kb,
usbmode dummy1,
int  dummy2,
const char *  dummy3,
const char *  dummy4 
)
static

Definition at line 27 of file device_vtable.c.

27  {
28  (void)kb;
29  (void)dummy1;
30  (void)dummy2;
31  (void)dummy3;
32  (void)dummy4;
33 }
static void cmd_none ( usbdevice kb,
usbmode dummy1,
int  dummy2,
int  dummy3,
const char *  dummy4 
)
static

Definition at line 11 of file device_vtable.c.

11  {
12  (void)kb;
13  (void)dummy1;
14  (void)dummy2;
15  (void)dummy3;
16  (void)dummy4;
17 }
static int int1_int_none ( usbdevice kb,
int  dummy 
)
static

Definition at line 43 of file device_vtable.c.

43  {
44  (void)kb;
45  (void)dummy;
46 
47  return 0;
48 }
static void int1_void_none ( usbdevice kb,
int  dummy 
)
static

Definition at line 39 of file device_vtable.c.

39  {
40  (void)kb;
41  (void)dummy;
42 }
static int loadprofile_none ( usbdevice kb)
static

Definition at line 34 of file device_vtable.c.

34  {
35  (void)kb;
36 
37  return 0;
38 }

Variable Documentation

const devcmd vtable_keyboard

Definition at line 52 of file device_vtable.c.

Referenced by get_vtable().

const devcmd vtable_keyboard_nonrgb

Definition at line 99 of file device_vtable.c.

Referenced by get_vtable().

const devcmd vtable_mouse

Definition at line 146 of file device_vtable.c.

Referenced by get_vtable().