Home
last modified time | relevance | path

Searched refs:JS_EVENT_BUTTON (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Djoystick.h40 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */ macro
/Linux-v5.10/Documentation/input/joydev/
Djoystick-api.rst69 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */
77 int type = JS_EVENT_BUTTON | JS_EVENT_INIT; /* 0x81 */
120 if (js_event.type == JS_EVENT_BUTTON) {
128 if ((js_event.type & ~JS_EVENT_INIT) == JS_EVENT_BUTTON) {
/Linux-v5.10/drivers/input/
Djoydev.c125 event.type = JS_EVENT_BUTTON; in joydev_event()
303 event->type = JS_EVENT_BUTTON | JS_EVENT_INIT; in joydev_generate_startup_event()