Add GCPadStatus.isConnected boolean

This commit is contained in:
Michael Maltese
2017-02-09 15:03:43 -08:00
committed by Léo Lam
parent bb1c794657
commit 379e28b58c
5 changed files with 58 additions and 43 deletions

View File

@ -40,6 +40,7 @@ struct GCPadStatus
u8 triggerRight; // 0 <= triggerRight <= 255
u8 analogA; // 0 <= analogA <= 255
u8 analogB; // 0 <= analogB <= 255
bool isConnected{true};
static const u8 MAIN_STICK_CENTER_X = 0x80;
static const u8 MAIN_STICK_CENTER_Y = 0x80;