Skip to content

Commit a5f040c

Browse files
SpieringsAEdtor
authored andcommitted
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>
1 parent bed0f75 commit a5f040c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/input/input.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ events on a read. Their layout is::
264264
struct timeval time;
265265
unsigned short type;
266266
unsigned short code;
267-
unsigned int value;
267+
int value;
268268
};
269269

270270
``time`` is the timestamp, it returns the time at which the event happened.

0 commit comments

Comments
 (0)