Commit da23e4d1 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Jonathan Corbet
Browse files

Documentation: input: fix path to input code definitions



The UAPI header split failed to update the documentation for the input
event codes; fix things accordingly.

Signed-off-by: default avatarMartin Kepplinger <martink@posteo.de>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent dc36143f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -279,10 +279,10 @@ struct input_event {

  'time' is the timestamp, it returns the time at which the event happened.
Type is for example EV_REL for relative moment, EV_KEY for a keypress or
release. More types are defined in include/linux/input.h.
release. More types are defined in include/uapi/linux/input-event-codes.h.

  'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete
list is in include/linux/input.h.
list is in include/uapi/linux/input-event-codes.h.

  'value' is the value the event carries. Either a relative change for
EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for