os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/testdata/h4hrp/t_digitiser.ini
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/boardsupport/haitest/bspsvs/suite/bsp/digitiser/testdata/h4hrp/t_digitiser.ini Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,210 @@
1.4 +# This is the global environment file to configure the touch-screen test suite on a specific device
1.5 +# The current default touch screen test suite values are configured for TI OMAP 2420 (H4) hardware digitiser device
1.6 +# Licencees may need to configure below values to specific devices and also where applicable,
1.7 +# check supported HAL Enum's
1.8 +
1.9 +
1.10 +[generic]
1.11 +
1.12 +# A timeout value in microseconds.
1.13 +# This is a 10 second timeout used in the manual testcases
1.14 +minTimeout =1000000
1.15 +
1.16 +# A timeout value in microseconds.
1.17 +# This is a 50 second timeout used in the manual testcases
1.18 +maxTimeout =5000000
1.19 +
1.20 +# Defines the error margin in pixels that the digitiser test suite will cater for.
1.21 +errorMargin =10
1.22 +
1.23 +
1.24 +# A hexadecimal value used to represent keycode values used in tests where manual confirmation
1.25 +# is required via a key press.
1.26 +# The keycode value represents the TKeyCode enum value, by default the hexadecimal value
1.27 +# used in this suite is the 'one' key.
1.28 +# (Please note that some of these mappings are device dependant).
1.29 +keyCode =0x0031
1.30 +
1.31 +[confirm]
1.32 +instructions =Press the number one key to pass the test case. Any key to fail.
1.33 +
1.34 +[exitBox]
1.35 +# Defines the horizontal co-ordinate value for the positioning of the exit box.
1.36 +minX =10
1.37 +
1.38 +# Defines the vertical co-ordinate value for the positioning of the exit box.
1.39 +minY =100
1.40 +
1.41 +# Defines the horizontal co-ordinate value for the positioning of the exit box.
1.42 +maxX =40
1.43 +
1.44 +# Defines the vertical co-ordinate value for the positioning of the exit box.
1.45 +maxY =120
1.46 +
1.47 +
1.48 +[randomPixels]
1.49 +# Defaults values used in the scenario where the user has
1.50 +# to touch any pixel on the screen with a stylus, and manually confirm if a test has passed.
1.51 +instructions =Touch any number of screen pixels randomly with stylus. To exit testcase hit the exit box.
1.52 +pixelfeedback =Did the pixels hightlight correctly? Press the number one key to pass the test case. Any key to fail.
1.53 +
1.54 +# 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
1.55 +# pixels, for example here the use of the number 3 would indicate three pixels to verify.
1.56 +pointsTotal =-1
1.57 +
1.58 +[randomLine]
1.59 +instructions =Draw a straight line from any point to any point. To exit testcase hit the exit box.
1.60 +pixelfeedback =Did correct pixels hightlight? Press the number one key to pass the test case. Any key to fail.
1.61 +
1.62 +# 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
1.63 +# pixels
1.64 +pointsTotal =3
1.65 +
1.66 +[preDrawnDots]
1.67 +# Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
1.68 +# to touch each pixel with a stylus.
1.69 +instructions =Touch the inside the drawn rectangle. To exit testcase hit the exit box
1.70 +
1.71 +# Defines the number of pixels that will be predrawn on the screen ready to verify.
1.72 +pointsTotal =3
1.73 +
1.74 +# Define the predrawn co-ordinates here there are 3 but this can be increased by adding further values
1.75 +# i.e 4_x and so forth
1.76 +1_x =30
1.77 +1_y =210
1.78 +
1.79 +2_x =180
1.80 +2_y =60
1.81 +
1.82 +3_x =200
1.83 +3_y =300
1.84 +
1.85 +
1.86 +[preDrawnRect]
1.87 +# Defaults values used in the scenario when pixels are predrawn on the screen, and the user has
1.88 +# to touch each pixel with a stylus.
1.89 +
1.90 +instructions =With stylus, draw a line within this box. To exit testcase hit the exit box
1.91 +
1.92 +# Defines the number of pixels that will be predrawn on the screen ready to verify
1.93 +eventTotal =3
1.94 +
1.95 +# Default values used in the scenario where a line is predrawn on the screen, and the user has
1.96 +# to follow the line with a stylus. the values below indicate the defualt Top left and bottom right of that rect
1.97 +tl_x =80
1.98 +tl_y =180
1.99 +
1.100 +br_x =200
1.101 +br_y =200
1.102 +
1.103 +[colour]
1.104 +# The mask value of the colour black
1.105 +black =0x00
1.106 +# The mask value of the colour white
1.107 +white =0xFF
1.108 +
1.109 +[displayMode]
1.110 +# Define the mode display mode for the screen to use in these tests
1.111 +value ={displayMode,defaultmode}
1.112 +expected ={displayMode,defaultmode}
1.113 +
1.114 +# Define the default mode display mode for the screen
1.115 +defaultmode ={displayMode,mode3}
1.116 +
1.117 +# Define display mode for the screen
1.118 +mode0 =0
1.119 +
1.120 +# Define display mode for the screen
1.121 +mode1 =1
1.122 +
1.123 +# Define display mode for the screen
1.124 +mode2 =2
1.125 +
1.126 +# Define display mode for the screen
1.127 +mode3 =3
1.128 +
1.129 +# Define display mode for the screen
1.130 +mode4 =4
1.131 +
1.132 +[haldata]
1.133 +
1.134 +# Default value of the the pen/digitizer horizontal resolution, in pixels
1.135 +ePenXValue =365
1.136 +
1.137 +# Default value of the pen/digitizer vertical resolution, in pixels.
1.138 +ePenYValue =280
1.139 +
1.140 +[halDataOff]
1.141 +# Default value of the the HAL Data to set or get.
1.142 +value =0
1.143 +expected =0
1.144 +
1.145 +[halDataOn]
1.146 +# Default value of the the HAL Data to set or get
1.147 +value =1
1.148 +expected =1
1.149 +
1.150 +[rawEvent]
1.151 +# Defines the Enum strings used by TRawEvent.
1.152 +
1.153 +# Represents an uninitialised event object.
1.154 +none =ENone
1.155 +
1.156 +# EPointerMove A pointer device (e.g. a pen) has moved. Only changes in Cartesian coordinates are tracked.
1.157 +pointerMove =EPointerMove
1.158 +
1.159 +# A switch on event caused by a screen tap using a pointer device.
1.160 +pointerSwitchOn =EPointerSwitchOn
1.161 +
1.162 +# Represents a keyboard key down event.
1.163 +keyDown =EKeyDown
1.164 +
1.165 +#Represents a keyboard key up event.
1.166 +keyUp =EKeyUp
1.167 +
1.168 +# Represents a redraw event.
1.169 +redraw =ERedraw
1.170 +
1.171 +# Represents a device switch on event.
1.172 +switchOn =ESwitchOn
1.173 +
1.174 +active =EActive
1.175 +
1.176 +inactive =EInactive
1.177 +
1.178 +# Represents a modifier key being pressed.
1.179 +updateModifiers =EUpdateModifiers
1.180 +
1.181 +# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen
1.182 +button1Down =EButton1Down
1.183 +
1.184 +# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
1.185 +button1Up =EButton1Up
1.186 +
1.187 +# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
1.188 +button2Down =EButton2Down
1.189 +
1.190 +# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
1.191 +button2Up =EButton2Up
1.192 +
1.193 +# Represents a button down event. This is typically used to represent a pointing device coming into contact with a touch sensitive screen.
1.194 +button3Down =EButton3Down
1.195 +
1.196 +# Represents a button up event. This is typically used to represent a pointing device being lifted away from a touch sensitive screen.
1.197 +button3Up =EButton3Up
1.198 +
1.199 +# Represents a device switch off event.
1.200 +switchOff =ESwitchOff
1.201 +
1.202 +# Represents a key being continually pressed event.
1.203 +keyRepeat =EKeyRepeat
1.204 +
1.205 +# Represents a case open event. The meaning of a case is hardware specific.
1.206 +caseOpen =ECaseOpen
1.207 +
1.208 +# Represents a case close event. The meaning of a case is hardware specific.
1.209 +caseClose =ECaseClose
1.210 +
1.211 +# Represents a device restart
1.212 +restartSystem =ERestartSystem
1.213 +