405 Documentation  9.0
touchDriver.py File Reference

Placement on touchscreen. More...

Classes

class  touchDriver.TouchPanel
 Tells where it is being touched. More...
 

Functions

def touchDriver.makeTouchDriver ()
 Touch Driver maker function. More...
 
def touchDriver.testPanel (panel)
 Test panel function. More...
 

Detailed Description

Placement on touchscreen.

Initializes a touchy class. Takes readings of where the attached touchscreen is being touched. Returns values for x location, y location, and whether or not the screen is even being touched.

Author
Hunter Morse
Date
Mar. 1, 2021

Function Documentation

◆ makeTouchDriver()

def touchDriver.makeTouchDriver ( )

Touch Driver maker function.

Creates a TouchPanel object with default values and uses the TouchDriver class

Parameters
None
Returns
panel A TouchPanel Object

◆ testPanel()

def touchDriver.testPanel (   panel)

Test panel function.

Tests whether pannel is being touched and how long it takes to work. Implements the TouchPanel class to do so. @params panel A TouchPanel object

Returns
None