Home
last modified time | relevance | path

Searched refs:input_event (Results 1 - 25 of 115) sorted by relevance

12345

/third_party/libinput/test/
H A Dlitest-int.h105 struct input_event *touch_down_events;
106 struct input_event *touch_move_events;
107 struct input_event *touch_up_events;
113 struct input_event *tablet_proximity_in_events;
114 struct input_event *tablet_proximity_out_events;
115 struct input_event *tablet_motion_events;
136 struct input_event *pad_ring_start_events;
137 struct input_event *pad_ring_change_events;
138 struct input_event *pad_ring_end_events;
144 struct input_event *pad_strip_start_event
[all...]
H A Dlitest-device-wacom-mobilestudio-pro-pad.c29 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[] = {
H A Dlitest-device-wacom-intuos5-pad.c29 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[] = {
H A Dlitest-device-wacom-cintiq-24hdt-pad.c40 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[] = {
H A Dlitest-device-wacom-ekr.c29 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[] = {
H A Dlitest-device-wacom-intuos3-pad.c29 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[] = {
H A Dlitest-device-wacom-cintiq-13hdt-pad.c29 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[] = {
H A Dlitest-device-uclogic-tablet.c29 static struct input_event proximity_in[] = {
37 static struct input_event proximity_out[] = {
41 static struct input_event motion[] = {
H A Dlitest-device-wacom-isdv4-4200-pen.c29 static struct input_event proximity_in[] = {
38 static struct input_event proximity_out[] = {
44 static struct input_event motion[] = {
H A Dlitest-device-wacom-isdv4-e6-pen.c29 static struct input_event proximity_in[] = {
38 static struct input_event proximity_out[] = {
44 static struct input_event motion[] = {
H A Dlitest-device-huion-pentablet.c29 static struct input_event proximity_in[] = {
38 static struct input_event proximity_out[] = {
42 static struct input_event motion[] = {
H A Dlitest-device-synaptics-st.c29 static struct input_event down[] = {
38 static struct input_event move[] = {
45 struct input_event up[] = {
H A Dlitest-device-wacom-hid4800-pen.c29 static struct input_event proximity_in[] = {
39 static struct input_event proximity_out[] = {
48 static struct input_event motion[] = {
H A Dlitest-device-wacom-cintiq-pro-16-pad.c29 static struct input_event down[] = {
33 static struct input_event move[] = {
H A Dlitest-device-wacom-bamboo-2fg-pad.c29 static struct input_event down[] = {
33 static struct input_event move[] = {
H A Dlitest-device-elan-tablet.c29 static struct input_event proximity_in_events[] = {
38 static struct input_event proximity_out_events[] = {
44 static struct input_event motion_events[] = {
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_android.cpp39 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_event, event_pointer_inde in ImGui_ImplAndroid_HandleInputEvent()
[all...]
/third_party/ltp/testcases/kernel/input/
H A Dinput06.c40 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()
H A Dinput01.c35 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()
H A Dinput_helper.c172 struct input_event ev = { in send_event()
232 int check_event_code(struct input_event *iev, int event, int code) in check_event_code()
237 int check_sync_event(struct input_event *iev) in check_sync_event()
253 struct input_event ev; in no_events_queued()
H A Dinput_helper.h32 int check_event_code(struct input_event *iev, int event, int code);
33 int check_sync_event(struct input_event *iev);
/third_party/pulseaudio/src/pulsecore/
H A Diochannel.c57 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/alsa-lib/test/
H A Dplaymidi1.c370 snd_seq_event_t *input_event; in wait_for_event() local
374 left = snd_seq_event_input(seq_handle, &input_event); in wait_for_event()
377 while ((left = snd_seq_event_input(seq_handle, &input_event)) >= 0 && in wait_for_event()
378 input_event == NULL) { in wait_for_event()
394 return input_event; in wait_for_event()
415 snd_seq_event_t *input_event; in wait_start() local
419 input_event = wait_for_event(); in wait_start()
420 if (input_event) { in wait_start()
423 input_event->type, input_event in wait_start()
[all...]
/third_party/libevdev/libevdev/
H A Dlibevdev-int.h86 struct input_event *queue;
116 init_event(struct libevdev *dev, struct input_event *ev, int type, int code, int value) in init_event()
129 static inline struct input_event*
142 struct input_event *ev = queue_push(dev); in queue_push_event()
156 queue_pop(struct libevdev *dev, struct input_event *ev) in queue_pop()
167 queue_peek(struct libevdev *dev, size_t idx, struct input_event *ev) in queue_peek()
184 queue_shift_multiple(struct libevdev *dev, size_t n, struct input_event *ev) in queue_shift_multiple()
211 queue_shift(struct libevdev *dev, struct input_event *ev) in queue_shift()
222 dev->queue = calloc(size, sizeof(struct input_event)); in queue_alloc()
260 static inline struct input_event *
[all...]
/third_party/libinput/src/
H A Dutil-input-event.h31 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()
61 input_event_set_time(struct input_event *e, in input_event_set_time()

Completed in 8 milliseconds

12345