summaryrefslogtreecommitdiff
path: root/common/keyboard.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-01-23 23:53:51 +0900
committertmk <nobody@nowhere>2013-01-23 23:53:51 +0900
commit28b5f69ce5c8b35d40725b490e7a2d4bfe922ad4 (patch)
tree1a427f0e0d410fee5f57bfc170e31ef2d7050ac9 /common/keyboard.h
parent1fe820a8654b69576875a8173e22b47b365c2460 (diff)
Add prototype of Action Function.
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 4a3ee85a8a..6d06c95bbd 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 \
}