aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/mechlovin/olly/bb/matrix.c69
1 files changed, 35 insertions, 34 deletions
diff --git a/keyboards/mechlovin/olly/bb/matrix.c b/keyboards/mechlovin/olly/bb/matrix.c
index d745f7d2c..e045299ba 100644
--- a/keyboards/mechlovin/olly/bb/matrix.c
+++ b/keyboards/mechlovin/olly/bb/matrix.c
@@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/ 17*/
18 18
19#include "matrix.h" 19#include "matrix.h"
20#include "gpio.h"
20 21
21static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS; 22static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
22 23
@@ -27,40 +28,40 @@ static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
27 * 0: 0 ── 0 ── 0 1 ── 0 0 0 0 28 * 0: 0 ── 0 ── 0 1 ── 0 0 0 0
28 * ──────────────────────────────────────────── 29 * ────────────────────────────────────────────
29 * 1: 0 ── 0 ── 1 1 ── 0 0 0 0 30 * 1: 0 ── 0 ── 1 1 ── 0 0 0 0
30 * ──────────────────────────────────────────── 31 * ────────────────────────────────────────────
31 * 2: 0 ── 1 ── 0 1 ── 0 0 0 0 32 * 2: 0 ── 1 ── 0 1 ── 0 0 0 0
32 * ──────────────────────────────────────────── 33 * ────────────────────────────────────────────
33 * 3: 0 ── 1 ── 1 1 ── 0 0 0 0 34 * 3: 0 ── 1 ── 1 1 ── 0 0 0 0
34 * ──────────────────────────────────────────── 35 * ────────────────────────────────────────────
35 * 4: 1 ── 0 ── 0 1 ── 0 0 0 0 36 * 4: 1 ── 0 ── 0 1 ── 0 0 0 0
36 * ──────────────────────────────────────────── 37 * ────────────────────────────────────────────
37 * 5: 1 ── 0 ── 1 1 ── 0 0 0 0 38 * 5: 1 ── 0 ── 1 1 ── 0 0 0 0
38 * ──────────────────────────────────────────── 39 * ────────────────────────────────────────────
39 * 6: 1 ── 1 ── 0 1 ── 0 0 0 0 40 * 6: 1 ── 1 ── 0 1 ── 0 0 0 0
40 * ──────────────────────────────────────────── 41 * ────────────────────────────────────────────
41 * 7: 1 ── 1 ── 1 1 ── 0 0 0 0 42 * 7: 1 ── 1 ── 1 1 ── 0 0 0 0
42 * ──────────────────────────────────────────── 43 * ────────────────────────────────────────────
43 * 8: 1 ── 1 ── 1 0 ── 1 0 0 0 44 * 8: 1 ── 1 ── 1 0 ── 1 0 0 0
44 * ──────────────────────────────────────────── 45 * ────────────────────────────────────────────
45 * 9: 0 ── 0 ── 0 0 ── 1 0 0 0 46 * 9: 0 ── 0 ── 0 0 ── 1 0 0 0
46 * ──────────────────────────────────────────── 47 * ────────────────────────────────────────────
47 *10: 0 ── 0 ── 1 0 ── 1 0 0 0 48 *10: 0 ── 0 ── 1 0 ── 1 0 0 0
48 * ──────────────────────────────────────────── 49 * ────────────────────────────────────────────
49 *11: 0 ── 1 ── 0 0 ── 1 0 0 0 50 *11: 0 ── 1 ── 0 0 ── 1 0 0 0
50 * ──────────────────────────────────────────── 51 * ────────────────────────────────────────────
51 *12: 0 ── 1 ── 1 0 ── 1 0 0 0 52 *12: 0 ── 1 ── 1 0 ── 1 0 0 0
52 * ──────────────────────────────────────────── 53 * ────────────────────────────────────────────
53 *13: 1 ── 0 ── 0 0 ── 1 0 0 0 54 *13: 1 ── 0 ── 0 0 ── 1 0 0 0
54 * ──────────────────────────────────────────── 55 * ────────────────────────────────────────────
55 *14: 1 ── 0 ── 1 0 ── 1 0 0 0 56 *14: 1 ── 0 ── 1 0 ── 1 0 0 0
56 * ──────────────────────────────────────────── 57 * ────────────────────────────────────────────
57 *15: 1 ── 1 ── 0 0 ── 1 0 0 0 58 *15: 1 ── 1 ── 0 0 ── 1 0 0 0
58 * ──────────────────────────────────────────── 59 * ────────────────────────────────────────────
59 *16: 0 ── 0 ── 0 0 ── 0 1 0 0 60 *16: 0 ── 0 ── 0 0 ── 0 1 0 0
60 * ──────────────────────────────────────────── 61 * ────────────────────────────────────────────
61 *17: 0 ── 0 ── 0 0 ── 0 0 1 0 62 *17: 0 ── 0 ── 0 0 ── 0 0 1 0
62 * ──────────────────────────────────────────── 63 * ────────────────────────────────────────────
63 *18: 0 ── 0 ── 0 0 ── 0 0 0 1 64 *18: 0 ── 0 ── 0 0 ── 0 0 0 1
64 * 65 *
65 */ 66 */
66static void select_col(uint8_t col) { 67static void select_col(uint8_t col) {