diff options
author | Scott Anderson <ascent12@hotmail.com> | 2018-02-19 10:43:25 +1300 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2018-02-19 10:43:25 +1300 |
commit | f27c0b44b882f7a837906e5b3376ad035cb51445 (patch) | |
tree | b346e5a4b32fa48877a305e8b3989cb9a4929918 /backend/libinput | |
parent | 088028c570dd5b52f81069654166f0117667fac0 (diff) |
Remove usec_to_msec from public API
Diffstat (limited to 'backend/libinput')
-rw-r--r-- | backend/libinput/backend.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index 71fe0d93..e2a1165f 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -189,3 +189,7 @@ struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device * struct wlr_libinput_input_device *dev = (struct wlr_libinput_input_device *)_dev; return dev->handle; } + +uint32_t usec_to_msec(uint64_t usec) { + return (uint32_t)(usec / 1000); +} |