mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 00:33:16 +00:00
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>
This commit is contained in:
parent
bed0f75909
commit
a5f040cfcf
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user