os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/testdata/h4hrp/t_digitiser.ini
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
# This is the global environment file to configure the touch-screen test suite on a specific device
sl@0
     2
# The current default touch screen test suite values are configured for TI OMAP 2420 (H4) hardware digitiser device
sl@0
     3
# Licencees may need to configure below values to specific devices and also where applicable,
sl@0
     4
# check supported HAL Enum's
sl@0
     5
sl@0
     6
sl@0
     7
[generic]
sl@0
     8
sl@0
     9
# A timeout value in microseconds. 
sl@0
    10
# This is a 10 second timeout used in the manual testcases
sl@0
    11
minTimeout                      =1000000
sl@0
    12
sl@0
    13
# A timeout value in microseconds. 
sl@0
    14
# This is a 50 second timeout used in the manual testcases
sl@0
    15
maxTimeout                      =5000000
sl@0
    16
sl@0
    17
# Defines the error margin in pixels that the digitiser test suite will cater for.
sl@0
    18
errorMargin                     =10
sl@0
    19
sl@0
    20
sl@0
    21
# A hexadecimal value used to represent keycode values used in tests where manual confirmation 
sl@0
    22
# is required via a key press. 
sl@0
    23
# The keycode value represents the TKeyCode enum value, by default the hexadecimal value
sl@0
    24
# used in this suite is the 'one' key.
sl@0
    25
# (Please note that some of these mappings are device dependant).
sl@0
    26
keyCode                         =0x0031
sl@0
    27
sl@0
    28
[confirm]
sl@0
    29
instructions                    =Press the number one key to pass the test case. Any key to fail.
sl@0
    30
sl@0
    31
[exitBox]
sl@0
    32
# Defines the horizontal co-ordinate value for the positioning of the exit box.
sl@0
    33
minX                      =10
sl@0
    34
sl@0
    35
# Defines the vertical co-ordinate  value for the positioning of the exit box.
sl@0
    36
minY                      =100
sl@0
    37
sl@0
    38
# Defines the horizontal co-ordinate value for the positioning of the exit box.
sl@0
    39
maxX                      =40
sl@0
    40
sl@0
    41
# Defines the vertical co-ordinate  value for the positioning of the exit box.
sl@0
    42
maxY                      =120
sl@0
    43
sl@0
    44
sl@0
    45
[randomPixels]
sl@0
    46
# Defaults values used in the scenario where the user has
sl@0
    47
# to touch any pixel on the screen with a stylus, and manually confirm if a test has passed.
sl@0
    48
instructions                    =Touch any number of screen pixels randomly with stylus. To exit testcase hit the exit box.
sl@0
    49
pixelfeedback                   =Did the pixels hightlight correctly? Press the number one key to pass the test case. Any key to fail.
sl@0
    50
sl@0
    51
# Defines the number of pixels that will need to be verified. In the default scenario we are using -1 to indicate an unlimited number of 
sl@0
    52
# pixels, for example here the use of the number 3 would indicate three pixels to verify.
sl@0
    53
pointsTotal                     =-1
sl@0
    54
sl@0
    55
[randomLine]
sl@0
    56
instructions                    =Draw a straight line from any point to any point. To exit testcase hit the exit box.
sl@0
    57
pixelfeedback                   =Did correct pixels hightlight? Press the number one key to pass the test case. Any key to fail.
sl@0
    58
sl@0
    59
# Defines the number of pixels that will need to be verified. In the default scenario we are using -1 to indicate an unlimited number of 
sl@0
    60
# pixels
sl@0
    61
pointsTotal                     =3
sl@0
    62
sl@0
    63
[preDrawnDots]
sl@0
    64
# Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
sl@0
    65
# to touch each pixel with a stylus.
sl@0
    66
instructions                    =Touch the inside the drawn rectangle. To exit testcase hit the exit box
sl@0
    67
sl@0
    68
# Defines the number of pixels that will be predrawn on the screen ready to verify.
sl@0
    69
pointsTotal                     =3
sl@0
    70
sl@0
    71
# Define the predrawn co-ordinates here there are 3 but this can be increased by adding further values
sl@0
    72
# i.e 4_x and so forth
sl@0
    73
1_x		                =30
sl@0
    74
1_y		                =210
sl@0
    75
sl@0
    76
2_x		                =180
sl@0
    77
2_y		                =60
sl@0
    78
sl@0
    79
3_x		                =200
sl@0
    80
3_y		                =300
sl@0
    81
sl@0
    82
sl@0
    83
[preDrawnRect]
sl@0
    84
# Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
sl@0
    85
# to touch each pixel with a stylus.
sl@0
    86
sl@0
    87
instructions                    =With stylus, draw a line within this box. To exit testcase hit the exit box
sl@0
    88
sl@0
    89
# Defines the number of pixels that will be predrawn on the screen ready to verify
sl@0
    90
eventTotal                     =3
sl@0
    91
sl@0
    92
# Default values used in the scenario where a line is predrawn on the screen, and the user has
sl@0
    93
# to follow the line with a stylus. the values below indicate the defualt Top left and bottom right of that rect
sl@0
    94
tl_x                             =80
sl@0
    95
tl_y                             =180
sl@0
    96
sl@0
    97
br_x                             =200
sl@0
    98
br_y                             =200
sl@0
    99
sl@0
   100
[colour]
sl@0
   101
# The mask value of the colour black
sl@0
   102
black                           =0x00
sl@0
   103
# The mask value of the colour white
sl@0
   104
white                           =0xFF
sl@0
   105
sl@0
   106
[displayMode]
sl@0
   107
# Define  the mode display mode for the  screen to use in these tests
sl@0
   108
value                           ={displayMode,defaultmode}  
sl@0
   109
expected                        ={displayMode,defaultmode} 
sl@0
   110
sl@0
   111
# Define  the default mode display mode for the  screen
sl@0
   112
defaultmode                     ={displayMode,mode3}  
sl@0
   113
sl@0
   114
# Define  display mode for the  screen
sl@0
   115
mode0                           =0
sl@0
   116
sl@0
   117
# Define  display mode for the  screen
sl@0
   118
mode1                           =1
sl@0
   119
sl@0
   120
# Define  display mode for the  screen
sl@0
   121
mode2                           =2
sl@0
   122
sl@0
   123
# Define  display mode for the  screen
sl@0
   124
mode3                           =3
sl@0
   125
sl@0
   126
# Define  display mode for the  screen
sl@0
   127
mode4                           =4
sl@0
   128
sl@0
   129
[haldata]
sl@0
   130
sl@0
   131
# Default value of the the pen/digitizer horizontal resolution, in pixels
sl@0
   132
ePenXValue                     =365
sl@0
   133
sl@0
   134
# Default value of the pen/digitizer vertical resolution, in pixels.
sl@0
   135
ePenYValue                     =280
sl@0
   136
sl@0
   137
[halDataOff]
sl@0
   138
# Default value of the the HAL Data to set or get. 
sl@0
   139
value                   =0
sl@0
   140
expected                =0
sl@0
   141
sl@0
   142
[halDataOn]
sl@0
   143
# Default value of the the HAL Data to set or get
sl@0
   144
value                   =1
sl@0
   145
expected                =1
sl@0
   146
                           
sl@0
   147
[rawEvent]
sl@0
   148
# Defines the Enum strings used by TRawEvent.
sl@0
   149
sl@0
   150
# Represents an uninitialised event object.
sl@0
   151
none                            =ENone     
sl@0
   152
sl@0
   153
# EPointerMove A pointer device (e.g. a pen) has moved. Only changes in Cartesian coordinates are tracked.
sl@0
   154
pointerMove  		        =EPointerMove
sl@0
   155
sl@0
   156
# A switch on event caused by a screen tap using a pointer device.
sl@0
   157
pointerSwitchOn                 =EPointerSwitchOn 
sl@0
   158
sl@0
   159
# Represents a keyboard key down event. 
sl@0
   160
keyDown                         =EKeyDown 
sl@0
   161
sl@0
   162
#Represents a keyboard key up event.
sl@0
   163
keyUp                           =EKeyUp 
sl@0
   164
sl@0
   165
# Represents a redraw event.
sl@0
   166
redraw                          =ERedraw 
sl@0
   167
sl@0
   168
# Represents a device switch on event.
sl@0
   169
switchOn                        =ESwitchOn 
sl@0
   170
sl@0
   171
active                          =EActive 
sl@0
   172
 
sl@0
   173
inactive                        =EInactive 
sl@0
   174
 
sl@0
   175
# Represents a modifier key being pressed.
sl@0
   176
updateModifiers                 =EUpdateModifiers
sl@0
   177
sl@0
   178
# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen
sl@0
   179
button1Down  		       =EButton1Down
sl@0
   180
sl@0
   181
# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
sl@0
   182
button1Up                       =EButton1Up
sl@0
   183
sl@0
   184
# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
sl@0
   185
button2Down                    =EButton2Down 
sl@0
   186
sl@0
   187
# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
sl@0
   188
button2Up                      =EButton2Up 
sl@0
   189
sl@0
   190
# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
sl@0
   191
button3Down                    =EButton3Down 
sl@0
   192
sl@0
   193
# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
sl@0
   194
button3Up                      =EButton3Up 
sl@0
   195
sl@0
   196
# Represents a device switch off event.
sl@0
   197
switchOff                      =ESwitchOff 
sl@0
   198
 
sl@0
   199
# Represents a key being continually pressed event.
sl@0
   200
keyRepeat                      =EKeyRepeat
sl@0
   201
 
sl@0
   202
# Represents a case open event. The meaning of a case is hardware specific.
sl@0
   203
caseOpen                       =ECaseOpen
sl@0
   204
sl@0
   205
# Represents a case close event. The meaning of a case is hardware specific. 
sl@0
   206
caseClose                      =ECaseClose 
sl@0
   207
sl@0
   208
# Represents a device restart 
sl@0
   209
restartSystem                  =ERestartSystem 
sl@0
   210