Searched refs:js_event (Results 1 – 3 of 3) sorted by relevance
48 struct js_event e;51 where js_event is defined as::53 struct js_event {64 js_event.type85 js_event.number107 js_event.value120 if (js_event.type == JS_EVENT_BUTTON) {121 buttons_state ^= (1 << js_event.number);128 if ((js_event.type & ~JS_EVENT_INIT) == JS_EVENT_BUTTON) {129 if (js_event.value)[all …]
59 struct js_event buffer[JOYDEV_BUFFER_SIZE];90 struct js_event *event) in joydev_pass_event()118 struct js_event event; in joydev_event()290 struct js_event *event) in joydev_generate_startup_event()321 struct js_event *event) in joydev_fetch_next_event()390 struct js_event event; in joydev_read()396 if (count < sizeof(struct js_event)) in joydev_read()413 while (retval + sizeof(struct js_event) <= count && in joydev_read()416 if (copy_to_user(buf + retval, &event, sizeof(struct js_event))) in joydev_read()419 retval += sizeof(struct js_event); in joydev_read()[all …]
44 struct js_event { struct