diff options
Diffstat (limited to 'keyboards/boardsource/5x12')
-rw-r--r-- | keyboards/boardsource/5x12/5x12.c | 1 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/5x12.h | 17 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/config.h | 71 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/info.json | 75 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/keymaps/default/keymap.c | 39 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/keymaps/via/keymap.c | 47 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/keymaps/via/readme.md | 5 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/readme.md | 13 | ||||
-rw-r--r-- | keyboards/boardsource/5x12/rules.mk | 24 |
10 files changed, 293 insertions, 0 deletions
diff --git a/keyboards/boardsource/5x12/5x12.c b/keyboards/boardsource/5x12/5x12.c new file mode 100644 index 000000000..579cd5eff --- /dev/null +++ b/keyboards/boardsource/5x12/5x12.c | |||
@@ -0,0 +1 @@ | |||
#include "5x12.h" \ No newline at end of file | |||
diff --git a/keyboards/boardsource/5x12/5x12.h b/keyboards/boardsource/5x12/5x12.h new file mode 100644 index 000000000..bbc0689b4 --- /dev/null +++ b/keyboards/boardsource/5x12/5x12.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #pragma once | ||
2 | #include "quantum.h" | ||
3 | |||
4 | #define LAYOUT_ortho_5x12( \ | ||
5 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, \ | ||
6 | K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, \ | ||
7 | K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35, \ | ||
8 | K36, K37, K38, K39, K40, K41, K42, K43, K44, K45, K46, K47, \ | ||
9 | K48, K49, K50, K51, K52, K53, K54, K55, K56, K57, K58, K59 \ | ||
10 | ) { \ | ||
11 | {K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11}, \ | ||
12 | {K12, K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23}, \ | ||
13 | {K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, K35}, \ | ||
14 | {K36, K37, K38, K39, K40, K41, K42, K43, K44, K45, K46, K47}, \ | ||
15 | {K48, K49, K50, K51, K52, K53, K54, K55, K56, K57, K58, K59} \ | ||
16 | } | ||
17 | |||
diff --git a/keyboards/boardsource/5x12/config.h b/keyboards/boardsource/5x12/config.h new file mode 100644 index 000000000..455965a09 --- /dev/null +++ b/keyboards/boardsource/5x12/config.h | |||
@@ -0,0 +1,71 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "config_common.h" | ||
4 | |||
5 | /* USB Device descriptor parameter */ | ||
6 | #define VENDOR_ID 0x4273 // "Bs" - Boardsource | ||
7 | #define PRODUCT_ID 0x0512 | ||
8 | #define DEVICE_VER 0x0000 | ||
9 | #define MANUFACTURER Boardsource | ||
10 | #define PRODUCT 5x12 | ||
11 | |||
12 | /* key matrix size */ | ||
13 | #define MATRIX_ROWS 5 | ||
14 | #define MATRIX_COLS 12 | ||
15 | #define MATRIX_ROW_PINS { D2, D3, D1, D0, D4 } | ||
16 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B5, B4, E6, D7 } | ||
17 | |||
18 | /* COL2ROW, ROW2COL*/ | ||
19 | #define DIODE_DIRECTION COL2ROW | ||
20 | |||
21 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
22 | #define DEBOUNCE 5 | ||
23 | |||
24 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
25 | #define LOCKING_SUPPORT_ENABLE | ||
26 | /* Locking resynchronize hack */ | ||
27 | #define LOCKING_RESYNC_ENABLE | ||
28 | |||
29 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
30 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
31 | */ | ||
32 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
33 | |||
34 | /* | ||
35 | * Force NKRO | ||
36 | * | ||
37 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
38 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
39 | * makefile for this to work.) | ||
40 | * | ||
41 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
42 | * until the next keyboard reset. | ||
43 | * | ||
44 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
45 | * fully operational during normal computer usage. | ||
46 | * | ||
47 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
48 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
49 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
50 | * power-up. | ||
51 | * | ||
52 | */ | ||
53 | //#define FORCE_NKRO | ||
54 | |||
55 | /* | ||
56 | * Feature disable options | ||
57 | * These options are also useful to firmware size reduction. | ||
58 | */ | ||
59 | |||
60 | /* disable debug print */ | ||
61 | //#define NO_DEBUG | ||
62 | |||
63 | /* disable print */ | ||
64 | //#define NO_PRINT | ||
65 | |||
66 | /* disable action features */ | ||
67 | //#define NO_ACTION_LAYER | ||
68 | //#define NO_ACTION_TAPPING | ||
69 | //#define NO_ACTION_ONESHOT | ||
70 | //#define NO_ACTION_MACRO | ||
71 | //#define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/boardsource/5x12/info.json b/keyboards/boardsource/5x12/info.json new file mode 100644 index 000000000..92debddd9 --- /dev/null +++ b/keyboards/boardsource/5x12/info.json | |||
@@ -0,0 +1,75 @@ | |||
1 | { | ||
2 | "keyboard_name": "boardsource 5x12", | ||
3 | "url": "https://boardsource.xyz", | ||
4 | "maintainer": "boardsource", | ||
5 | "layouts": { | ||
6 | "LAYOUT_ortho_5x12": { | ||
7 | "layout": [ | ||
8 | { "label": "K01", "x": 0, "y": 0 }, | ||
9 | { "label": "K02", "x": 1, "y": 0 }, | ||
10 | { "label": "K03", "x": 2, "y": 0 }, | ||
11 | { "label": "K04", "x": 3, "y": 0 }, | ||
12 | { "label": "K05", "x": 4, "y": 0 }, | ||
13 | { "label": "K06", "x": 5, "y": 0 }, | ||
14 | { "label": "K07", "x": 6, "y": 0 }, | ||
15 | { "label": "K08", "x": 7, "y": 0 }, | ||
16 | { "label": "K09", "x": 8, "y": 0 }, | ||
17 | { "label": "K010", "x": 9, "y": 0 }, | ||
18 | { "label": "K011", "x": 10, "y": 0 }, | ||
19 | { "label": "K012", "x": 11, "y": 0 }, | ||
20 | |||
21 | { "label": "K11", "x": 0, "y": 1 }, | ||
22 | { "label": "K12", "x": 1, "y": 1 }, | ||
23 | { "label": "K13", "x": 2, "y": 1 }, | ||
24 | { "label": "K14", "x": 3, "y": 1 }, | ||
25 | { "label": "K15", "x": 4, "y": 1 }, | ||
26 | { "label": "K16", "x": 5, "y": 1 }, | ||
27 | { "label": "K17", "x": 6, "y": 1 }, | ||
28 | { "label": "K18", "x": 7, "y": 1 }, | ||
29 | { "label": "K19", "x": 8, "y": 1 }, | ||
30 | { "label": "K110", "x": 9, "y": 1 }, | ||
31 | { "label": "K111", "x": 10, "y": 1 }, | ||
32 | { "label": "K112", "x": 11, "y": 1 }, | ||
33 | |||
34 | { "label": "K21", "x": 0, "y": 2 }, | ||
35 | { "label": "K22", "x": 1, "y": 2 }, | ||
36 | { "label": "K23", "x": 2, "y": 2 }, | ||
37 | { "label": "K24", "x": 3, "y": 2 }, | ||
38 | { "label": "K25", "x": 4, "y": 2 }, | ||
39 | { "label": "K26", "x": 5, "y": 2 }, | ||
40 | { "label": "K27", "x": 6, "y": 2 }, | ||
41 | { "label": "K28", "x": 7, "y": 2 }, | ||
42 | { "label": "K29", "x": 8, "y": 2 }, | ||
43 | { "label": "K210", "x": 9, "y": 2 }, | ||
44 | { "label": "K211", "x": 10, "y": 2 }, | ||
45 | { "label": "K212", "x": 11, "y": 2 }, | ||
46 | |||
47 | { "label": "K31", "x": 0, "y": 3 }, | ||
48 | { "label": "K32", "x": 1, "y": 3 }, | ||
49 | { "label": "K33", "x": 2, "y": 3 }, | ||
50 | { "label": "K34", "x": 3, "y": 3 }, | ||
51 | { "label": "K35", "x": 4, "y": 3 }, | ||
52 | { "label": "K36", "x": 5, "y": 3 }, | ||
53 | { "label": "K37", "x": 6, "y": 3 }, | ||
54 | { "label": "K38", "x": 7, "y": 3 }, | ||
55 | { "label": "K39", "x": 8, "y": 3 }, | ||
56 | { "label": "K310", "x": 9, "y": 3 }, | ||
57 | { "label": "K311", "x": 10, "y": 3 }, | ||
58 | { "label": "K312", "x": 11, "y": 3 }, | ||
59 | |||
60 | { "label": "K41", "x": 0, "y": 4 }, | ||
61 | { "label": "K42", "x": 1, "y": 4 }, | ||
62 | { "label": "K43", "x": 2, "y": 4 }, | ||
63 | { "label": "K44", "x": 3, "y": 4 }, | ||
64 | { "label": "K45", "x": 4, "y": 4 }, | ||
65 | { "label": "K46", "x": 5, "y": 4 }, | ||
66 | { "label": "K47", "x": 6, "y": 4 }, | ||
67 | { "label": "K48", "x": 7, "y": 4 }, | ||
68 | { "label": "K49", "x": 8, "y": 4 }, | ||
69 | { "label": "K410", "x": 9, "y": 4 }, | ||
70 | { "label": "K411", "x": 10, "y": 4 }, | ||
71 | { "label": "K412", "x": 11, "y": 4 } | ||
72 | ] | ||
73 | } | ||
74 | } | ||
75 | } | ||
diff --git a/keyboards/boardsource/5x12/keymaps/default/keymap.c b/keyboards/boardsource/5x12/keymaps/default/keymap.c new file mode 100644 index 000000000..19bdde0ff --- /dev/null +++ b/keyboards/boardsource/5x12/keymaps/default/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | enum layers { | ||
4 | _MAIN, | ||
5 | _RAISE, | ||
6 | _LOWER, | ||
7 | }; | ||
8 | |||
9 | // Readability keycodes | ||
10 | #define LOWER MO(_LOWER) | ||
11 | #define RAISE MO(_RAISE) | ||
12 | |||
13 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
14 | |||
15 | [_MAIN] = LAYOUT_ortho_5x12( | ||
16 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
17 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
18 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
19 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
20 | KC_PIPE, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
21 | ), | ||
22 | |||
23 | [_RAISE] = LAYOUT_ortho_5x12( | ||
24 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
25 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
26 | _______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______, | ||
27 | KC_ENT, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_MUTE, _______, KC_BSLS, | ||
28 | RESET, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
29 | ), | ||
30 | |||
31 | [_LOWER] = LAYOUT_ortho_5x12( | ||
32 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
33 | _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, | ||
34 | _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, | ||
35 | KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | RESET, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
37 | ) | ||
38 | |||
39 | }; | ||
diff --git a/keyboards/boardsource/5x12/keymaps/via/keymap.c b/keyboards/boardsource/5x12/keymaps/via/keymap.c new file mode 100644 index 000000000..8601fa377 --- /dev/null +++ b/keyboards/boardsource/5x12/keymaps/via/keymap.c | |||
@@ -0,0 +1,47 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | enum layers { | ||
4 | _MAIN, | ||
5 | _RAISE, | ||
6 | _LOWER, | ||
7 | }; | ||
8 | |||
9 | // Readability keycodes | ||
10 | #define LOWER MO(_LOWER) | ||
11 | #define RAISE MO(_RAISE) | ||
12 | |||
13 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
14 | |||
15 | [_MAIN] = LAYOUT_ortho_5x12( | ||
16 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
17 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
18 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
19 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
20 | KC_PIPE, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
21 | ), | ||
22 | |||
23 | [_RAISE] = LAYOUT_ortho_5x12( | ||
24 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
25 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
26 | _______, KC_4, KC_5, KC_6, KC_PLUS, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______, | ||
27 | KC_ENT, KC_7, KC_8, KC_9, KC_MINS, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_MUTE, _______, KC_BSLS, | ||
28 | RESET, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
29 | ), | ||
30 | |||
31 | [_LOWER] = LAYOUT_ortho_5x12( | ||
32 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
33 | _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, | ||
34 | _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, | ||
35 | KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
36 | RESET, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY | ||
37 | ), | ||
38 | |||
39 | [3] = LAYOUT_ortho_5x12( | ||
40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
45 | ) | ||
46 | |||
47 | }; | ||
diff --git a/keyboards/boardsource/5x12/keymaps/via/readme.md b/keyboards/boardsource/5x12/keymaps/via/readme.md new file mode 100644 index 000000000..d088e0a64 --- /dev/null +++ b/keyboards/boardsource/5x12/keymaps/via/readme.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # The via keymap for boardsource 5x12 ortholinear keyboard | ||
2 | |||
3 | This folder contains the [VIA](https://caniusevia.com/) configuration for the boardsource 5x12 ortholinear keyboard | ||
4 | |||
5 | Maintained by: [gwillad](https://github.com/gwillad) | ||
diff --git a/keyboards/boardsource/5x12/keymaps/via/rules.mk b/keyboards/boardsource/5x12/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/boardsource/5x12/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/boardsource/5x12/readme.md b/keyboards/boardsource/5x12/readme.md new file mode 100644 index 000000000..f1bf8a84c --- /dev/null +++ b/keyboards/boardsource/5x12/readme.md | |||
@@ -0,0 +1,13 @@ | |||
1 | # 5x12 | ||
2 | |||
3 |  | ||
4 | |||
5 | * Keyboard Maintainer: [Boardsource](https://github.com/daysgobye) | ||
6 | * Hardware Supported: 5x12 v1 | ||
7 | * Hardware Availability: this keyboard is available from the [Boardsource store](https://boardsource.xyz/store/5ecb822386879c9a0c22db84) | ||
8 | |||
9 | Make example for this keyboard (after setting up your build environment): | ||
10 | |||
11 | make boardsource/5x12:default | ||
12 | |||
13 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). \ No newline at end of file | ||
diff --git a/keyboards/boardsource/5x12/rules.mk b/keyboards/boardsource/5x12/rules.mk new file mode 100644 index 000000000..0727732ac --- /dev/null +++ b/keyboards/boardsource/5x12/rules.mk | |||
@@ -0,0 +1,24 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = caterina | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = yes # Console for debug | ||
14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | AUDIO_ENABLE = no # Audio output | ||
18 | |||
19 | LAYOUTS = ortho_5x12 | ||
20 | |||
21 | # Disable unsupported hardware | ||
22 | RGBLIGHT_SUPPORTED = no | ||
23 | AUDIO_SUPPORTED = no | ||
24 | BACKLIGHT_SUPPORTED = no | ||