39 lines
751 B
C
39 lines
751 B
C
|
|
#ifndef __Remote_H
|
|
#define __Remote_H
|
|
|
|
#include "main.h"
|
|
typedef struct
|
|
{
|
|
uint16_t Remote_R_RL;
|
|
uint16_t Remote_R_UD;
|
|
uint16_t Remote_L_RL;
|
|
uint16_t Remote_L_UD;
|
|
|
|
uint8_t Remote_LS;
|
|
uint8_t Remote_RS;
|
|
|
|
int16_t Remote_Mouse_RL;
|
|
int16_t Remote_Mouse_DU;
|
|
int16_t Remote_Mouse_Wheel;
|
|
uint8_t Remote_Mouse_KeyL;
|
|
uint8_t Remote_Mouse_KeyR;
|
|
|
|
uint8_t Remote_Key_W;
|
|
uint8_t Remote_Key_S;
|
|
uint8_t Remote_Key_A;
|
|
uint8_t Remote_Key_D;
|
|
uint8_t Remote_Key_Q;
|
|
uint8_t Remote_Key_E;
|
|
uint8_t Remote_Key_Shift;
|
|
uint8_t Remote_Key_Ctrl;
|
|
uint8_t Remote_KeyPush_Ctrl;
|
|
uint8_t Remote_KeyPush_Shift;
|
|
|
|
int16_t Remote_ThumbWheel;
|
|
}Remote_Data;
|
|
extern Remote_Data Remote_RxData;
|
|
|
|
extern uint8_t Remote_Status;
|
|
extern uint8_t Remote_StartFlag;
|
|
#endif |