Input: docs: Fix the input_event struct documentation
Subsystems (3)
PATCH 1/1 Input: docs: Fix the input_event struct documentation
Fix the datatype of the value field of the input_event struct which is signed instead of unsigned.
See include/uapi/linux/input.h
Signed-off-by Maud Spierings <[email protected]>
--- Documentation/input/input.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/input/input.rst +1 -1
@@ -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.
---
base-commit: de2f378f2b771b39594c04695feee86476743a69
change-id: 20241110-fix_input_doc-1debf7bcd9c5
Best regards,
Signature · 1 line
Maud Spierings <[email protected]>
Quoted 7 lines · On Sun, Nov 10, 2024 at 07:05:02PM +0100, Maud Spierings via B4 Relay wrote:
From: Maud Spierings <[email protected]>
Fix the datatype of the value field of the
input_eventstruct which is signed instead of unsigned.
Seeinclude/uapi/linux/input.hSigned-off-by Maud Spierings <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry