Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/linux/
Djoystick.h40 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */ macro
/linux-6.6.21/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-6.6.21/drivers/input/
Djoydev.c124 event.type = JS_EVENT_BUTTON; in joydev_event()
302 event->type = JS_EVENT_BUTTON | JS_EVENT_INIT; in joydev_generate_startup_event()