generic_touchscreen_examples

Examples for testing touchscreen components. touchscreen is called “Touch screen controller (EMR Stylus)”, “Touch screen Controller (non stylus)”, or “Touch screen controller (USI Stylus)” in AVL.

Inherit

StylusSpiralHoverMode

run_if

not constants.has_device_data or device.component.has_touchscreen

pytest_name

touchscreen

args

stylus
true
hover_mode
true

StylusSpiralTouchMode

run_if

not constants.has_device_data or device.component.has_touchscreen

pytest_name

touchscreen

args

stylus
true
hover_mode
false

StylusTopLeftToBottomLeft

run_if

not constants.has_device_data or device.component.has_stylus

pytest_name

stylus

args

endpoints_ratio
[
  [
    0,
    0
  ],
  [
    0,
    1
  ]
]

TouchDeviceFWUpdate

pytest_name

touch_device_fw_update

args

device_name
"MyTouchDevice"
fw_name
"xxx.bin"
fw_version
"160.0"

Touchscreen30x20

run_if

not constants.has_device_data or device.component.has_touchscreen

pytest_name

touchscreen

args

y_segments
30
x_segments
20

TouchscreenArbitraryOrder

run_if

not constants.has_device_data or device.component.has_touchscreen

pytest_name

touchscreen

args

spiral_mode
false

TouchscreenE2EMode

run_if

not constants.has_device_data or device.component.has_touchscreen

pytest_name

touchscreen

args

e2e_mode
true

TouchscreenWithoutTimeLimit

run_if

not constants.has_device_data or device.component.has_touchscreen

pytest_name

touchscreen

args

timeout_secs
null