Class to interface with Sparkfun's Blackberry Trackball Breakout Board.
Dependents: BBTrackball_Sample
CBBTrackball::SState Struct Reference
A structure in which the current state of the trackball is returned from the GetState() method. More...
#include <BBTrackball.h>
Data Fields | |
int | ButtonPressed |
1 if the button is currently pressed and 0 otherwise. | |
short | Up |
Number of upward pulses since last call. | |
short | Down |
Number of downward pulses since last call. | |
short | Left |
Number of leftward pulses since last call. | |
short | Right |
Number of rightward pulses since last call. |
Detailed Description
A structure in which the current state of the trackball is returned from the GetState() method.
- See also:
- GetState()
Definition at line 96 of file BBTrackball.h.
Field Documentation
int ButtonPressed |
1 if the button is currently pressed and 0 otherwise.
Definition at line 98 of file BBTrackball.h.
short Down |
Number of downward pulses since last call.
Definition at line 100 of file BBTrackball.h.
short Left |
Number of leftward pulses since last call.
Definition at line 101 of file BBTrackball.h.
short Right |
Number of rightward pulses since last call.
Definition at line 102 of file BBTrackball.h.
short Up |
Number of upward pulses since last call.
Definition at line 99 of file BBTrackball.h.
Generated on Tue Jul 12 2022 14:47:34 by 1.7.2