summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-10-15 15:28:42 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-10-16 01:46:09 +0200
commit7d3d42ac10a6482057101667afd603ce1e79b866 (patch)
treefba7c1aab14508a781374f0781baab7892052e92 /input
parentd6cab55f162d6635da787995710a32d7ec495b33 (diff)
Save name for the sixaxis controller
The name won't be there until we connect otherwise
Diffstat (limited to 'input')
-rw-r--r--input/sixpair.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/sixpair.c b/input/sixpair.c
index 3a2bd326..5c58b9b0 100644
--- a/input/sixpair.c
+++ b/input/sixpair.c
@@ -206,6 +206,7 @@ handle_device (libusb_device *dev, struct libusb_config_descriptor *cfg, int itf
str2ba(option_master, &src);
str2ba(device, &dst);
write_device_profiles(&src, &dst, "");
+ write_device_name(&src, &dst, "PLAYSTATION(R)3 Controller");
sdp_record_free(rec);
if (set_master_bdaddr (devh, itfnum, option_master) == FALSE) {