summaryrefslogtreecommitdiff
path: root/libupower-glib/up-types.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-10-24 12:50:26 +0200
committerBastien Nocera <hadess@hadess.net>2019-10-24 12:50:26 +0200
commit72b85b8c1371f3396c293d9a2aa373b6a7551f63 (patch)
treeb6e1d6ec884f3877ec59dd6c0c480b1a6a3c7417 /libupower-glib/up-types.h
parenta1a437d7b1e0a9ea46bf72c390c3aeaf6d61c07d (diff)
lib: Add "Pen" device type
So we can track the battery information for powered tablet pens, rather than labelling them as tablets.
Diffstat (limited to 'libupower-glib/up-types.h')
-rw-r--r--libupower-glib/up-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libupower-glib/up-types.h b/libupower-glib/up-types.h
index 079bccd..379d46c 100644
--- a/libupower-glib/up-types.h
+++ b/libupower-glib/up-types.h
@@ -49,6 +49,7 @@ typedef enum {
UP_DEVICE_KIND_TABLET,
UP_DEVICE_KIND_COMPUTER,
UP_DEVICE_KIND_GAMING_INPUT,
+ UP_DEVICE_KIND_PEN,
UP_DEVICE_KIND_LAST
} UpDeviceKind;