Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: fix the input_event struct documentation

Fix the datatype of the value field of the input_event struct which is
signed instead of unsigned.

Signed-off-by: Maud Spierings <maud_spierings@hotmail.com>
Link: https://lore.kernel.org/r/20241110-fix_input_doc-v1-1-745d5f908e61@hotmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Maud Spierings and committed by
Dmitry Torokhov
a5f040cf bed0f759

+1 -1
+1 -1
Documentation/input/input.rst
··· 264 264 struct timeval time; 265 265 unsigned short type; 266 266 unsigned short code; 267 - unsigned int value; 267 + int value; 268 268 }; 269 269 270 270 ``time`` is the timestamp, it returns the time at which the event happened.