linux/drivers/hid
Simon Wood c9e4d87758 HID: hid-sony: fix endiannes of Sixaxis accel/gyro values
The accelerometers/gyro on the Sixaxis are reported in the wrong
endianness (ie. not compatible with HID), so this patch intercepts
the report and swaps the appropriate bytes over.

Accelerometers are scaled with a nominal value of +/-4000 = 1G,
maximum value would be around +/-32768 = 8G.

Gyro on my device always reports -32768, might need some calibration
set within the controller.

Fix extracted from previous patch submission:
https://patchwork.kernel.org/patch/95212/

Signed-off-by: Marcin Tolysz <tolysz@gmail.com>
Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-06-13 13:21:30 +02:00
..
usbhid HID: yurex: recognize GeneralKeys wireless presenter as generic HID 2011-06-07 15:34:17 +02:00
hid-a4tech.c
hid-apple.c
hid-axff.c
hid-belkin.c
hid-cherry.c
hid-chicony.c
hid-core.c HID: Add driver to fix Speedlink VAD Cezanne support 2011-06-08 09:45:37 +02:00
hid-cypress.c
hid-debug.c
hid-dr.c
hid-elecom.c
hid-emsff.c
hid-ezkey.c
hid-gaff.c
hid-gyration.c
hid-ids.h HID: Add driver to fix Speedlink VAD Cezanne support 2011-06-08 09:45:37 +02:00
hid-input.c HID: assorted usage updates from hut 1.12 2011-05-18 17:07:34 +02:00
hid-kensington.c
hid-keytouch.c
hid-kye.c
hid-lcpower.c
hid-lg2ff.c
hid-lg3ff.c
hid-lg4ff.c
hid-lg.c HID: Fix Logitech Driving Force Pro wheel 2011-06-07 15:48:05 +02:00
hid-lg.h
hid-lgff.c Merge branches 'doc', 'multitouch', 'upstream' and 'upstream-fixes' into for-linus 2011-05-23 12:49:25 +02:00
hid-magicmouse.c Merge branches 'doc', 'multitouch', 'upstream' and 'upstream-fixes' into for-linus 2011-05-23 12:49:25 +02:00
hid-microsoft.c
hid-monterey.c
hid-multitouch.c HID: hid-multitouch: cosmetic changes, sort classes and devices 2011-05-23 11:17:16 +02:00
hid-ntrig.c
hid-ortek.c
hid-petalynx.c
hid-picolcd.c Merge branch 'master' into upstream. 2011-05-18 17:06:49 +02:00
hid-pl.c
hid-prodikeys.c
hid-quanta.c
hid-roccat-arvo.c
hid-roccat-arvo.h
hid-roccat-common.c
hid-roccat-common.h
hid-roccat-kone.c
hid-roccat-kone.h
hid-roccat-koneplus.c HID: roccat: fix actual/startup profile sysfs attribute in koneplus 2011-05-18 16:34:06 +02:00
hid-roccat-koneplus.h HID: roccat: fix actual/startup profile sysfs attribute in koneplus 2011-05-18 16:34:06 +02:00
hid-roccat-kovaplus.c
hid-roccat-kovaplus.h
hid-roccat-pyra.c
hid-roccat-pyra.h
hid-roccat.c
hid-samsung.c
hid-sjoy.c
hid-sony.c HID: hid-sony: fix endiannes of Sixaxis accel/gyro values 2011-06-13 13:21:30 +02:00
hid-speedlink.c HID: Add driver to fix Speedlink VAD Cezanne support 2011-06-08 09:45:37 +02:00
hid-sunplus.c
hid-tmff.c
hid-topseed.c
hid-twinhan.c
hid-uclogic.c
hid-wacom.c
hid-waltop.c
hid-zpff.c
hid-zydacron.c
hidraw.c HID: 'name' and 'phys' in 'struct hid_device' can never be NULL 2011-05-18 13:23:31 +02:00
Kconfig HID: Add driver to fix Speedlink VAD Cezanne support 2011-06-08 09:45:37 +02:00
Makefile HID: Add driver to fix Speedlink VAD Cezanne support 2011-06-08 09:45:37 +02:00