···99 or 0 otherwise. Writing to this file one of these values1010 switches reporting speed.11111212+What: /sys/class/leds/0005\:056A\:00BD.0001\:selector\:*/1313+Date: May 20121414+Kernel Version: 3.51515+Contact: linux-bluetooth@vger.kernel.org1616+Description:1717+ LED selector for Intuos4 WL. There are 4 leds, but only one LED1818+ can be lit at a time. Max brightness is 127.1919+1220What: /sys/bus/usb/devices/<busnum>-<devnum>:<cfg>.<intf>/wacom_led/led1321Date: August 20111422Contact: linux-input@vger.kernel.org
+7-9
drivers/hid/Kconfig
···3232 If unsure, say Y.33333434config HID_BATTERY_STRENGTH3535- bool3535+ bool "Battery level reporting for HID devices"3636 depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY3737 default n3838+ ---help---3939+ This option adds support of reporting battery strength (for HID devices4040+ that support this feature) through power_supply class so that userspace4141+ tools, such as upower, can display it.38423943config HIDRAW4044 bool "/dev/hidraw raw HID device support"···617613config HID_WACOM618614 tristate "Wacom Bluetooth devices support"619615 depends on BT_HIDP620620- ---help---621621- Support for Wacom Graphire Bluetooth tablet.622622-623623-config HID_WACOM_POWER_SUPPLY624624- bool "Wacom Bluetooth devices power supply status support"625625- depends on HID_WACOM616616+ depends on LEDS_CLASS626617 select POWER_SUPPLY627618 ---help---628628- Say Y here if you want to enable power supply status monitoring for629629- Wacom Bluetooth devices.619619+ Support for Wacom Graphire Bluetooth and Intuos4 WL tablets.630620631621config HID_WIIMOTE632622 tristate "Nintendo Wii Remote support"
···769769770770 /*771771 * Basic IR data is encoded into 3 bytes. The first two bytes are the772772- * upper 8 bit of the X/Y data, the 3rd byte contains the lower 2 bits772772+ * lower 8 bit of the X/Y data, the 3rd byte contains the upper 2 bits773773 * of both.774774 * If data is packed, then the 3rd byte is put first and slightly775775 * reordered. This allows to interleave packed and non-packed data to···778778 */779779780780 if (packed) {781781- x = ir[1] << 2;782782- y = ir[2] << 2;783783-784784- x |= ir[0] & 0x3;785785- y |= (ir[0] >> 2) & 0x3;781781+ x = ir[1] | ((ir[0] & 0x03) << 8);782782+ y = ir[2] | ((ir[0] & 0x0c) << 6);786783 } else {787787- x = ir[0] << 2;788788- y = ir[1] << 2;789789-790790- x |= (ir[2] >> 4) & 0x3;791791- y |= (ir[2] >> 6) & 0x3;784784+ x = ir[0] | ((ir[2] & 0x30) << 4);785785+ y = ir[1] | ((ir[2] & 0xc0) << 2);792786 }793787794788 input_report_abs(wdata->ir, xid, x);