HID: wiimote: Parse calibration data of balance boards
authorFlorian Echtler <floe@butterbrot.org>
Mon, 17 Sep 2012 10:31:36 +0000 (12:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 Sep 2012 15:22:43 +0000 (17:22 +0200)
commit3155a09fd5060190eea4f2585d55d6c5431837c4
tree057ef9691fb8153482fce2b8a2dfc7d6ae4e411e
parent5ad67fbc2a0f5b7e744ce2263a2340b7ebe92e00
HID: wiimote: Parse calibration data of balance boards

The raw pressure-data that is reported by balance-boards is pretty useless
unless calibration data is applied. Therefore, we read the full
calibration data on extension initialization and apply it to every
reported data.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Florian Echtler <floe@butterbrot.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote-ext.c