Skip to content

input: rotary-encoder: Support key events

Donghoon Han linux-devicetree linux-input lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Input: rotary_encoder - Support key eventsdrivers/input/misc/rotary_encoder.c+22 -20 replies
2/2Input: rotaty-encoder - Add DT binding documentDocumentation/devicetree/bindings/input/rotary-encoder.txt+12 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/2] input: rotary-encoder: Support key events

This patchset supports generating EV_KEY, instead of EV_REL.

An example could be a volume knob, with key events:
- KEY_VOLUMEDOWN / KEY_VOLUMEUP

[tested on imx6q platform, full period, half period]

Donghoon Han (2):
Input: rotary_encoder - Support key events
Input: rotaty-encoder - Add DT binding document

 Documentation/devicetree/bindings/input/rotary-encoder.txt | 12 ++++++++++++
 drivers/input/misc/rotary_encoder.c                        | 24 ++++++++++++++++++++++--
 2 files changed, 34 insertions(+), 2 deletions(-)