lkml.org 
[lkml]   [2019]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] input: rotary-encoder: Support key events
Date
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 | 23 +++++++++++++++++++++--
2 files changed, 33 insertions(+), 2 deletions(-)

\
 
 \ /
  Last update: 2019-01-05 21:28    [W:0.072 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site