Skip to content

Commit 46f15cd

Browse files
authored
[Keyboard] owl8 bugfix (#14020)
1 parent d0b1d9f commit 46f15cd

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

keyboards/owl8/config.h

+3-6
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2727
#define PRODUCT owl8
2828

2929
/* key matrix size */
30-
#define MATRIX_ROWS 4
31-
#define MATRIX_COLS 4
30+
#define MATRIX_ROWS 1
31+
#define MATRIX_COLS 16
3232

3333
/*
3434
* Keyboard Matrix Assignments
@@ -41,10 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4141
*
4242
*/
4343
#define DIRECT_PINS { \
44-
{ F4, F7, B3, B6 }, \
45-
{ F5, F6, B1, B2 }, \
46-
{ D4, C6, D7, E6 }, \
47-
{ NO_PIN, NO_PIN, NO_PIN, NO_PIN } \
44+
{ F4, F7, B3, B6, F5, F6, B1, B2, D4, C6, D7, E6, NO_PIN, NO_PIN, NO_PIN, NO_PIN } \
4845
}
4946
#define UNUSED_PINS
5047

keyboards/owl8/keymaps/via/keymap.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,22 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
5151
};
5252

5353
keyevent_t encoder1_ccw = {
54-
.key = (keypos_t){.row = 3, .col = 1},
54+
.key = (keypos_t){.row = 0, .col = 12},
5555
.pressed = false
5656
};
5757

5858
keyevent_t encoder1_cw = {
59-
.key = (keypos_t){.row = 3, .col = 0},
59+
.key = (keypos_t){.row = 0, .col = 13},
6060
.pressed = false
6161
};
6262

6363
keyevent_t encoder2_ccw = {
64-
.key = (keypos_t){.row = 3, .col = 3},
64+
.key = (keypos_t){.row = 0, .col = 14},
6565
.pressed = false
6666
};
6767

6868
keyevent_t encoder2_cw = {
69-
.key = (keypos_t){.row = 3, .col = 2},
69+
.key = (keypos_t){.row = 0, .col = 15},
7070
.pressed = false
7171
};
7272

keyboards/owl8/owl8.h

+5-8
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,11 @@
2828
*/
2929

3030
#define LAYOUT( \
31-
k30, k31, k32, k33, \
32-
k20, k21, k22, k23, \
33-
k00, k01, k02, k03, \
34-
k10, k11, k12, k13 \
31+
k012, k013, k014, k015, \
32+
k008, k009, k010, k011, \
33+
k000, k001, k002, k003, \
34+
k004, k005, k006, k007 \
3535
) \
3636
{ \
37-
{k00, k01, k02, k03 }, \
38-
{k10, k11, k12, k13 }, \
39-
{k20, k21, k22, k23 }, \
40-
{k30, k31, k32, k33 } \
37+
{k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015 } \
4138
}

0 commit comments

Comments
 (0)