TRC Library for FRC (2011) 2011
TRC Library Code Project

ButtonNotify Class Reference

#include <TrcJoystick.h>

List of all members.

Public Member Functions

virtual void NotifyButton (__in UINT32 port, __in UINT16 btnMask, __in bool fPressed)=0

Detailed Description

This abstract class defines the ButtonNotify object. The object is a callback interface. It is not meant to be created as an object. Instead, it should be inherited by a subclass who needs to be notified on the joystick button events.

Definition at line 87 of file TrcJoystick.h.


Member Function Documentation

virtual void ButtonNotify::NotifyButton ( __in UINT32  port,
__in UINT16  btnMask,
__in bool  fPressed 
) [pure virtual]

This function is provided by the subclass to handle a joystick button event notification.

Parameters:
portSpecifies the joystick port.
btnMaskSpecifies the joystick button bit mask.
fPressedIf true, specifies the button is pressed, false otherwise.

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Defines