Re: [PATCH v4] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-23 Thread Andreas Fleig
On Thu, Apr 23, 2015 at 10:28 , Jiri Kosina jkos...@suse.cz wrote: your patch has been severely damaged by your mail client. I have fixed everything by hand for now and applied the patch to for-4.2/lenovo branch, but please fix your workflow for your future submissions. Thanks, I didn't

[PATCH v3] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-14 Thread Andreas Fleig
Set flags INPUT_PROP_POINTER and INPUT_PROP_POINTING_STICK for the trackpoint integrated in Lenovo USB and Bluetooth keyboards. Libinput checks these flags to enable features such as middle-button-scrolling by default. Signed-off-by: Andreas Fleig andreasfl...@gmail.com Reviewed-by: Benjamin

Re: [PATCH v2] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-14 Thread Andreas Fleig
On Mon, Apr 13, 2015 at 7:23 , Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: Are we sure that there is no other integrated mouse than the track point? I would not like us to set INPUT_PROP_POINTING_STICK to other input devices that should not have them. If you are not sure, maybe test

[PATCH v4] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-14 Thread Andreas Fleig
Set flags INPUT_PROP_POINTER and INPUT_PROP_POINTING_STICK for the trackpoint integrated in Lenovo USB and Bluetooth keyboards. Libinput checks these flags to enable features such as middle-button-scrolling by default. Signed-off-by: Andreas Fleig andreasfl...@gmail.com Reviewed-by: Benjamin

Re: [PATCH] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-08 Thread Andreas Fleig
On Tue, Apr 7, 2015 at 5:42 , Dmitry Torokhov dmitry.torok...@gmail.com wrote: Without commenting on validity of making this decision based on presence or absence of LEDs the proper test would be: if (!test_bit(EV_LED, hi-input-evbit)) { Thanks, that's much cleaner. I'll also test for

[PATCH v2] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-08 Thread Andreas Fleig
Set flags INPUT_PROP_POINTER and INPUT_PROP_POINTING_STICK for the trackpoint integrated in Lenovo USB and Bluetooth keyboards. Libinput checks these flags to enable features such as middle-button-scrolling by default. Signed-off-by: Andreas Fleig andreasfl...@gmail.com diff --git a/drivers

[PATCH] Input: set INPUT_PROP_POINTING_STICK in hid-lenovo

2015-04-07 Thread Andreas Fleig
Set flags INPUT_PROP_POINTER and INPUT_PROP_POINTING_STICK for the trackpoint integrated in Lenovo USB and Bluetooth keyboards. Libinput checks these flags to enable features such as middle-button-scrolling by default. Signed-off-by: Andreas Fleig andreasfl...@gmail.com Cc: Peter Hutterer