aboutsummaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index aeffccd..753a7b0 100644
--- a/src/device.c
+++ b/src/device.c
@@ -387,6 +387,7 @@ device_kind_to_string (UpDeviceKind kind)
case UP_DEVICE_KIND_MEDIA_PLAYER: return "media-player";
case UP_DEVICE_KIND_TABLET: return "tablet";
case UP_DEVICE_KIND_COMPUTER: return "computer";
+ case UP_DEVICE_KIND_GAMING_INPUT: return "gaming-input";
default: return "unknown";
}
}
@@ -563,6 +564,10 @@ device_kind_to_localised_string (UpDeviceKind kind)
/* TRANSLATORS: tablet device */
text = _("Computer");
break;
+ case UP_DEVICE_KIND_GAMING_INPUT:
+ /* TRANSLATORS: game controller/joystick with internal batteries */
+ text = _("Gaming input");
+ break;
case UP_DEVICE_KIND_UNKNOWN:
/* TRANSLATORS: unknown device */
text = _("Unknown");