/third_party/libinput/test/ |
D | litest-int.h | 102 struct input_event *touch_down_events; 103 struct input_event *touch_move_events; 104 struct input_event *touch_up_events; 110 struct input_event *tablet_proximity_in_events; 111 struct input_event *tablet_proximity_out_events; 112 struct input_event *tablet_motion_events; 118 struct input_event *pad_ring_start_events; 119 struct input_event *pad_ring_change_events; 120 struct input_event *pad_ring_end_events; 126 struct input_event *pad_strip_start_events; [all …]
|
D | litest-device-wacom-intuos3-pad.c | 29 static struct input_event down[] = { 33 static struct input_event move[] = { 37 static struct input_event strip_start[] = { 44 static struct input_event strip_change[] = { 50 static struct input_event strip_end[] = {
|
D | litest-device-wacom-cintiq-13hdt-pad.c | 29 static struct input_event down[] = { 33 static struct input_event move[] = { 37 static struct input_event ring_start[] = { 44 static struct input_event ring_change[] = { 50 static struct input_event ring_end[] = {
|
D | litest-device-wacom-intuos5-pad.c | 29 static struct input_event down[] = { 33 static struct input_event move[] = { 37 static struct input_event ring_start[] = { 44 static struct input_event ring_change[] = { 50 static struct input_event ring_end[] = {
|
D | litest-device-wacom-mobilestudio-pro-pad.c | 29 static struct input_event down[] = { 33 static struct input_event move[] = { 37 static struct input_event ring_start[] = { 44 static struct input_event ring_change[] = { 50 static struct input_event ring_end[] = {
|
D | litest-device-wacom-cintiq-24hdt-pad.c | 40 static struct input_event down[] = { 44 static struct input_event move[] = { 48 static struct input_event ring_start[] = { 55 static struct input_event ring_change[] = { 61 static struct input_event ring_end[] = {
|
D | litest-device-wacom-ekr.c | 29 static struct input_event down[] = { 33 static struct input_event move[] = { 37 static struct input_event ring_start[] = { 44 static struct input_event ring_change[] = { 50 static struct input_event ring_end[] = {
|
D | litest-device-uclogic-tablet.c | 29 static struct input_event proximity_in[] = { 37 static struct input_event proximity_out[] = { 41 static struct input_event motion[] = {
|
D | litest-device-synaptics-st.c | 29 static struct input_event down[] = { 38 static struct input_event move[] = { 45 struct input_event up[] = {
|
D | litest-device-huion-pentablet.c | 29 static struct input_event proximity_in[] = { 38 static struct input_event proximity_out[] = { 42 static struct input_event motion[] = {
|
D | litest-device-elan-tablet.c | 29 static struct input_event proximity_in[] = { 38 static struct input_event proximity_out[] = { 44 static struct input_event motion[] = {
|
D | litest-device-wacom-isdv4-e6-pen.c | 29 static struct input_event proximity_in[] = { 38 static struct input_event proximity_out[] = { 44 static struct input_event motion[] = {
|
D | litest-device-wacom-isdv4-4200-pen.c | 29 static struct input_event proximity_in[] = { 38 static struct input_event proximity_out[] = { 44 static struct input_event motion[] = {
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_android.cpp | 39 int32_t ImGui_ImplAndroid_HandleInputEvent(AInputEvent* input_event) in ImGui_ImplAndroid_HandleInputEvent() argument 42 int32_t event_type = AInputEvent_getType(input_event); in ImGui_ImplAndroid_HandleInputEvent() 47 int32_t event_key_code = AKeyEvent_getKeyCode(input_event); in ImGui_ImplAndroid_HandleInputEvent() 48 int32_t event_action = AKeyEvent_getAction(input_event); in ImGui_ImplAndroid_HandleInputEvent() 49 int32_t event_meta_state = AKeyEvent_getMetaState(input_event); in ImGui_ImplAndroid_HandleInputEvent() 71 int32_t event_action = AMotionEvent_getAction(input_event); in ImGui_ImplAndroid_HandleInputEvent() 81 … if((AMotionEvent_getToolType(input_event, event_pointer_index) == AMOTION_EVENT_TOOL_TYPE_FINGER) in ImGui_ImplAndroid_HandleInputEvent() 82 …|| (AMotionEvent_getToolType(input_event, event_pointer_index) == AMOTION_EVENT_TOOL_TYPE_UNKNOWN)) in ImGui_ImplAndroid_HandleInputEvent() 85 …io.MousePos = ImVec2(AMotionEvent_getX(input_event, event_pointer_index), AMotionEvent_getY(input_… in ImGui_ImplAndroid_HandleInputEvent() 91 int32_t button_state = AMotionEvent_getButtonState(input_event); in ImGui_ImplAndroid_HandleInputEvent() [all …]
|
/third_party/ltp/testcases/kernel/input/ |
D | input06.c | 40 struct input_event events[64]; 113 static int check_event(struct input_event *iev, int event, int code, int value) in check_event() 127 if (rd % sizeof(struct input_event) != 0) { in read_events() 129 rd, sizeof(struct input_event)); in read_events() 133 num_events = rd / sizeof(struct input_event); in read_events() 141 static struct input_event *next_event(void) in next_event() 149 static int parse_autorepeat_config(struct input_event *iev) in parse_autorepeat_config() 166 static int parse_key(struct input_event *iev) in parse_key() 202 struct input_event *iev; in check_events()
|
D | input01.c | 35 static int verify_data(struct input_event *iev, int nb); 102 struct input_event iev[64]; in check_events() 112 if (rd == 0 || rd % sizeof(struct input_event)) { in check_events() 117 for (i = 0; i < rd / sizeof(struct input_event); i++) { in check_events() 126 static int verify_data(struct input_event *iev, int nb) in verify_data()
|
/third_party/libevdev/libevdev/ |
D | libevdev-int.h | 103 struct input_event *queue; 133 init_event(struct libevdev *dev, struct input_event *ev, int type, int code, int value) in init_event() 146 static inline struct input_event* 159 struct input_event *ev = queue_push(dev); in queue_push_event() 173 queue_pop(struct libevdev *dev, struct input_event *ev) in queue_pop() 184 queue_peek(struct libevdev *dev, size_t idx, struct input_event *ev) in queue_peek() 201 queue_shift_multiple(struct libevdev *dev, size_t n, struct input_event *ev) in queue_shift_multiple() 228 queue_shift(struct libevdev *dev, struct input_event *ev) in queue_shift() 239 dev->queue = calloc(size, sizeof(struct input_event)); in queue_alloc() 277 static inline struct input_event *
|
/third_party/alsa-lib/test/ |
D | playmidi1.c | 368 snd_seq_event_t *input_event; in wait_for_event() local 372 left = snd_seq_event_input(seq_handle, &input_event); in wait_for_event() 375 while ((left = snd_seq_event_input(seq_handle, &input_event)) >= 0 && in wait_for_event() 376 input_event == NULL) { in wait_for_event() 392 return input_event; in wait_for_event() 413 snd_seq_event_t *input_event; in wait_start() local 417 input_event = wait_for_event(); in wait_start() 418 if (input_event) { in wait_start() 421 input_event->type, input_event->flags); in wait_start() 422 if (input_event->type == SND_SEQ_EVENT_START && in wait_start() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | iochannel.c | 57 pa_io_event* input_event, *output_event; member 65 if (io->input_event) in delete_events() 66 io->mainloop->io_free(io->input_event); in delete_events() 68 if (io->output_event && io->output_event != io->input_event) in delete_events() 71 io->input_event = io->output_event = NULL; in delete_events() 90 pa_assert(io->input_event == io->output_event); in enable_events() 93 if (io->input_event) in enable_events() 94 io->mainloop->io_enable(io->input_event, f); in enable_events() 96 … io->input_event = io->output_event = io->mainloop->io_new(io->mainloop, io->ifd, f, callback, io); in enable_events() 104 if (io->input_event) in enable_events() [all …]
|
/third_party/libinput/src/ |
D | util-input-event.h | 31 static inline struct input_event 37 struct input_event ev; in input_event_init() 50 input_event_time(const struct input_event *e) in input_event_time() 62 input_event_set_time(struct input_event *e, in input_event_set_time()
|
/third_party/mtdev/src/ |
D | iobuf.c | 41 int mtdev_fetch_event(struct mtdev *dev, int fd, struct input_event *ev) in mtdev_fetch_event() 68 void mtdev_get_event(struct mtdev *dev, struct input_event* ev) in mtdev_get_event() 73 int mtdev_get(struct mtdev *dev, int fd, struct input_event* ev, int ev_max) in mtdev_get() 75 struct input_event kev; in mtdev_get()
|
D | evbuf.h | 37 struct input_event buffer[DIM_EVENTS]; 46 const struct input_event *ev) in evbuf_put() 53 struct input_event *ev) in evbuf_get()
|
D | core.c | 159 struct input_event ev; in process_typeA() 211 struct input_event ev; in process_typeB() 250 int slot, const struct input_event *syn) in push_slot_changes() 252 struct input_event ev; in push_slot_changes() 290 int size, const struct input_event *syn) in apply_typeA_changes() 332 const struct input_event *syn) in convert_A_to_B() 401 void mtdev_put_event(struct mtdev *dev, const struct input_event *ev) in mtdev_put_event()
|
/third_party/mtdev/include/ |
D | mtdev-plumbing.h | 102 int mtdev_fetch_event(struct mtdev *dev, int fd, struct input_event *ev); 116 void mtdev_put_event(struct mtdev *dev, const struct input_event *ev); 136 void mtdev_get_event(struct mtdev *dev, struct input_event* ev);
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/ |
D | SDL_mirevents.c | 240 MIR_HandleInput(MirInputEvent const* input_event, SDL_Window* window) in MIR_HandleInput() argument 242 switch (MIR_mir_input_event_get_type(input_event)) { in MIR_HandleInput() 244 HandleKeyEvent(MIR_mir_input_event_get_keyboard_event(input_event), window); in MIR_HandleInput() 247 HandleMouseEvent(MIR_mir_input_event_get_pointer_event(input_event), window); in MIR_HandleInput() 250 HandleTouchEvent(MIR_mir_input_event_get_touch_event(input_event), in MIR_HandleInput() 251 MIR_mir_input_event_get_device_id(input_event), in MIR_HandleInput()
|