summaryrefslogtreecommitdiff
path: root/drivers/video/platinumfb.c
diff options
context:
space:
mode:
authorJon McCaffrey <jmccaffrey@nvidia.com>2011-08-22 14:49:04 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-09-06 03:03:43 -0700
commitd827065381dbcd0d4884267b86397fb2af009c21 (patch)
tree9069ea88d5aa6bf6761a95d52b7c84f3e993b49a /drivers/video/platinumfb.c
parent3a85d02f0d61f8d94b864716ce7f3f12e78d62a0 (diff)
video: tegra: dc: fake input device
Bug 855811 For smoothness and rate-limiting, it is useful to synchronize input events to flip. This patch adds a fake input device that emits an event on each vsync. This allows the Android input framework, which has significant infrastructure to monitor input devices in particular, to be notified of vsync events. Because there is no input event type/code for this behavior, we use an undocumented protocol of emitting a single MSC_RAW type event with scan-code 1. We also do not register ourselves for any other buttons/keys, which should prevent our device node from being confused with other input types. Change-Id: Id5297d2cef93eb53737942b43b2b09b82dee5f6f Reviewed-on: http://git-master/r/48539 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/video/platinumfb.c')
0 files changed, 0 insertions, 0 deletions