summaryrefslogtreecommitdiff
path: root/matrix.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-09-30 14:17:01 +0900
committertmk <nobody@nowhere>2010-09-30 14:50:23 +0900
commitd3b1af9572e123c939fc355474bf12402c86d292 (patch)
tree5c3f18f6af2bd7ed0333b7f5ed8dd16c4fa69245 /matrix.h
parente7c6839d2d17dd084c8bea1dd43208b3144979d2 (diff)
add mouse function.
Diffstat (limited to 'matrix.h')
-rw-r--r--matrix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/matrix.h b/matrix.h
index d5290916b5..74b5f894b1 100644
--- a/matrix.h
+++ b/matrix.h
@@ -1,3 +1,6 @@
+#ifndef MATRIX_H
+#define MATRIX_H 1
+
#include <stdbool.h>
extern uint8_t *matrix;
@@ -8,3 +11,5 @@ uint8_t matrix_scan(void);
bool matrix_is_modified(void);
bool matrix_has_ghost(void);
bool matrix_has_ghost_in_row(uint8_t row);
+
+#endif