diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index 9b4cd73..ba5f103 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -35,7 +35,11 @@ namespace ratgdo { struct cmd { uint64_t fixed; - uint32_t data; + uint32_t data; + inline bool operator!=(cmd const &other) const + { + return (fixed != other.fixed || data != other.data); + } }; typedef struct {