Skip to content

Commit

Permalink
Documentation: input: fix path to input code definitions
Browse files Browse the repository at this point in the history
The UAPI header split failed to update the documentation for the input
event codes; fix things accordingly.

Signed-off-by: Martin Kepplinger <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
merge authored and Jonathan Corbet committed Feb 12, 2017
1 parent dc36143 commit da23e4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/input/input.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da23e4d

Please sign in to comment.