IRTouch

From Bashlinux
Revision as of 03:45, 16 June 2015 by Manpaz (talk | contribs) (Created page with "__NOTOC__ Driver for IRTouch touchscreens with serial port and a serial-to-USB adapter. The device is commonly attached to the system as <tt>/dev/ttyUSB0</tt> === How to inst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Driver for IRTouch touchscreens with serial port and a serial-to-USB adapter. The device is commonly attached to the system as /dev/ttyUSB0

How to install IRTouch driver

# tar zxvf irtouch.1.13.X117.0.tgz
  • Go into installer folder
# cd irtouch
  • Run the installer
# ./install
  • Reboot the system

On next boot, the device will be recognized by the system, the chance the touchscreen is calibrated is 99.99%.

How to configure IRTouch driver

There are 2 ways to configure the device

  • Config file /etc/irtouch (Recommended)
minx=0;
miny=0;
maxx=4095;
maxy=4095;
mode=0;
Angle=180;
disabletouched=0;
ignorecount=0;
delayClickTime=0;
rightClickTime=0;
delayClickSize=0;
rightClickSize=30;
delayTouchTime=0;
comPortName=;
  • Xorg file /etc/X11/xorg.conf (Expert)
Section "ServerLayout"
InputDevice    "irtouch" "SendCoreEvents"
...
EndSection

...

Section  "InputDevice"
    Identifier "irtouch"
    Driver     "irtouch"
    Option     "ScreenNumber" "0"
    Option     "SendCoreEvents"
    Option     "MinX" "0"
    Option     "MaxX" "4095"
    Option     "MinY" "0"
    Option     "MaxY" "4095"
    Option     "SwapXY" "0"
EndSection

IRTouch Recommendations

  • Setting of touchscreen in strong light, rain and snow condition(As reference)
  • The snow and rain drop will be mistakenly a single touch. The function of "delayTouch" will do the work to prevent the false touch.

Settings Specification:

  • Alter "delayTouchTime" in /etc/irtouch and set the value from 10 million second to 1000 million second, common value :40-80 million second based on the condition.
  • Be sure not to start delayTouch if the value is 0.
Warning Touch response
The touch response can not be active if delayTouch function is on.