Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

touch.h

00001 /* @(#)39       1.1.1.1  src/include/pos/touch.h, apicode, ptux1.2.0, 20 10/8/02 17:25:03 */
00002 
00003 /********************************************************************/
00004 /*  <touch.h> header file                                           */
00005 /*                                                                  */
00006 /*  Licensed Materials - Property of IBM                            */
00007 /*                                                                  */
00008 /*  IBM Point of Sale Subsystem                                     */
00009 /*  73G0950 (C) Copyright IBM Corporation 1994, 1995                */
00010 /*  All rights reserved                                             */
00011 /*                                                                  */
00012 /*  US Government Users Restricted Rights -                         */
00013 /*  Use, duplication, or disclosure restricted                      */
00014 /*  by GSA ADP Schedule Contract with IBM Corp.                     */
00015 /*                                                                  */
00016 /********************************************************************/
00017 
00018 #ifndef _H_POS_TOUCH
00019 #define _H_POS_TOUCH 1
00020 
00021 /***************************************************************/
00022 /* Values for the SUBTYPE field of ONLINE and OFFLINE messages */
00023 /***************************************************************/
00024 
00025 
00026 /* The following 2 names are included in this release for      */
00027 /* compatibility with the previous release only. They are      */
00028 /* being replaced by the more descriptive names which follow.  */
00029 /* They will be removed from this header in a future release.  */
00030 
00031 
00032 #define PosTOUCH_SUBTYPE_4695_A           1     /* 4695 10.4" mono  */
00033 #define PosTOUCH_SUBTYPE_4695_B           2     /* 4695  9.5" color */
00034 
00035 #define PosTOUCH_SUBTYPE_4695_104_M       1     /* 4695 10.4" mono  */
00036 #define PosTOUCH_SUBTYPE_4695_95_C        2     /* 4695  9.5" color */
00037 #define PosTOUCH_SUBTYPE_4695_104_C       3     /* 4695 10.4" color */
00038 #define PosTOUCH_SUBTYPE_4695_121_C       4     /* 4695 12.1" color */
00039 
00040 #define PosTOUCH_SUBTYPE_SUREPOINT_95_M  10     /* Sure Point  9.5" mono  */
00041 #define PosTOUCH_SUBTYPE_SUREPOINT_95_C  11     /* Sure Point  9.5" color */
00042 #define PosTOUCH_SUBTYPE_SUREPOINT_104_C 12     /* Sure Point 10.4" color */
00043 
00044 #define PosTOUCH_SUBTYPE_4820            13     /* Carlsbad */
00045 
00046 /***************************/
00047 /* PosTouch resource names */
00048 /***************************/
00049 
00050 #define PosNtouchBackLightOnEvent       "touchBackLightOnEvent"
00051 #define PosNtouchBrightness             "touchBrightness"
00052 #define PosNtouchClickVolume            "touchClickVolume"
00053 #define PosNtouchContrast               "touchContrast"
00054 #define PosNtouchEntryClick             "touchEntryClick"
00055 #define PosNtouchExitClick              "touchExitClick"
00056 #define PosNtouchMaxX                   "touchMaxX"
00057 #define PosNtouchMaxY                   "touchMaxY"
00058 #define PosNtouchMode                   "touchMode"
00059 #define PosNtouchScreenSaverTime        "touchScreenSaverTime"
00060 #define PosNtouchToneDuration           "touchToneDuration"
00061 #define PosNtouchToneFreq               "touchToneFreq"
00062 #define PosNtouchToneVolume             "touchToneVolume"
00063 
00064 
00065 /**************************/
00066 /* Touch resource classes */
00067 /**************************/
00068 
00069 #define PosCTouchBackLightOnEvent       "TouchBackLightOnEvent"
00070 #define PosCTouchBrightness             "TouchBrightness"
00071 #define PosCTouchClickVolume            "TouchClickVolume"
00072 #define PosCTouchContrast               "TouchContrast"
00073 #define PosCTouchEntryClick             "TouchEntryClick"
00074 #define PosCTouchExitClick              "TouchExitClick"
00075 #define PosCTouchMaxX                   "TouchMaxX"
00076 #define PosCTouchMaxY                   "TouchMaxY"
00077 #define PosCTouchMode                   "TouchMode"
00078 #define PosCTouchScreenSaverTime        "TouchScreenSaverTime"
00079 #define PosCTouchToneDuration           "TouchToneDuration"
00080 #define PosCTouchToneFreq               "TouchToneFreq"
00081 #define PosCTouchToneVolume             "TouchToneVolume"
00082 
00083 
00084 /*********************************/
00085 /* PosNtouchMode resource values */
00086 /*********************************/
00087 
00088 #define PosTOUCH_MODE_TRACKING          0x01
00089 #define PosTOUCH_MODE_ENTER             0x02
00090 #define PosTOUCH_MODE_EXIT              0x04
00091 
00092 
00093 /*************************/
00094 /* POSM_TOUCH_DATA flags */
00095 /*************************/
00096 
00097 #define PosTOUCH_BUTTON1_DOWN           0x0001
00098 #define PosTOUCH_ERROR                  0x0010
00099 
00100 //-----------------------------------
00101 // Request values used with PosIOCtl.
00102 //-----------------------------------
00103 #define POS_TOUCH_MTS_CALIBRATE       (6700 + 3)
00104 #define POS_TOUCH_MTS_RESET           (6700 + 4)
00105 #define POS_TOUCH_MTS_NATIVE             (6700 + 5)
00106 #define POS_TOUCH_MTS_EMULATION  (6700 + 6)
00107   
00108 //--------------------------------------
00109 // Event values used on the input queue.
00110 //--------------------------------------
00111 #define POSM_TOUCH_MTS_COMMAND        (POSM_MSG_BASE + 27)
00112 
00113 
00114 #endif   /* _H_POS_TOUCH */
00115 

 

L.A.B. Project © 2001-2004 LAB Project & DJ Anubis