From b3d9e2e69163ff17a0023d08daa5ab0f3e1551a0 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 3 May 2021 18:37:45 +0200 Subject: Potential missed events fix. --- include/relabsd/device/physical_device.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/relabsd/device/physical_device.h b/include/relabsd/device/physical_device.h index 9bee391..c6dc81f 100644 --- a/include/relabsd/device/physical_device.h +++ b/include/relabsd/device/physical_device.h @@ -23,7 +23,8 @@ void relabsd_physical_device_close /* * Returns -1 on (warning) error, - * 0 on successful read. + * 0 if there is nothing to read, + * 1 if something was read (and there may be more to read). * * The 'input_*' parameters do not need to be initialized, as the function will * do that for you (on success). -- cgit v1.2.3-70-g09d2