Searched refs:JS_EVENT_INIT (Results 1 – 3 of 3) sorted by relevance
35 (JS_EVENT_INIT) that you can read to obtain the initial state of the71 #define JS_EVENT_INIT 0x80 /* initial state of device */73 As mentioned above, the driver will issue synthetic JS_EVENT_INIT ORed77 int type = JS_EVENT_BUTTON | JS_EVENT_INIT; /* 0x81 */80 you can turn off the JS_EVENT_INIT bits::82 type &= ~JS_EVENT_INIT; /* 0x01 */124 may work well if you handle JS_EVENT_INIT events separately,128 if ((js_event.type & ~JS_EVENT_INIT) == JS_EVENT_BUTTON) {136 have to write a separate handler for JS_EVENT_INIT events in the first201 synthetic events (JS_EVENT_INIT) will be generated to inform you of
42 #define JS_EVENT_INIT 0x80 /* initial state of device */ macro
302 event->type = JS_EVENT_BUTTON | JS_EVENT_INIT; in joydev_generate_startup_event()307 event->type = JS_EVENT_AXIS | JS_EVENT_INIT; in joydev_generate_startup_event()