Fork me on GitHub

BaseJoystickListener Class

Summary

To recieve buffered joystick input, derive a class from this, and implement the methods here. Then set the call back to your JoyStick instance with JoyStick::setEventCallback Each JoyStick instance can use the same callback class, as a devID number will be provide to differentiate between connected joysticks. Of course, each can have a seperate callback instead.
Namespace
SharpInputSystem
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IJoystickListener"] click Interface0 "/sharpinputsystem/api/SharpInputSystem/IJoystickListener" Type["BaseJoystickListener"] class Type type-node

Syntax

public abstract class BaseJoystickListener : IJoystickListener

Methods