auxinput.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #include <Mstn\basetype.h>
11 
12 /* Values for trigger */
13 #define AUXINPUT_NO_DATA 0
14 #define AUXINPUT_DATAPOINT 1
15 #define AUXINPUT_TENTATIVE 3
16 #define AUXINPUT_RESET 4
17 #define AUXINPUT_BUTTON_CODE 5
18 
19 #define FUNC_SETMODE 0
20 #define FUNC_GETPOSITION 1
21 #define FUNC_GETBUTTONEVENT 2
22 
23 /*----------------------------------------------------------------------+
24 | |
25 | Typedefs |
26 | |
27 +----------------------------------------------------------------------*/
28 typedef struct auxInputMode
29  {
30  byte mode; /* 0=off, 1=on */
32  } AuxInputMode;
33 
34 typedef struct auxInputPosition
35  {
36  Point3d uorCoord;
39 
40 typedef struct auxInputButtonEvt
41  {
42  int inputCode;
43  Point3d uorCoord;
44  int ticks;
45  short qualifier;
48 
49 typedef union
50  {
54  } AuxInputData;
55 
56 typedef struct auxInputMsg
57  {
61  } AuxInputMsg;
62 
int ticks
Definition: auxinput.h:44
byte reserved[18]
Definition: auxinput.h:37
short qualifier
Definition: auxinput.h:45
Point3d uorCoord
Definition: auxinput.h:36
struct auxInputMsg AuxInputMsg
Definition: auxinput.h:56
byte mode
Definition: auxinput.h:30
AuxInputMode auxMode
Definition: auxinput.h:51
int inputCode
Definition: auxinput.h:42
Point3d uorCoord
Definition: auxinput.h:43
struct auxInputPosition AuxInputPosition
Definition: auxinput.h:34
AuxInputButtonEvt auxButtonEvt
Definition: auxinput.h:53
byte reserved[8]
Definition: auxinput.h:46
AuxInputPosition auxPosition
Definition: auxinput.h:52
Definition: auxinput.h:28
Definition: auxinput.h:49
struct auxInputMode AuxInputMode
unsigned char byte
Definition: Bentley.r.h:144
AuxInputData data
Definition: auxinput.h:60
byte reserved[29]
Definition: auxinput.h:31
Definition: auxinput.h:40
byte status
Definition: auxinput.h:59
struct auxInputButtonEvt AuxInputButtonEvt
byte func
Definition: auxinput.h:58

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.