Orxonox: src/ois/linux/EventHelpers.cpp File Reference

# EventHelpers.cpp File Reference

`#include "linux/EventHelpers.h"`
`#include "linux/LinuxPrereqs.h"`
`#include "linux/LinuxForceFeedback.h"`
`#include "OISException.h"`
`#include "OISJoyStick.h"`
`#include <linux/input.h>`
`#include <cstring>`

## Classes

class | DeviceComponentInfo

## Functions

DeviceComponentInfo | getComponentInfo (int deviceID)
bool | isBitSet (unsigned long bits[], unsigned int bit)

## Function Documentation

DeviceComponentInfo getComponentInfo | ( | int | deviceID | ) |

References DeviceComponentInfo::absAxes, DeviceComponentInfo::buttons, DeviceComponentInfo::hats, isBitSet(), and DeviceComponentInfo::relAxes.

Referenced by OIS::EventUtils::isJoyStick().

bool isBitSet | ( | unsigned long | bits[],
|  | unsigned int | bit |
| ) |  |  | `[inline]`

Referenced by OIS::EventUtils::enumerateForceFeedback(), and getComponentInfo().