ButtonNotify Class Reference

#include <TrcJoystick.h>

List of all members.

Public Member Functions

virtual void NotifyButton (__in UINT32 port, __in UINT16 maskButton, __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.


Member Function Documentation

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

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

Parameters:
port Specifies the joystick port.
maskButton Specifies the joystick button bit mask.
fPressed If true, specifies the button is pressed, false otherwise.

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

Generated by  doxygen 1.6.2