@@ -210,6 +210,8 @@ class BleGamepadConfiguration
210
210
bool _whichSpecialButtons[POSSIBLESPECIALBUTTONS];
211
211
bool _whichAxes[POSSIBLEAXES];
212
212
bool _whichSimulationControls[POSSIBLESIMULATIONCONTROLS];
213
+ bool _includeGyroscope;
214
+ bool _includeAccelerometer;
213
215
uint16_t _vid;
214
216
uint16_t _pid;
215
217
uint16_t _guidVersion;
@@ -227,8 +229,7 @@ class BleGamepadConfiguration
227
229
bool _enableOutputReport;
228
230
uint16_t _outputReportLength;
229
231
int8_t _powerLevel;
230
- bool _includeGyroscope;
231
- bool _includeAccelerometer;
232
+
232
233
233
234
public:
234
235
BleGamepadConfiguration ();
@@ -267,6 +268,8 @@ class BleGamepadConfiguration
267
268
bool getIncludeBrake ();
268
269
bool getIncludeSteering ();
269
270
const bool *getWhichSimulationControls () const ;
271
+ bool getIncludeAccelerometer ();
272
+ bool getIncludeGyroscope ();
270
273
uint16_t getVid ();
271
274
uint16_t getPid ();
272
275
uint16_t getGuidVersion ();
@@ -284,8 +287,6 @@ class BleGamepadConfiguration
284
287
bool getEnableOutputReport ();
285
288
uint16_t getOutputReportLength ();
286
289
int8_t getTXPowerLevel ();
287
- bool getIncludeAccelerometer ();
288
- bool getIncludeGyroscope ();
289
290
290
291
void setControllerType (uint8_t controllerType);
291
292
void setAutoReport (bool value);
@@ -316,6 +317,8 @@ class BleGamepadConfiguration
316
317
void setIncludeBrake (bool value);
317
318
void setIncludeSteering (bool value);
318
319
void setWhichSimulationControls (bool rudder, bool throttle, bool accelerator, bool brake, bool steering);
320
+ void setIncludeGyroscope (bool value);
321
+ void setIncludeAccelerometer (bool value);
319
322
void setVid (uint16_t value);
320
323
void setPid (uint16_t value);
321
324
void setGuidVersion (uint16_t value);
@@ -332,9 +335,7 @@ class BleGamepadConfiguration
332
335
void setHardwareRevision (char *value);
333
336
void setEnableOutputReport (bool value);
334
337
void setOutputReportLength (uint16_t value);
335
- void setTXPowerLevel (int8_t value);
336
- void setIncludeGyroscope (bool value);
337
- void setIncludeAccelerometer (bool value);
338
+ void setTXPowerLevel (int8_t value);
338
339
};
339
340
340
341
#endif
0 commit comments