#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <ctype.h>#include <sys/errno.h>#include <sysexits.h>#include <IOKit/hid/IOHIDLib.h>

Go to the source code of this file.
Classes | |
| class | YsJoyReader |
| class | YsJoyReaderAxis |
| class | YsJoyReaderButton |
| class | YsJoyReaderElement |
| class | YsJoyReaderHatSwitch |
Functions | |
| int | YsJoyReaderLoadJoystickCalibrationInfo (int nJoystick, YsJoyReader joystick[]) |
| FILE * | YsJoyReaderOpenJoystickCalibrationFile (const char mode[]) |
| int | YsJoyReaderSaveJoystickCalibrationInfo (int nJoystick, YsJoyReader joystick[]) |
| int | YsJoyReaderSetUpJoystick (int &nJoystick, YsJoyReader joystick[], int maxNumJoystick) |
Variables | |
| const int | YsJoyReaderMaxNumAxis =6 |
| const int | YsJoyReaderMaxNumButton =32 |
| const int | YsJoyReaderMaxNumHatSwitch =4 |
| int YsJoyReaderLoadJoystickCalibrationInfo | ( | int | nJoystick, |
| YsJoyReader | joystick[] | ||
| ) |
Definition at line 563 of file ysjoyreader.cpp.
| FILE* YsJoyReaderOpenJoystickCalibrationFile | ( | const char | mode[] | ) |
Definition at line 539 of file ysjoyreader.cpp.
| int YsJoyReaderSaveJoystickCalibrationInfo | ( | int | nJoystick, |
| YsJoyReader | joystick[] | ||
| ) |
Definition at line 544 of file ysjoyreader.cpp.
| int YsJoyReaderSetUpJoystick | ( | int & | nJoystick, |
| YsJoyReader | joystick[], | ||
| int | maxNumJoystick | ||
| ) |
Definition at line 531 of file ysjoyreader.cpp.
Definition at line 5 of file ysjoyreader.h.
Definition at line 6 of file ysjoyreader.h.
Definition at line 7 of file ysjoyreader.h.