Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/include/linux/input.h b/include/linux/input.h
- index 9879bdd..42cbe4b 100644
- --- a/include/linux/input.h
- +++ b/include/linux/input.h
- @@ -1476,9 +1476,9 @@ void input_inject_event(struct input_handle *handle, unsigned int type, unsigned
- extern int LGF_TestModeGetDisableInputDevices(void);
- static inline void input_report_key(struct input_dev *dev, unsigned int code, int value)
- {
- - if(LGF_TestModeGetDisableInputDevices())
- + /*if(LGF_TestModeGetDisableInputDevices())
- ;
- - else
- + else*/
- input_event(dev, EV_KEY, code, value);
- }
- @@ -1489,9 +1489,9 @@ static inline void input_report_rel(struct input_dev *dev, unsigned int code, in
- static inline void input_report_abs(struct input_dev *dev, unsigned int code, int value)
- {
- - if(LGF_TestModeGetDisableInputDevices())
- + /*if(LGF_TestModeGetDisableInputDevices())
- ;
- - else
- + else*/
- input_event(dev, EV_ABS, code, value);
- }
- @@ -1507,17 +1507,17 @@ static inline void input_report_switch(struct input_dev *dev, unsigned int code,
- static inline void input_sync(struct input_dev *dev)
- {
- - if(LGF_TestModeGetDisableInputDevices())
- + /*if(LGF_TestModeGetDisableInputDevices())
- ;
- - else
- + else*/
- input_event(dev, EV_SYN, SYN_REPORT, 0);
- }
- static inline void input_mt_sync(struct input_dev *dev)
- {
- - if(LGF_TestModeGetDisableInputDevices())
- + /*if(LGF_TestModeGetDisableInputDevices())
- ;
- - else
- + else*/
- input_event(dev, EV_SYN, SYN_MT_REPORT, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement