Home
last modified time | relevance | path

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

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