![]() |
ckb-next
beta-v0.2.8 at branch testing
ckb-next driver for corsair devices
|
Include dependency graph for input_linux.c:Go to the source code of this file.
Functions | |
| int | uinputopen (struct uinput_user_dev *indev, int mouse) |
| int | os_inputopen (usbdevice *kb) |
| os_inputopen More... | |
| void | os_inputclose (usbdevice *kb) |
| static void | isync (usbdevice *kb) |
| void | os_keypress (usbdevice *kb, int scancode, int down) |
| void | os_mousemove (usbdevice *kb, int x, int y) |
| void * | _ledthread (void *ctx) |
| int | os_setupindicators (usbdevice *kb) |
| void* _ledthread | ( | void * | ctx | ) |
Definition at line 165 of file input_linux.c.
References dmutex, usbdevice::hw_ileds, usbdevice::uinput_kb, and usbdevice::vtable.
Referenced by os_setupindicators().
Here is the caller graph for this function:
|
static |
Definition at line 107 of file input_linux.c.
References ckb_warn, usbdevice::uinput_kb, and usbdevice::uinput_mouse.
Referenced by os_keypress(), and os_mousemove().
Here is the caller graph for this function:| void os_inputclose | ( | usbdevice * | kb | ) |
Definition at line 76 of file input_linux.c.
References ckb_warn, usbdevice::uinput_kb, and usbdevice::uinput_mouse.
Referenced by closeusb().
Here is the caller graph for this function:| int os_inputopen | ( | usbdevice * | kb | ) |
| kb |
Some tips on using uinput_user_dev in
Definition at line 55 of file input_linux.c.
References usbdevice::fwversion, INDEX_OF, keyboard, usbdevice::name, usbdevice::product, usbdevice::uinput_kb, usbdevice::uinput_mouse, uinputopen(), and usbdevice::vendor.
Referenced by _setupusb().
Here is the call graph for this function:
Here is the caller graph for this function:| void os_keypress | ( | usbdevice * | kb, |
| int | scancode, | ||
| int | down | ||
| ) |
Definition at line 118 of file input_linux.c.
References BTN_WHEELDOWN, BTN_WHEELUP, ckb_warn, isync(), SCAN_MOUSE, usbdevice::uinput_kb, and usbdevice::uinput_mouse.
Referenced by inputupdate_keys(), and play_macro().
Here is the call graph for this function:
Here is the caller graph for this function:| void os_mousemove | ( | usbdevice * | kb, |
| int | x, | ||
| int | y | ||
| ) |
Definition at line 143 of file input_linux.c.
References ckb_warn, isync(), usbdevice::uinput_mouse, x, and y.
Referenced by inputupdate(), and play_macro().
Here is the call graph for this function:
Here is the caller graph for this function:| int os_setupindicators | ( | usbdevice * | kb | ) |
Definition at line 189 of file input_linux.c.
References _ledthread(), usbdevice::hw_ileds, usbdevice::hw_ileds_old, and usbdevice::ileds.
Referenced by _setupusb().
Here is the call graph for this function:
Here is the caller graph for this function:| int uinputopen | ( | struct uinput_user_dev * | indev, |
| int | mouse | ||
| ) |
Definition at line 9 of file input_linux.c.
References ckb_err, and ckb_warn.
Referenced by os_inputopen().
Here is the caller graph for this function: