commit | 914c578391c7cf55d88e2a553208e7523d0ddf1a | [log] [tgz] |
---|---|---|
author | Frank Praznik <frank.praznik@oh.rr.com> | Sat Mar 15 09:41:15 2014 -0400 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Apr 01 18:44:06 2014 +0200 |
tree | 487929d4522bb9de85996c3a077477c5101f03af | |
parent | dccf2f65e68d2f5b5e86ae6cf9796cf558694953 [diff] |
HID: sony: Fix Sixaxis cable state detection Byte 31 of the Sixaxis report can change depending on whether or not the controller is rumbling. Using bit 3 is the only reliable way to detect the state of the cable regardless of rumble activity. Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>