Data transmission – Rockwell Automation 2727-G7P20D3Q7 MobileView G750 Guard Machine Terminal User Manual
Page 98

Publication 2727-UM002D-EN-P
7-4 Windows CE Applications
Data Transmission
Client to Server
typedef enum {
eKVCJoystickIsZero
0x0001
eKVCJoystickNotZero
0x0002
eKVCSpaceMouseIsZero
0x0004
eKVCSpaceMouseNotZero
0x0008
eKVCHandWheelChanged
0x0010
eKVCOverrideChanged
0x0020
eKVCKeyPressed
0x0040
eKVCKeyReleased
0x0080
eKVCLedValue
0x0100
eKVCContrast
0x0200
eKVCBrightness
0x0300
eKVCVolume
0x0400
eKVCScreensaverTime
0x0500
eKVCScreensaverState
0x0600
eKVCBacklightState
0x0700
eKVCLed
0x0800
eKVCJoystickResp
0x0900
eKVCSpaceMouseResp
0x0A00
eKVCHandWheelResp
0x0B00
eKVCOverrideResp
0x0C00
eKVCAlive
0xFE00
eKVCClientDisconnect
0xFF00
} TKVCEvent;
typedef struct {
UINT16 event;
struct {
UINT8 overrideVal;
UINT8 keyVal;
TKVCJostickData joystickVal;
SINT16 handWheelVal;
TKVCSpaceMouseData spaceMouseVal;
} data;
} TKVCClientData;
typedef enum {
eKtpKeyboardLedOff = 1,
eKtpKeyboardLedOn = 2,
eKtpKeyboardLedBlink = 3
} TKtpLedState;
typedef struct {
char posX;
char posY;
char posZ;
} TKVCJostickData;