aboutsummaryrefslogtreecommitdiffstats
path: root/common/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard.h')
-rw-r--r--common/keyboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/keyboard.h b/common/keyboard.h
index 4a3ee85a8..6d06c95bb 100644
--- a/common/keyboard.h
+++ b/common/keyboard.h
@@ -44,10 +44,10 @@ typedef struct {
#define KEYEQ(keya, keyb) (keya.raw == keyb.raw)
#define IS_NOEVENT(event) (event.time == 0)
-#define NOEVENT (keyevent_t) { \
+#define NOEVENT (keyevent_t){ \
.key = (keypos_t){ .row = 255, .col = 255 }, \
.pressed = false, \
- .time = 0, \
+ .time = 0 \
}