blob: 13624db097758409726a4602661894be6e568122 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 85cd95ae53499788a0df86af28876ec27074caa2 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Thu, 24 Oct 2019 12:52:33 +0200
Subject: [PATCH 1/3] linux: Detect Bluetooth pens
Numbers from:
https://www.bluetooth.com/specifications/assigned-numbers/baseband/
---
src/linux/up-device-bluez.c | 3 +++
1 file changed, 3 insertions(+)
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;
}
--
2.26.2
|