diff options
author | Maud Spierings <maud_spierings@hotmail.com> | 2024-11-10 19:05:02 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-11-15 03:03:23 +0100 |
commit | a5f040cfcfdd8cd10591d50fb6280dffe07c7a8e (patch) | |
tree | ffa8a2bbe8b6a9842e9bb7b8c23967377cc25d8a /Documentation/input | |
parent | Input: i8042 - fix typo dublicate to duplicate (diff) | |
download | linux-a5f040cfcfdd8cd10591d50fb6280dffe07c7a8e.tar.xz linux-a5f040cfcfdd8cd10591d50fb6280dffe07c7a8e.zip |
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>
Diffstat (limited to 'Documentation/input')
-rw-r--r-- | Documentation/input/input.rst | 2 |
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. |