On Sat, 15 Feb 2014, Frank Praznik wrote: > The battery_charging and cable_state flags were backwards on the Sixaxis. > The low bit of report byte 30 is 0 when charging and 1 when not. > Bit 5 of byte 31 is 0 when a USB cable is connected and 1 when not. > > Signed-off-by: Frank Praznik <frank.praznik@xxxxxxxxx> Applied, thanks Frank. -- Jiri Kosina SUSE Labs -- 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