summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaud Spierings <maud_spierings@hotmail.com>2024-11-10 19:05:02 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-11-14 18:03:23 -0800
commita5f040cfcfdd8cd10591d50fb6280dffe07c7a8e (patch)
treeffa8a2bbe8b6a9842e9bb7b8c23967377cc25d8a
parentbed0f75909b21c0cd0285da76fdfcc61a9745b0c (diff)
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>
-rw-r--r--Documentation/input/input.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/input/input.rst b/Documentation/input/input.rst
index 2c67fa904adc..d9a6de87d02d 100644
--- a/Documentation/input/input.rst
+++ b/Documentation/input/input.rst
@@ -264,7 +264,7 @@ events on a read. Their layout is::
struct timeval time;
unsigned short type;
unsigned short code;
- unsigned int value;
+ int value;
};
``time`` is the timestamp, it returns the time at which the event happened.