diff --git a/components/ratgdo/ratgdo.h b/components/ratgdo/ratgdo.h index a90642e..4170b3e 100644 --- a/components/ratgdo/ratgdo.h +++ b/components/ratgdo/ratgdo.h @@ -36,9 +36,9 @@ namespace ratgdo { typedef struct { uint64_t fixed; uint32_t data; - bool operator==(const command a) const + bool operator!=(const command a) const { - return (fixed == a.fixed && data == a.data); + return (fixed != a.fixed || data != a.data); } } command;