diff --git a/XBOXONE.h b/XBOXONE.h index 02efbf21..11710fcf 100644 --- a/XBOXONE.h +++ b/XBOXONE.h @@ -93,7 +93,7 @@ public: * @param pid The device's PID. * @return Returns true if the device's VID and PID matches this driver. */ - virtual boolean VIDPIDOK(uint16_t vid, uint16_t pid) { + virtual bool VIDPIDOK(uint16_t vid, uint16_t pid) { return (vid == XBOX_VID && pid == XBOX_ONE_PID); }; /**@}*/