Input Handling

PreviousNext

Joystick Subsystem API Documentation

Open a Joystick device

After enabling the subsystem, you have to open a Joystick device. A device is an object representing one of your Joysticks. A description about its functionality is described in the next section.

To open a Joystick device handler you simply need to create an instance of EM_JOYSTICK. The creation procedure are make_default and make_for_device

In the EiffelMedia all devices are numbered starting with 0. Device 0 is the system default Joystick device.

Quick link to Creation Procedures