summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-03-30 02:25:18 -0700
committerJeff Brown <jeffbrown@google.com>2011-03-30 16:55:15 -0700
commit37159af66d7c594f4f1494d4112d087bd03e328e (patch)
tree83441ed447562a77a41a0c711bdf1616d3a0a175 /opengl/tests/gl_basic/gl_basic.cpp
parent1ca13de1afd640339731a7c12a5fd7cb184c5f98 (diff)
Add input filter mechanism for accessibility.
This patch adds a mechanism for capturing, filtering, transforming and injecting input events at a very low level before the input dispatcher attempts to deliver them to applications. At this time, the mechanism is only intended to be used by the accessibility system to implement built-in system-level accessibility affordances. The accessibility input filter is currently just a stub. It logs the input events receives and reinjects them unchanged, except that it transforms KEYCODE_Q into KEYCODE_Z. Currently, the accessibility input filter is installed whenever accessibility is enabled. We'll probably want to change that so it only enables the input filter when a screen reader is installed and we want touch exploration. Change-Id: I35764fdf75522b69d09ebd78c9766eb7593c1afe
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions