Here's an config for the Gioteck SC-1 (a nice xbox style wireless ps3 controller)
[Gioteck CS-1]
VID=25f0
PID=83c1
Polltype=1
DPAD=1
Power=1,10
A=0,02
B=0,04
X=0,08
Y=0,01
Z=0,20
L=0,40
R=0,80
S=1,02
Left=2,06
Down=2,04
Right=2,02
Up=2,00
RightUp=2,01
DownRight=2,03
DownLeft=2,05
UpLeft=2,07...