| 40 | #endif |
| 41 | |
| 42 | InputDevice::InputDevice(SDL_Joystick *joystick, int deviceIndex, AntiMicroSettings *settings, QObject *parent) |
| 43 | : QObject(parent) |
| 44 | , m_calibrations(this) |
| 45 | { |
| 46 | buttonDownCount = 0; |
| 47 | joyNumber = deviceIndex; |
| 48 | active_set = 0; |
| 49 | joystickID = 0; |
| 50 | keyPressTime = 0; |
| 51 | m_joyhandle = joystick; |
| 52 | deviceEdited = false; |
| 53 | keyRepeatEnabled = false; |
| 54 | keyRepeatDelay = 0; |
| 55 | keyRepeatRate = 0; |
| 56 | rawAxisDeadZone = GlobalVariables::InputDevice::RAISEDDEADZONE; |
| 57 | m_settings = settings; |
| 58 | |
| 59 | registerDBusObject(); |
| 60 | } |
| 61 | |
| 62 | InputDevice::~InputDevice() { unregisterDBusObject(); } |
| 63 |
nothing calls this directly
no outgoing calls
no test coverage detected