os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/testdata/devlon52/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 'green ok' key.
sl@0
    25
# (Please note that some of these mappings are device dependant).
sl@0
    26
keyCode                         =0x00C4
sl@0
    27
sl@0
    28
[confirm]
sl@0
    29
instructions                    =Press the green ok 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
[preDrawnDots]
sl@0
    63
# Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
sl@0
    64
# to touch each pixel with a stylus.
sl@0
    65
instructions                    =Touch the inside the drawn rectangle. To exit testcase hit the exit box
sl@0
    66
sl@0
    67
# Defines the number of pixels that will be predrawn on the screen ready to verify
sl@0
    68
pointsTotal                     =3
sl@0
    69
sl@0
    70
# Define the predrawn co-ordinates here there are 3 but this can be increased by adding further values
sl@0
    71
# i.e 4_x and so forth
sl@0
    72
1_x		                =30
sl@0
    73
1_y		                =210
sl@0
    74
sl@0
    75
2_x		                =180
sl@0
    76
2_y		                =60
sl@0
    77
sl@0
    78
3_x		                =200
sl@0
    79
3_y		                =300
sl@0
    80
sl@0
    81
sl@0
    82
[preDrawnRect]
sl@0
    83
# Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
sl@0
    84
# to touch each pixel with a stylus.
sl@0
    85
sl@0
    86
instructions                    =With stylus, draw a line within this box. To exit testcase hit the exit box
sl@0
    87
sl@0
    88
# Defines the number of pixels that will be predrawn on the screen ready to verify
sl@0
    89
eventTotal                     =3
sl@0
    90
sl@0
    91
# Default values used in the scenario where a line is predrawn on the screen, and the user has
sl@0
    92
# to follow the line with a stylus. the values below indicate the defualt Top left and bottom right of that rect
sl@0
    93
tl_x                             =80
sl@0
    94
tl_y                             =180
sl@0
    95
sl@0
    96
br_x                             =200
sl@0
    97
br_y                             =200
sl@0
    98
sl@0
    99
[colour]
sl@0
   100
# The mask value of the colour black
sl@0
   101
black                           =0x00
sl@0
   102
# The mask value of the colour white
sl@0
   103
white                           =0xFF
sl@0
   104
sl@0
   105
[displayMode]
sl@0
   106
# Define  the mode display mode for the  screen to use in these tests
sl@0
   107
value                           ={displayMode,defaultmode}  
sl@0
   108
expected                        ={displayMode,defaultmode} 
sl@0
   109
sl@0
   110
# Define  the default mode display mode for the  screen
sl@0
   111
defaultmode                     ={displayMode,mode1}  
sl@0
   112
sl@0
   113
# Define  display mode for the  screen
sl@0
   114
mode0                           =0
sl@0
   115
sl@0
   116
# Define  display mode for the  screen
sl@0
   117
mode1                           =1
sl@0
   118
sl@0
   119
# Define  display mode for the  screen
sl@0
   120
mode2                           =2
sl@0
   121
sl@0
   122
# Define  display mode for the  screen
sl@0
   123
mode3                           =3
sl@0
   124
sl@0
   125
# Define  display mode for the  screen
sl@0
   126
mode4                           =4
sl@0
   127
sl@0
   128
[haldata]
sl@0
   129
sl@0
   130
# Default value of the the pen/digitizer horizontal resolution, in pixels
sl@0
   131
ePenXValue                     =640
sl@0
   132
sl@0
   133
# Default value of the pen/digitizer vertical resolution, in pixels.
sl@0
   134
ePenYValue                     =360
sl@0
   135
sl@0
   136
[halDataOff]
sl@0
   137
# Default value of the the HAL Data to set or get. 
sl@0
   138
value                   =0
sl@0
   139
expected                =0
sl@0
   140
sl@0
   141
[halDataOn]
sl@0
   142
# Default value of the the HAL Data to set or get
sl@0
   143
value                   =1
sl@0
   144
expected                =1
sl@0
   145
                           
sl@0
   146
[rawEvent]
sl@0
   147
# Defines the Enum strings used by TRawEvent.
sl@0
   148
sl@0
   149
# Represents an uninitialised event object.
sl@0
   150
none                            =ENone     
sl@0
   151
sl@0
   152
# EPointerMove A pointer device (e.g. a pen) has moved. Only changes in Cartesian coordinates are tracked.
sl@0
   153
pointerMove  		        =EPointerMove
sl@0
   154
sl@0
   155
# A switch on event caused by a screen tap using a pointer device.
sl@0
   156
pointerSwitchOn                 =EPointerSwitchOn 
sl@0
   157
sl@0
   158
# Represents a keyboard key down event. 
sl@0
   159
keyDown                         =EKeyDown 
sl@0
   160
sl@0
   161
#Represents a keyboard key up event.
sl@0
   162
keyUp                           =EKeyUp 
sl@0
   163
sl@0
   164
# Represents a redraw event.
sl@0
   165
redraw                          =ERedraw 
sl@0
   166
sl@0
   167
# Represents a device switch on event.
sl@0
   168
switchOn                        =ESwitchOn 
sl@0
   169
sl@0
   170
active                          =EActive 
sl@0
   171
 
sl@0
   172
inactive                        =EInactive 
sl@0
   173
 
sl@0
   174
# Represents a modifier key being pressed.
sl@0
   175
updateModifiers                 =EUpdateModifiers
sl@0
   176
sl@0
   177
# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen
sl@0
   178
button1Down  		       =EButton1Down
sl@0
   179
sl@0
   180
# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
sl@0
   181
button1Up                       =EButton1Up
sl@0
   182
sl@0
   183
# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
sl@0
   184
button2Down                    =EButton2Down 
sl@0
   185
sl@0
   186
# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
sl@0
   187
button2Up                      =EButton2Up 
sl@0
   188
sl@0
   189
# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
sl@0
   190
button3Down                    =EButton3Down 
sl@0
   191
sl@0
   192
# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
sl@0
   193
button3Up                      =EButton3Up 
sl@0
   194
sl@0
   195
# Represents a device switch off event.
sl@0
   196
switchOff                      =ESwitchOff 
sl@0
   197
 
sl@0
   198
# Represents a key being continually pressed event.
sl@0
   199
keyRepeat                      =EKeyRepeat
sl@0
   200
 
sl@0
   201
# Represents a case open event. The meaning of a case is hardware specific.
sl@0
   202
caseOpen                       =ECaseOpen
sl@0
   203
sl@0
   204
# Represents a case close event. The meaning of a case is hardware specific. 
sl@0
   205
caseClose                      =ECaseClose 
sl@0
   206
sl@0
   207
# Represents a device restart 
sl@0
   208
restartSystem                  =ERestartSystem