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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 7, 2015 at 5:42 , Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> 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 EV_REL instead, which makes more sense, especially since the keyboard doesn't actually have physical LEDs.

Andreas

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux