![]() |
ckb-next
beta-v0.2.8 at branch testing
ckb-next driver for corsair devices
|
Include dependency graph for keymap.c: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) |
| 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+3+12)+25)+11)] |
| #define BUTTON_HID_COUNT 5 |
Definition at line 364 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 394 of file keymap.c.
References N_KEYBYTES_HW.
Referenced by os_inputmain().
Here is the caller graph for this function:| void corsair_mousecopy | ( | unsigned char * | kbinput, |
| int | endpoint, | ||
| const unsigned char * | urbinput | ||
| ) |
Definition at line 403 of file keymap.c.
References BUTTON_HID_COUNT, CLEAR_KEYBIT, MOUSE_BUTTON_FIRST, N_BUTTONS_HW, and SET_KEYBIT.
Referenced by os_inputmain().
Here is the caller graph for this function:| void hid_kb_translate | ( | unsigned char * | kbinput, |
| int | endpoint, | ||
| int | length, | ||
| const unsigned char * | urbinput | ||
| ) |
Definition at line 223 of file keymap.c.
References ckb_warn, CLEAR_KEYBIT, and SET_KEYBIT.
Referenced by os_inputmain().
Here is the caller graph for this function:| void hid_mouse_translate | ( | unsigned char * | kbinput, |
| short * | xaxis, | ||
| short * | yaxis, | ||
| int | endpoint, | ||
| int | length, | ||
| const unsigned char * | urbinput | ||
| ) |
Definition at line 366 of file keymap.c.
References BUTTON_HID_COUNT, CLEAR_KEYBIT, MOUSE_BUTTON_FIRST, MOUSE_EXTRA_FIRST, and SET_KEYBIT.
Referenced by os_inputmain().
Here is the caller graph for this function:| const key keymap[(((152+3+12)+25)+11)] |
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().