                

                    README file for drivers of MasTouch Surface Accoustic        
                    Wave Touchscreen in windows system with RS-232 interface Ver 3.0
                     Copyright 2003-2004 Master Touch Electrics Co.,Ltd.


    This file contains some useful information which may help you to make better use of our 
  products.

  1.Components of drivers 

         Install.exe     This program guides you to complete all the steps for installing the 
                         drivers.
        Mascalib.exe     Calibration program.
      Touchpanel.cpl     32 bit touchscreen control panel for windows system.
            Rbtn.exe     Simulate the function of right button.
           Write.exe     Demonstrate the effect of Z-axis.
          Sermou.inf     Some information for installation.
        Mastouch.hlp     Help files from which you can get useful information about how to use
                         our touchscreen.
          Readme.txt     It's me!

  2.Install

  2.1 Install drivers of touchscreen
      Take the following steps:
  (¢¡) Shut down your computer.
  (¢¢) Install the hardware of touchscreen: mounting the glass screen on monitor, connect 
       cables between COM port of computer to controller of touchscreen, connect the power plug
       of computer to controller,etc. 
  (¢£) Start the computer.
  (¢¤) After windows starts up, go to the directory where your drivers are stored, then double
       click the "Install" icon to run Install.exe.
  (¢¥) Follows the directions of every step displayed on screen.
  (¢¦) Choose the right COM port which the controller is attached to.
  (¢§) After the last step is over, restart the computer. The calibration program will 
       automatically run when windows starts up. Touch the center of the cross appearing on 
       screen, then test different areas of screen to see if the cursor moves to your finger. 
       If not, Click "Adjust again " to calibrate again;otherwise,click "OK" to exit calibration.
  2.2 Touchscreen Settings
   (¢¡) Click "start"¡ú "setting" ¡ú "Control panel",double click the "MasTouch" icon, then
        the setting menu displays on the screen.
   (¢¢) Using the setting menu, you can calibrate¡¢choose the right COM port¡¢set the Mouse 
        Button Emulation Mode¡¢Masp Mode¡¢Drag Delay and some other settings. For detailed 
        information, please read the MasTouch.hlp file, or click "start", then point to 
        "programs" ¡ú "MasTouch Touchscreen", and click  "MasTouch help".
  2.3  How to uninstall drivers of touchscreen
       Click "start", point to "program" ¡ú "MasTouch Touchscreen", click "uninstall 
       MasTouch". Then follow the directions displayed on the screen, restart the computer 
       after the last step is over to make the uninstallation valid.

  3.Calibration¡¢Right Button¡¢Handwriting Demo¡¢COM port and Z-axis capability.

  3.1 Calibration
    You can enter calibration by two ways: Click "start" ¡ú "setting" ¡ú "control panel" ¡ú 
    "MasTouch"; or click "start" ¡ú "program" ¡ú "MasTouch  Touchscreen" ¡ú "Calibration".
  3.2 Right button
    Though left button is enough in most circustances, right button may be necessary sometimes.
    Click "start" ¡ú "program" ¡ú "MasTouch Touchscreen" ¡ú "Right button", then click it, 
    the "Right button" icon will display at left-upper corner of screen, you can drag the icon 
    to everywhere on screen. 
    Touching the target after touching the Right Button icon means hitting right button on the 
    target. Click "¡Á" in "Right Button " icon, the icon will disappear.
  3.3 Handwriting Demo
    The surface accoustic wave touchscreen supports Z-axis coordinate, using "Handwriting Demo"
     you can see the effect of Z-axis respond.
  3.4 COM port
    You can choose the COM port attached to your touchscreen controller by two ways:
  (1) During the installation.
  (1) After you have complete the installation, Click "start" ¡ú "setting" ¡ú "control panel", 
      then click "Mastouch" icon to enter touchpanel to set the COM port. The COM port you 
      select must work properly while no any other equipments use it.
  3.5 Z-axis capability
    The surface accoustic wave touchscreen also supports Z-axis coordinate which isn't supported
     by other types of touchscreen, this can make things more active and interesting.
    Click "start" ¡ú "program"¡ú "MasTouch Touchscreen" ¡ú "Handwriting demo", you can see 
    the effect of Z-axis coordinate. To get information about how to obtain Z-axis coordinate 
    data, please read the following paragraph(API).

  4.Application Programming Interface(API)
    There're several export functions for our touchscreen:
  (1) Set MouseMode <MouseMode>
  (2) Set MaspMode<Maspmode><MaspFreq><MaspLen>
  (3) Set <Enable/Disable>
  (4) Get <MaspMode/MouseMode>
  (5) Get Z-axis data
    You can use Get MessageExtraInfo( ) to get Z-axis data. It's 0 for real mouse
    events, nonezero for touchscreen events. The following is the bit definitions for what you 
    get from GetMessageExtrainf( ):
  
    Bit:  31           24   23             16   15                           1 0
          0 0 0 0 0 0 0 0    x x x x x x x x     0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 

    Bit 0=1, Touchscreen Message
    Bit 1=1, Touchscreen Supports Z-axis coordinate, Bit 16¡«23 is the Z coordinate.

    Please contact us when you have any questions about out touchscreen:

                                 Master Touch Electrics Co.,Ltd.                                 http://www.MasTouch.com

                                     All right reserved
