Orxonox: src/ois/win32/Win32JoyStick.cpp File Reference

# Win32JoyStick.cpp File Reference

`#include "Win32/Win32JoyStick.h"`
`#include "Win32/Win32InputManager.h"`
`#include "Win32/Win32ForceFeedback.h"`
`#include "OISEvents.h"`
`#include "OISException.h"`
`#include <cassert>`

## Defines

#define | DIJOFS_BUTTON(n) (FIELD_OFFSET(DIJOYSTATE2, rgbButtons) + (n))
#define | DIJOFS_POV(n) (FIELD_OFFSET(DIJOYSTATE2, rgdwPOV)+(n)*sizeof(DWORD))
#define | DIJOFS_SLIDER0(n) (FIELD_OFFSET(DIJOYSTATE2, rglSlider)+(n) * sizeof(LONG))
#define | DIJOFS_SLIDER1(n) (FIELD_OFFSET(DIJOYSTATE2, rglVSlider)+(n) * sizeof(LONG))
#define | DIJOFS_SLIDER2(n) (FIELD_OFFSET(DIJOYSTATE2, rglASlider)+(n) * sizeof(LONG))
#define | DIJOFS_SLIDER3(n) (FIELD_OFFSET(DIJOYSTATE2, rglFSlider)+(n) * sizeof(LONG))

## Define Documentation

#define DIJOFS_BUTTON | ( | n |  | ) | (FIELD_OFFSET(DIJOYSTATE2, rgbButtons) + (n))

Referenced by OIS::Win32JoyStick::capture().

#define DIJOFS_POV | ( | n |  | ) | (FIELD_OFFSET(DIJOYSTATE2, rgdwPOV)+(n)*sizeof(DWORD))

Referenced by OIS::Win32JoyStick::capture().

#define DIJOFS_SLIDER0 | ( | n |  | ) | (FIELD_OFFSET(DIJOYSTATE2, rglSlider)+(n) * sizeof(LONG))

Referenced by OIS::Win32JoyStick::capture().

#define DIJOFS_SLIDER1 | ( | n |  | ) | (FIELD_OFFSET(DIJOYSTATE2, rglVSlider)+(n) * sizeof(LONG))

Referenced by OIS::Win32JoyStick::capture().

#define DIJOFS_SLIDER2 | ( | n |  | ) | (FIELD_OFFSET(DIJOYSTATE2, rglASlider)+(n) * sizeof(LONG))

Referenced by OIS::Win32JoyStick::capture().

#define DIJOFS_SLIDER3 | ( | n |  | ) | (FIELD_OFFSET(DIJOYSTATE2, rglFSlider)+(n) * sizeof(LONG))

Referenced by OIS::Win32JoyStick::capture().