Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142085885
D34435.id120916.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
754 B
Referenced Files
None
Subscribers
None
D34435.id120916.diff
View Options
diff --git a/sys/dev/hid/bcm5974.c b/sys/dev/hid/bcm5974.c
--- a/sys/dev/hid/bcm5974.c
+++ b/sys/dev/hid/bcm5974.c
@@ -327,9 +327,15 @@
.o = { SN_ORIENT,
-MAX_FINGER_ORIENTATION, MAX_FINGER_ORIENTATION, 0 },
},
+ /*
+ * NOTE: Actually force-sensitive. Pressure has a "size" equal to the max
+ * so that the "resolution" is 1 (i.e. values will be interpreted as grams).
+ * No scientific measurements have been done :) but a really hard press
+ * results in a value around 3500 on model 4.
+ */
[BCM5974_FLAG_WELLSPRING9] = {
.tp = tp + TYPE4,
- .p = { SN_PRESSURE, 0, 300, 0 },
+ .p = { SN_PRESSURE, 0, 4096, 4096 },
.w = { SN_WIDTH, 0, 2048, 0 },
.x = { SN_COORD, -4828, 5345, 105 },
.y = { SN_COORD, -203, 6803, 75 },
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 16, 10:08 PM (49 m, 58 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27671058
Default Alt Text
D34435.id120916.diff (754 B)
Attached To
Mode
D34435: bcm5974: fix wellspring9 pressure settings to handle force sensitivity
Attached
Detach File
Event Timeline
Log In to Comment