diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-10-30 15:43:06 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-10-30 15:43:06 -0400 |
commit | 875a5b446fcf04314ee102624bda7ae18939837e (patch) | |
tree | 4030c2bce3f8fbeeed9cff560f5290d41ea3d2a7 /include | |
parent | a224e74fadd6393e25ec7392115892aec87dc11a (diff) |
remove time usec
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/backend.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_keyboard.h | 1 | ||||
-rw-r--r-- | include/wlr/types/wlr_pointer.h | 4 | ||||
-rw-r--r-- | include/wlr/types/wlr_tablet_pad.h | 3 | ||||
-rw-r--r-- | include/wlr/types/wlr_tablet_tool.h | 4 | ||||
-rw-r--r-- | include/wlr/types/wlr_touch.h | 4 |
6 files changed, 2 insertions, 16 deletions
diff --git a/include/wlr/backend.h b/include/wlr/backend.h index 78d01edf..2c8fd982 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -23,4 +23,6 @@ bool wlr_backend_start(struct wlr_backend *backend); void wlr_backend_destroy(struct wlr_backend *backend); struct wlr_egl *wlr_backend_get_egl(struct wlr_backend *backend); +uint32_t usec_to_msec(uint64_t usec); + #endif diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h index 1c9b1abb..af837ff5 100644 --- a/include/wlr/types/wlr_keyboard.h +++ b/include/wlr/types/wlr_keyboard.h @@ -64,7 +64,6 @@ enum wlr_key_state { struct wlr_event_keyboard_key { uint32_t time_msec; - uint64_t time_usec; uint32_t keycode; bool update_state; enum wlr_key_state state; diff --git a/include/wlr/types/wlr_pointer.h b/include/wlr/types/wlr_pointer.h index 4ad450e2..3a6d2175 100644 --- a/include/wlr/types/wlr_pointer.h +++ b/include/wlr/types/wlr_pointer.h @@ -23,14 +23,12 @@ struct wlr_pointer { struct wlr_event_pointer_motion { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; double delta_x, delta_y; }; struct wlr_event_pointer_motion_absolute { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; double x_mm, y_mm; double width_mm, height_mm; }; @@ -38,7 +36,6 @@ struct wlr_event_pointer_motion_absolute { struct wlr_event_pointer_button { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; uint32_t button; enum wlr_button_state state; }; @@ -58,7 +55,6 @@ enum wlr_axis_orientation { struct wlr_event_pointer_axis { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; enum wlr_axis_source source; enum wlr_axis_orientation orientation; double delta; diff --git a/include/wlr/types/wlr_tablet_pad.h b/include/wlr/types/wlr_tablet_pad.h index 6a72fdba..51a65dd1 100644 --- a/include/wlr/types/wlr_tablet_pad.h +++ b/include/wlr/types/wlr_tablet_pad.h @@ -27,7 +27,6 @@ struct wlr_tablet_pad { struct wlr_event_tablet_pad_button { uint32_t time_msec; - uint64_t time_usec; uint32_t button; enum wlr_button_state state; }; @@ -39,7 +38,6 @@ enum wlr_tablet_pad_ring_source { struct wlr_event_tablet_pad_ring { uint32_t time_msec; - uint64_t time_usec; enum wlr_tablet_pad_ring_source source; uint32_t ring; double position; @@ -52,7 +50,6 @@ enum wlr_tablet_pad_strip_source { struct wlr_event_tablet_pad_strip { uint32_t time_msec; - uint64_t time_usec; enum wlr_tablet_pad_strip_source source; uint32_t strip; double position; diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index 7a954ab8..c6984d4d 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -35,7 +35,6 @@ enum wlr_tablet_tool_axes { struct wlr_event_tablet_tool_axis { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; uint32_t updated_axes; double x_mm, y_mm; double width_mm, height_mm; @@ -55,7 +54,6 @@ enum wlr_tablet_tool_proximity_state { struct wlr_event_tablet_tool_proximity { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; double x_mm, y_mm; double width_mm, height_mm; enum wlr_tablet_tool_proximity_state state; @@ -69,7 +67,6 @@ enum wlr_tablet_tool_tip_state { struct wlr_event_tablet_tool_tip { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; double x_mm, y_mm; double width_mm, height_mm; enum wlr_tablet_tool_tip_state state; @@ -78,7 +75,6 @@ struct wlr_event_tablet_tool_tip { struct wlr_event_tablet_tool_button { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; uint32_t button; enum wlr_button_state state; }; diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h index 0ae2789e..072e25fd 100644 --- a/include/wlr/types/wlr_touch.h +++ b/include/wlr/types/wlr_touch.h @@ -22,7 +22,6 @@ struct wlr_touch { struct wlr_event_touch_down { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; int32_t slot; double x_mm, y_mm; double width_mm, height_mm; @@ -31,14 +30,12 @@ struct wlr_event_touch_down { struct wlr_event_touch_up { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; int32_t slot; }; struct wlr_event_touch_motion { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; int32_t slot; double x_mm, y_mm; double width_mm, height_mm; @@ -47,7 +44,6 @@ struct wlr_event_touch_motion { struct wlr_event_touch_cancel { struct wlr_input_device *device; uint32_t time_msec; - uint64_t time_usec; int32_t slot; }; |