summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYogish Kulkarni <yogishk@nvidia.com>2013-02-02 14:12:10 +0530
committerMandar Padmawar <mpadmawar@nvidia.com>2013-02-08 08:26:30 -0800
commit638c22167a0dc6dab3b73e43a3331bc40f706d88 (patch)
treed16f2f2ea54d608db5de786430147d9d9ecca358 /include
parent7d06d96286902e3b923af9cb8c397d3905729240 (diff)
Input: add MSC_ACTIVITY event for reporting early input activity
Input devices which depends on host processor for converting raw samples to input event needs to report early event so that CPU frequency governor can act to boost process of converting raw samples to input event data. Direct touch technology based device is an example where computation happens on CPU instead of dedicated controller. Bug 1229219 Change-Id: I404fb30e2a05f8092d194825488db017e7e935af Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com> Reviewed-on: http://git-master/r/196737 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index b13857853826..8725829956c9 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -856,6 +856,7 @@ struct input_keymap_entry {
#define MSC_GESTURE 0x02
#define MSC_RAW 0x03
#define MSC_SCAN 0x04
+#define MSC_ACTIVITY 0x05
#define MSC_MAX 0x07
#define MSC_CNT (MSC_MAX+1)