blob: e23bbf0347af1c045166d0a44c06136b0462c2ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Index: xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator
===================================================================
--- xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator (revision 0)
+++ xserver-common/X11/Xsession.d/89xTs_Calibrate_xinput_calibrator (revision 0)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ -e /usr/bin/xinput_calibrator_once.sh ] ; then
+ if [ -e /etc/pointercal.xinput ] ; then
+ if [ -e /usr/bin/fsoraw ] ; then
+ # because ts tap to unblank will be used as first calibration click and then store invalid calibration
+ fsoraw -fr CPU,Display -- /usr/bin/xinput_calibrator_once.sh
+ else
+ /usr/bin/xinput_calibrator_once.sh
+ fi
+ fi
+fi
|