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 …]
58 struct js_event buffer[JOYDEV_BUFFER_SIZE];89 struct js_event *event) in joydev_pass_event()117 struct js_event event; in joydev_event()289 struct js_event *event) in joydev_generate_startup_event()320 struct js_event *event) in joydev_fetch_next_event()389 struct js_event event; in joydev_read()395 if (count < sizeof(struct js_event)) in joydev_read()412 while (retval + sizeof(struct js_event) <= count && in joydev_read()415 if (copy_to_user(buf + retval, &event, sizeof(struct js_event))) in joydev_read()418 retval += sizeof(struct js_event); in joydev_read()[all …]
44 struct js_event { struct