summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-10-24 12:52:33 +0200
committerBastien Nocera <hadess@hadess.net>2019-10-24 12:52:53 +0200
commit85cd95ae53499788a0df86af28876ec27074caa2 (patch)
treed6c664dded944e8e115af76c5256d31a3f21164c
parent72b85b8c1371f3396c293d9a2aa373b6a7551f63 (diff)
downloadupower-85cd95ae53499788a0df86af28876ec27074caa2.tar.gz
linux: Detect Bluetooth penswip/hadess/add-pen-device-type
Numbers from: https://www.bluetooth.com/specifications/assigned-numbers/baseband/
-rw-r--r--src/linux/up-device-bluez.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/linux/up-device-bluez.c b/src/linux/up-device-bluez.c
index 2074746..8673d82 100644
--- a/src/linux/up-device-bluez.c
+++ b/src/linux/up-device-bluez.c
@@ -52,6 +52,9 @@ appearance_to_kind (guint16 appearance)
return UP_DEVICE_KIND_GAMING_INPUT;
case 0x05:
return UP_DEVICE_KIND_TABLET;
+ case 0x0e:
+ case 0x0f:
+ return UP_DEVICE_KIND_PEN;
}
break;
}