Marine systems simulation
myStruct.h
1#ifndef MyStruct_H
2#define MyStruct_H
3#pragma pack (push)
4#pragma pack(1)
5
9
10typedef struct myStruct
11{
12
13
14 int rglSlider[2]; /* extra axes positions */
15 int rgdwPOV[4]; /* POV directions */
16 int rgbButtons[32]; /* 32 buttons */
17 int posAxis[3]; /* Axis position */
18 int rotAxis[3]; /* Axis rotation */
19 double Thruster[3]; // Thruster values
20
21 unsigned long GuidData1;
22 unsigned short GuidData2;
23 unsigned short GuidData3;
24 unsigned char GuidData4[ 8 ];
25
26
28#pragma pack (pop)
29#endif
Definition: myStruct.h:5