Gamepad 0.0.2
Gamepad controller library (Internal)

Gamepad is a support library that aids Alien-Factory in the development of other libraries, frameworks and applications. Though you are welcome to use it, you may find features are missing and the documentation incomplete.

The Gamepad library lets you receive input data and events from USB connected gamepads.

Those who play XBox or Playstation are aware that the controllers are USB connected, but did you know you they also work on laptops and PCs!?

Well, they do!

Gamepad controllers are Human Input Devices (HID) over USB. This library wraps the Pure Java HID-API library to provide gamepad support in Fantom.

Read more...

Install

To install Gamepad with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install Gamepad with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afGamepad.pod (1.31 MB)

Use

To use Gamepad in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afGamepad 0.0.2 - 0.0"]

Documentation

Information

Meta information on the Gamepad pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
1.31 MB
Licence
ISC Licence (ISC)
Built on
11th Mar 2017
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afgamepad
Depends on
sys
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 2 releases of Gamepad: