Fixup BIND_PRESSED
This commit is contained in:
parent
32446917d5
commit
e306553cea
|
@ -121,6 +121,6 @@ typedef struct
|
|||
#define BIT_GET(a, bit) ((a).data[(bit) >> 5] & (1 << ((bit) & 31)))
|
||||
#define BIT_CLEAR_ALL(a) memset(&(a), 0, sizeof(a));
|
||||
|
||||
#define BIND_PRESSED(a, bit) (((a) & (1ULL << ((bit)))) == 1)
|
||||
#define BIND_PRESSED(a, bit) (((a) & (1ULL << ((bit)))) != 0)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue