════════════════════════════════════════════════
30
Option
"Emulate3Buttons"
Option
"Emulate3Timeout" "50"
Option
"SendCoreEvents" "yes"
Option
"TouchBeepMode" "0"
Option
"TouchBeepVolume" "100"
Option
"TouchBeepPitch" "2468"
Option
"TouchBeepDuration" "20"
EndSection
Section "InputDevice"
Identifier "TSPS2_Calibration”
Driver
"tsps2xp"
EndSection
Note:
• The instructions above are case-sensitive.
• Checkout that you don’t have two drivers configured which use the same PS2-device ("/dev/psaux").
• The Option “TouchBeepMode” specifies the touch feedback sound mode:
Use Option “TouchBeepMode” “0” for silence ( no sound ).
Use Option “TouchBeepMode” “1” for beep when lift-off.
Use Option “TouchBeepMode” “2” for beep when touch-down.
Use Option “TouchBeepMode” “3” for beep when touch-down or lift-off.
• The PC mainboard timer 8254 is clocked at 1.19 MHz, hence the tone is 1190000/frequency, and the
Option "TouchBeepPitch" indicates the frequency.
(2) Add two InputDevice lines to the ServerLayout Section:
Section "ServerLayout"
InputDevice "TSPS2_Touchscreen" "SendCoreEvents"
InputDevice "TSPS2_Calibration"
EndSection
Note:
• The instructions above are case-sensitive.
• If no pointer device configed to "CorePointer", you can change the "SendCoreEvents" to "CorePointer"
in the InputDevice "TSPS2_Touchscreen" line.
(3) Save changes to the config file and restart X Server.
Calibration
To calibrate the touchscreen, run the “tsps2_calibrate”, under XWindow. It has been tested with XFree86 version
4.2.0, 4.2.1 and 4.3.0. The user who runs the calibration program must have permissions to access (read/write)
“tsps2-config” file.