diff options
Diffstat (limited to 'services/input/InputReader.h')
-rw-r--r-- | services/input/InputReader.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/services/input/InputReader.h b/services/input/InputReader.h index cf41535..b344ffe 100644 --- a/services/input/InputReader.h +++ b/services/input/InputReader.h @@ -157,6 +157,8 @@ public: virtual bool shouldDropVirtualKey(nsecs_t now, InputDevice* device, int32_t keyCode, int32_t scanCode) = 0; + virtual void fadePointer() = 0; + virtual InputReaderPolicyInterface* getPolicy() = 0; virtual InputDispatcherInterface* getDispatcher() = 0; virtual EventHubInterface* getEventHub() = 0; @@ -241,6 +243,8 @@ private: virtual void updateGlobalMetaState(); virtual int32_t getGlobalMetaState(); + virtual void fadePointer(); + InputConfiguration mInputConfiguration; void updateInputConfiguration(); @@ -299,6 +303,8 @@ public: int32_t getMetaState(); + void fadePointer(); + inline const PropertyMap& getConfiguration() { return mConfiguration; } @@ -351,6 +357,8 @@ public: virtual int32_t getMetaState(); + virtual void fadePointer(); + protected: InputDevice* mDevice; InputReaderContext* mContext; @@ -459,6 +467,8 @@ public: virtual int32_t getScanCodeState(uint32_t sourceMask, int32_t scanCode); + virtual void fadePointer(); + private: // Amount that trackball needs to move in order to generate a key event. static const int32_t TRACKBALL_MOVEMENT_THRESHOLD = 6; |