RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
org.wpilib.driverstation.TouchpadFinger Class Reference

Public Member Functions

 TouchpadFinger (boolean down, float x, float y)

Public Attributes

final boolean down
final float x
final float y

Detailed Description

Represents a finger on a touchpad.

Definition at line 8 of file TouchpadFinger.java.

Constructor & Destructor Documentation

◆ TouchpadFinger()

org.wpilib.driverstation.TouchpadFinger.TouchpadFinger ( boolean down,
float x,
float y )

Creates a TouchpadFinger object.

Parameters
downWhether the finger is touching the touchpad.
xThe x position of the finger.
yThe y position of the finger.

Definition at line 25 of file TouchpadFinger.java.

Member Data Documentation

◆ down

final boolean org.wpilib.driverstation.TouchpadFinger.down

Whether the finger is touching the touchpad.

Definition at line 10 of file TouchpadFinger.java.

◆ x

final float org.wpilib.driverstation.TouchpadFinger.x

The x position of the finger. 0 is at top left.

Definition at line 13 of file TouchpadFinger.java.

◆ y

final float org.wpilib.driverstation.TouchpadFinger.y

The y position of the finger. 0 is at top left.

Definition at line 16 of file TouchpadFinger.java.


The documentation for this class was generated from the following file: