aboutsummaryrefslogtreecommitdiffstats
path: root/src/matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/matrix.h')
-rw-r--r--src/matrix.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/matrix.h b/src/matrix.h
deleted file mode 100644
index c49bc19..0000000
--- a/src/matrix.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include "util.h"
-
-#include <stdint.h>
-
-#define KEY_ROWS 4
-#define KEY_COLS 6
-#define KEY_COUNT (KEY_ROWS * KEY_COLS)
-
-#define MAT_OFFSET(side) ((side) == LEFT ? 0 : KEY_COUNT)
-
-void matrix_init(void);
-void scan_matrix(void);
-uint32_t matrix_encode_half(int side);
-void matrix_decode_half(int side, uint32_t);
-
-extern bool prev_state_matrix[KEY_COUNT * 2];
-extern bool state_matrix[KEY_COUNT * 2];
-