direcs  2012-09-30
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
joyreaderMacOS.h File Reference
#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>
Include dependency graph for joyreaderMacOS.h:
This graph shows which files directly or indirectly include this file:

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

Function Documentation

int JoyReaderLoadJoystickCalibrationInfo ( int  nJoystick,
JoyReader  joystick[] 
)

Definition at line 584 of file joyreaderMacOS.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

FILE* JoyReaderOpenJoystickCalibrationFile ( const char  mode[])

Definition at line 560 of file joyreaderMacOS.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int JoyReaderSaveJoystickCalibrationInfo ( int  nJoystick,
JoyReader  joystick[] 
)

Definition at line 565 of file joyreaderMacOS.cpp.

Here is the call graph for this function:

int JoyReaderSetUpJoystick ( int &  nJoystick,
JoyReader  joystick[],
int  maxNumJoystick 
)

Definition at line 552 of file joyreaderMacOS.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

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.