Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Djoystick.h43 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */ macro
/linux-4.1.27/Documentation/input/
Djoystick-api.txt46 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */
54 int type = JS_EVENT_BUTTON | JS_EVENT_INIT; /* 0x81 */
94 if (js_event.type == JS_EVENT_BUTTON) {
100 if ((js_event.type & ~JS_EVENT_INIT) == JS_EVENT_BUTTON) {
/linux-4.1.27/drivers/input/
Djoydev.c130 event.type = JS_EVENT_BUTTON; in joydev_event()
295 event->type = JS_EVENT_BUTTON | JS_EVENT_INIT; in joydev_generate_startup_event()