direcs
2012-09-30
|
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/errno.h>
#include <sysexits.h>
#include <IOKit/hid/IOHIDLib.h>
#include <QDebug>
Go to the source code of this file.
Classes | |
class | JoyReader |
class | JoyReaderAxis |
class | JoyReaderButton |
class | JoyReaderElement |
class | JoyReaderHatSwitch |
Functions | |
int | JoyReaderLoadJoystickCalibrationInfo (int nJoystick, JoyReader joystick[]) |
FILE * | JoyReaderOpenJoystickCalibrationFile (const char mode[]) |
int | JoyReaderSaveJoystickCalibrationInfo (int nJoystick, JoyReader joystick[]) |
int | JoyReaderSetUpJoystick (int &nJoystick, JoyReader joystick[], int maxNumJoystick) |
Variables | |
const int | JoyReaderMaxNumAxis = 6 |
const int | JoyReaderMaxNumButton = 32 |
const int | JoyReaderMaxNumHatSwitch = 4 |
int JoyReaderLoadJoystickCalibrationInfo | ( | int | nJoystick, |
JoyReader | joystick[] | ||
) |
Definition at line 584 of file joyreaderMacOS.cpp.
FILE* JoyReaderOpenJoystickCalibrationFile | ( | const char | mode[] | ) |
Definition at line 560 of file joyreaderMacOS.cpp.
int JoyReaderSaveJoystickCalibrationInfo | ( | int | nJoystick, |
JoyReader | joystick[] | ||
) |
int JoyReaderSetUpJoystick | ( | int & | nJoystick, |
JoyReader | joystick[], | ||
int | maxNumJoystick | ||
) |
Definition at line 552 of file joyreaderMacOS.cpp.
const int JoyReaderMaxNumAxis = 6 |
Definition at line 25 of file joyreaderMacOS.h.
const int JoyReaderMaxNumButton = 32 |
Definition at line 26 of file joyreaderMacOS.h.
const int JoyReaderMaxNumHatSwitch = 4 |
Definition at line 27 of file joyreaderMacOS.h.