Skip to content

Commit 944f17d

Browse files
committed
Switch tablet dimensions from inches to mm
Change the Width/Height fields in our .tablet files to mm instead of inches and add a new API to get that value in mm, the existing API remains for backwards compatibility. For easier transition print a warning if we have a width/height under 20 because that can't possibly be a mm value. Closes #864
1 parent 44df53b commit 944f17d

610 files changed

Lines changed: 1293 additions & 1222 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

data/chuwi-minibookx.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
Name=Chuwi Minibook X
99
Class=ISDV4
1010
DeviceMatch=i2c|27c6|011a
11-
Width=9
12-
Height=6
11+
Width=229
12+
Height=152
1313
IntegratedIn=Display;System;
1414
Styli=0x621
1515

data/dell-canvas-27.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ ModelName=
2424
Class=Cintiq
2525
DeviceMatch=usb|056a|4200
2626
PairedID=usb|2575|0204
27-
Width=23
28-
Height=13
27+
Width=584
28+
Height=330
2929
# No pad buttons, so no layout
3030
Styli=@generic-no-eraser;
3131
IntegratedIn=Display

data/elan-0732.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Name=ELAN 0732
44
ModelName=
55
DeviceMatch=i2c|04f3|271c
66
Class=ISDV4
7-
Width=12
8-
Height=7
7+
Width=305
8+
Height=178
99
IntegratedIn=Display;System
1010

1111
[Features]

data/elan-2072.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
Name=ELAN 2072
55
ModelName=
66
DeviceMatch=usb|04f3|2072
7-
Width=12
8-
Height=7
7+
Width=305
8+
Height=178
99
Class=PenDisplay
1010
IntegratedIn=Display;System
1111
Styli=@generic-no-eraser;

data/elan-22f7.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Name=Nuvision Solo 10 Draw
1010
ModelName=
1111
DeviceMatch=i2c|04f3|22f7
1212
Class=ISDV4
13-
Width=10
14-
Height=6
13+
Width=254
14+
Height=152
1515
IntegratedIn=Display;System
1616

1717
[Features]

data/elan-24d8.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Name=ELAN 24D8
55
ModelName=
66
DeviceMatch=i2c|04f3|2ad8;
77
Class=ISDV4
8-
Width=12
9-
Height=7
8+
Width=305
9+
Height=178
1010
IntegratedIn=Display;System;
1111
Styli=@generic-with-eraser;
1212

data/elan-24db.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Name=ELAN 24DB
55
ModelName=
66
DeviceMatch=i2c|04f3|24db
77
Class=ISDV4
8-
Width=12
9-
Height=7
8+
Width=305
9+
Height=178
1010
IntegratedIn=Display;System
1111

1212
[Features]

data/elan-2513.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Name=ELAN 2513
1515
ModelName=
1616
DeviceMatch=i2c|04f3|2b5f;i2c|04f3|2f9d
1717
Class=ISDV4
18-
Width=12
19-
Height=7
18+
Width=305
19+
Height=178
2020
IntegratedIn=Display;System
2121

2222
[Features]

data/elan-2514-alt.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Name=ELAN 2514
88
ModelName=
99
DeviceMatch=i2c|004f3|23db
1010
Class=ISDV4
11-
Width=12
12-
Height=7
11+
Width=305
12+
Height=178
1313
IntegratedIn=Display;System
1414

1515
[Features]

data/elan-2514-alt2.tablet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Name=ELAN 2514
1717
ModelName=
1818
DeviceMatch=i2c|04f3|29cf;i2c|04f3|25bf;
1919
Class=ISDV4
20-
Width=14
21-
Height=8
20+
Width=356
21+
Height=203
2222
IntegratedIn=Display;System
2323

2424
[Features]

0 commit comments

Comments
 (0)