Developer

API Reference

IJoystick

Brew Release
Brew MP 1.0.2
See Also
EVT_JOYSTICK_POS
Description

This file defines the IJoystick interface that controls the device joystick.
When created,the IJoystick interface enables the generation of joystick (X,Y) coordinates, which are received by the application as BREW joystick events (recommended) or through a polling read functionality (provided for versions of BREW earlier than 3.1.4).
The IJoystick interface further provides the capability for controlling the sample rate and inactivity timeout configuration parameters to the joystick device.
The following header file is required:
AEEJoystick.h
Usage
Create an object of type IJoystick to control the joystick device's sample rate and other configuration parameters. The recommended way to receive joystick event from BREW is through the joystick events, but polling functionality is also supported.
  • Follow