fixed touchscreen params, credits tytung
This commit is contained in:
parent
70259989da
commit
65dbcc5639
@ -15,31 +15,16 @@
|
||||
#
|
||||
# Input Device Calibration File for the Leo touch screen.
|
||||
#
|
||||
# These calibration values are derived from empirical measurements
|
||||
# and may not be appropriate for use with other touch screens.
|
||||
# Refer to the input device calibration documentation for more details.
|
||||
#
|
||||
|
||||
# Basic Parameters
|
||||
touch.deviceType = touchScreen
|
||||
touch.orientationAware = 1
|
||||
|
||||
# Touch Size
|
||||
touch.touchSize.calibration = pressure
|
||||
|
||||
# Tool Size
|
||||
# Driver reports tool size as a linear width measurement summed over
|
||||
# all contact points.
|
||||
#
|
||||
# Raw width field measures approx. 1 unit per millimeter
|
||||
# of tool size on the surface where a raw width of 1 corresponds
|
||||
# to about 17mm of physical size. Given that the display resolution
|
||||
# is 10px per mm we obtain a scale factor of 10 pixels / unit and
|
||||
# a bias of 160 pixels. In addition, the raw width represents a
|
||||
# sum of all contact area so we note this fact in the calibration.
|
||||
touch.toolSize.calibration = linear
|
||||
touch.toolSize.linearScale = 10
|
||||
touch.toolSize.linearBias = 160
|
||||
touch.toolSize.isSummed = 1
|
||||
# Size
|
||||
touch.size.calibration = diameter
|
||||
touch.size.scale = 10
|
||||
touch.size.bias = 0
|
||||
touch.size.isSummed = 0
|
||||
|
||||
# Pressure
|
||||
# Driver reports signal strength as pressure.
|
||||
@ -53,11 +38,7 @@ touch.toolSize.isSummed = 1
|
||||
# a featherlight touch will be below 1.0 and a heavy or large touch
|
||||
# will be above 1.0. We don't expect these values to be accurate.
|
||||
touch.pressure.calibration = amplitude
|
||||
touch.pressure.source = default
|
||||
touch.pressure.scale = 0.01
|
||||
|
||||
# Size
|
||||
touch.size.calibration = normalized
|
||||
touch.pressure.scale = 0.005
|
||||
|
||||
# Orientation
|
||||
touch.orientation.calibration = none
|
||||
|
Loading…
Reference in New Issue
Block a user