summaryrefslogtreecommitdiff
path: root/lib/bluetooth-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bluetooth-client.c')
-rw-r--r--lib/bluetooth-client.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index d35725bc..3e1ee392 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -297,7 +297,14 @@ device_resolve_type_and_icon (Device1 *device, BluetoothType *type, const char *
g_return_if_fail (type);
g_return_if_fail (icon);
- *type = bluetooth_appearance_to_type (device1_get_appearance (device));
+ if (g_strcmp0 (device1_get_name (device), "ION iCade Game Controller") == 0) {
+ *type = BLUETOOTH_TYPE_JOYPAD;
+ *icon = "input-gaming";
+ return;
+ }
+
+ if (*type == 0 || *type == BLUETOOTH_TYPE_ANY)
+ *type = bluetooth_appearance_to_type (device1_get_appearance (device));
if (*type == 0 || *type == BLUETOOTH_TYPE_ANY)
*type = bluetooth_class_to_type (device1_get_class (device));