PS3 Sixaxis controller won't charge over USB
The PS3 wireless controller won't change on simple wall chargers, even when using any combination of resistor signaling on the D+/D- pins. This is unlike Apple iPhones or Samsung phones or similar, which do use resistor voltage dividers to signal if it is a computer or weak charger or high capacity charger.

Sony has effectively made it so that only authorized chargers, or computers can charge the Sixaxis. This is done through enumeration of the usb connection.

This could be emulated through a microcontroller acting as a usb host (Attiny running V-USB), as @Shamtam has linked to in the comments.

See: https://gaming.stackexchange.com/questions/73919/what-wall-plug-chargers-can-be-used-to-charge-ps3-controllers