Home
last modified time | relevance | path

Searched refs:axis_event (Results 1 – 2 of 2) sorted by relevance

/third_party/weston/tests/
Dweston-test.c251 struct weston_pointer_axis_event axis_event; in send_axis() local
254 axis_event.axis = axis; in send_axis()
255 axis_event.value = wl_fixed_to_double(value); in send_axis()
256 axis_event.has_discrete = false; in send_axis()
257 axis_event.discrete = 0; in send_axis()
259 notify_axis(seat, &time, &axis_event); in send_axis()
/third_party/libinput/src/
Dlibinput.c2436 struct libinput_event_pointer *axis_event; in pointer_notify_axis() local
2441 axis_event = zalloc(sizeof *axis_event); in pointer_notify_axis()
2443 *axis_event = (struct libinput_event_pointer) { in pointer_notify_axis()
2453 &axis_event->base); in pointer_notify_axis()
2584 struct libinput_event_tablet_tool *axis_event; in tablet_notify_axis() local
2586 axis_event = zalloc(sizeof *axis_event); in tablet_notify_axis()
2588 *axis_event = (struct libinput_event_tablet_tool) { in tablet_notify_axis()
2596 memcpy(axis_event->changed_axes, in tablet_notify_axis()
2598 sizeof(axis_event->changed_axes)); in tablet_notify_axis()
2603 &axis_event->base); in tablet_notify_axis()