ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
Go to the source code of this file.
Macros | |
#define | BUTTON_HID_COUNT 5 |
Functions | |
void | hid_kb_translate (unsigned char *kbinput, int endpoint, int length, const unsigned char *urbinput) |
void | hid_mouse_translate (unsigned char *kbinput, short *xaxis, short *yaxis, int endpoint, int length, const unsigned char *urbinput, ushort fwversion) |
void | corsair_kbcopy (unsigned char *kbinput, int endpoint, const unsigned char *urbinput) |
void | corsair_mousecopy (unsigned char *kbinput, int endpoint, const unsigned char *urbinput) |
Variables | |
const key | keymap [(((152+22+12)+25)+12)] |
#define BUTTON_HID_COUNT 5 |
Definition at line 389 of file keymap.c.
Referenced by corsair_mousecopy(), and hid_mouse_translate().
void corsair_kbcopy | ( | unsigned char * | kbinput, |
int | endpoint, | ||
const unsigned char * | urbinput | ||
) |
Definition at line 420 of file keymap.c.
References N_KEYBYTES_HW.
Referenced by os_inputmain().
void corsair_mousecopy | ( | unsigned char * | kbinput, |
int | endpoint, | ||
const unsigned char * | urbinput | ||
) |
Definition at line 429 of file keymap.c.
References BUTTON_HID_COUNT, CLEAR_KEYBIT, MOUSE_BUTTON_FIRST, N_BUTTONS_HW, and SET_KEYBIT.
Referenced by os_inputmain().
void hid_kb_translate | ( | unsigned char * | kbinput, |
int | endpoint, | ||
int | length, | ||
const unsigned char * | urbinput | ||
) |
Definition at line 246 of file keymap.c.
References ckb_warn, CLEAR_KEYBIT, and SET_KEYBIT.
Referenced by os_inputmain().
void hid_mouse_translate | ( | unsigned char * | kbinput, |
short * | xaxis, | ||
short * | yaxis, | ||
int | endpoint, | ||
int | length, | ||
const unsigned char * | urbinput, | ||
ushort | fwversion | ||
) |
Definition at line 391 of file keymap.c.
References BUTTON_HID_COUNT, CLEAR_KEYBIT, MOUSE_BUTTON_FIRST, MOUSE_EXTRA_FIRST, and SET_KEYBIT.
Referenced by os_inputmain().
const key keymap[(((152+22+12)+25)+12)] |
Definition at line 5 of file keymap.c.
Referenced by _cmd_get(), _cmd_macro(), cmd_bind(), cmd_rebind(), cmd_rgb(), initbind(), inputupdate_keys(), nprintkey(), printrgb(), readcmd(), and setactive_kb().