Lines Matching +full:key +full:- +full:code
12 that will be delivered to userspace and in-kernel consumers.
28 create uinput devices and send events. libevdev is less error-prone than
38 ---------------
41 send a key event. All default imports and error handlers were removed for
44 .. code-block:: c
48 void emit(int fd, int type, int code, int val)
53 ie.code = code;
71 * created, to pass key events, in this case the space key.
90 * to send. This pause is only needed in our example code!
94 /* Key press, report the event, send key release, and report again */
113 ---------------
118 .. code-block:: c
153 * to send. This pause is only needed in our example code!
158 while (i--) {
179 --------------------
184 configure the new uinput device. New code should not use the old interface
187 .. code-block:: c
208 * created, to pass key events, in this case the space key.
224 * to send. This pause is only needed in our example code!
228 /* Key press, report the event, send key release, and report again */