diff options
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_keyboard.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_pointer.h | 8 | ||||
-rw-r--r-- | include/wlr/types/wlr_tablet_pad.h | 6 | ||||
-rw-r--r-- | include/wlr/types/wlr_tablet_tool.h | 8 | ||||
-rw-r--r-- | include/wlr/types/wlr_touch.h | 8 |
5 files changed, 16 insertions, 16 deletions
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h index a6726a7c..1c9b1abb 100644 --- a/include/wlr/types/wlr_keyboard.h +++ b/include/wlr/types/wlr_keyboard.h @@ -63,7 +63,7 @@ enum wlr_key_state { }; struct wlr_event_keyboard_key { - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; uint32_t keycode; bool update_state; diff --git a/include/wlr/types/wlr_pointer.h b/include/wlr/types/wlr_pointer.h index a59d8817..4ad450e2 100644 --- a/include/wlr/types/wlr_pointer.h +++ b/include/wlr/types/wlr_pointer.h @@ -22,14 +22,14 @@ struct wlr_pointer { struct wlr_event_pointer_motion { struct wlr_input_device *device; - uint32_t time_sec; + 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_sec; + uint32_t time_msec; uint64_t time_usec; double x_mm, y_mm; double width_mm, height_mm; @@ -37,7 +37,7 @@ struct wlr_event_pointer_motion_absolute { struct wlr_event_pointer_button { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; uint32_t button; enum wlr_button_state state; @@ -57,7 +57,7 @@ enum wlr_axis_orientation { struct wlr_event_pointer_axis { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; enum wlr_axis_source source; enum wlr_axis_orientation orientation; diff --git a/include/wlr/types/wlr_tablet_pad.h b/include/wlr/types/wlr_tablet_pad.h index b747e6f1..6a72fdba 100644 --- a/include/wlr/types/wlr_tablet_pad.h +++ b/include/wlr/types/wlr_tablet_pad.h @@ -26,7 +26,7 @@ struct wlr_tablet_pad { }; struct wlr_event_tablet_pad_button { - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; uint32_t button; enum wlr_button_state state; @@ -38,7 +38,7 @@ enum wlr_tablet_pad_ring_source { }; struct wlr_event_tablet_pad_ring { - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; enum wlr_tablet_pad_ring_source source; uint32_t ring; @@ -51,7 +51,7 @@ enum wlr_tablet_pad_strip_source { }; struct wlr_event_tablet_pad_strip { - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; enum wlr_tablet_pad_strip_source source; uint32_t strip; diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index f04dfe15..7a954ab8 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -34,7 +34,7 @@ enum wlr_tablet_tool_axes { struct wlr_event_tablet_tool_axis { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; uint32_t updated_axes; double x_mm, y_mm; @@ -54,7 +54,7 @@ enum wlr_tablet_tool_proximity_state { struct wlr_event_tablet_tool_proximity { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; double x_mm, y_mm; double width_mm, height_mm; @@ -68,7 +68,7 @@ enum wlr_tablet_tool_tip_state { struct wlr_event_tablet_tool_tip { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; double x_mm, y_mm; double width_mm, height_mm; @@ -77,7 +77,7 @@ struct wlr_event_tablet_tool_tip { struct wlr_event_tablet_tool_button { struct wlr_input_device *device; - uint32_t time_sec; + 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 f1165c87..0ae2789e 100644 --- a/include/wlr/types/wlr_touch.h +++ b/include/wlr/types/wlr_touch.h @@ -21,7 +21,7 @@ struct wlr_touch { struct wlr_event_touch_down { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; int32_t slot; double x_mm, y_mm; @@ -30,14 +30,14 @@ struct wlr_event_touch_down { struct wlr_event_touch_up { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; int32_t slot; }; struct wlr_event_touch_motion { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; int32_t slot; double x_mm, y_mm; @@ -46,7 +46,7 @@ struct wlr_event_touch_motion { struct wlr_event_touch_cancel { struct wlr_input_device *device; - uint32_t time_sec; + uint32_t time_msec; uint64_t time_usec; int32_t slot; }; |