diff options
| author | Prashant Malani <pmalani@google.com> | 2015-08-11 18:29:28 -0700 |
|---|---|---|
| committer | Prashant Malani <pmalani@google.com> | 2016-01-13 18:05:36 -0800 |
| commit | 1941ff5815e9f8a09f6ae643addbb4119482cf16 (patch) | |
| tree | 93dec7e26544e16a0470dda52eeb145eacfc9286 /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | 858b3b388904c196bc2932530c957ca373aaee17 (diff) | |
inputflinger: Initial support for rotary encoders.
This change introduces support for rotary encoder input devices.
We also define a new input source (namely, AINPUT_SOURCE_ROTARY_ENCODER)
and a new axis of input (namely, AXIS_SCROLL), since the rotary encoder
motion doesn't necessarily tie to a horizontal or vertical scroll
motion.
A ROTARY_ENCODER input device class is also introduced, corresponding to
the new input source.
A new input source can be defined as producing rotary encoder motion
events, if its corresponding .idc file contains the following
declaration:
device.type = rotaryEncoder
Bug: 18707397
Change-Id: I8ccd540908311d1ff44fdfeba81b691895413641
Signed-off-by: Prashant Malani <pmalani@google.com>
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
