summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat_settings.h
blob: a29fed6bb180d5cb7aaec1f42834190434b03577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* Copyright (c) 2012 Patrick Ruoff
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 */

#ifndef FTNOIR_TRACKER_HAT_SETTINGS_H
#define FTNOIR_TRACKER_HAT_SETTINGS_H


//-----------------------------------------------------------------------------
struct TrackerSettings
{	

	QString SerialPortName;
	bool EnableRoll;
	bool EnablePitch;
	bool EnableYaw;
	bool EnableX;
	bool EnableY;
	bool EnableZ;

	bool InvertRoll;
	bool InvertPitch;
	bool InvertYaw;
	bool InvertX;
	bool InvertY;
	bool InvertZ;


	int RollAxe;
	int PitchAxe;
	int YawAxe;
	int XAxe;
	int YAxe;
	int ZAxe;

	void load_ini();
	void save_ini() const;
};


#endif //FTNOIR_TRACKER_HAT_SETTINGS_H