diff options
13 files changed, 462 insertions, 0 deletions
diff --git a/keyboards/42keebs/lumberjack_pro/README.md b/keyboards/42keebs/lumberjack_pro/README.md new file mode 100644 index 0000000000..44893d207d --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/README.md @@ -0,0 +1,9 @@ +# Lumberjack Pro + +Hotswap diodeless 12x5 ortholinear PCB for 60% tray mount cases based on the Frood RP2040 controller. (It is also compatible with the wireless nice!nano controller, but the ZMK firmware needs to be used.) + +Designed by [piit79 / 42. Keebs](https://github.com/piit79/lumberjack-keyboard) based on the [original design](https://github.com/peej/lumberjack-keyboard) by [Paul James](https://github.com/peej) + +Make example for this keyboard (after setting up your build environment): + + qmk compile -kb 42keebs/lumberjack_pro -km vial diff --git a/keyboards/42keebs/lumberjack_pro/keyboard.json b/keyboards/42keebs/lumberjack_pro/keyboard.json new file mode 100644 index 0000000000..f0d32ffa6f --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keyboard.json @@ -0,0 +1,127 @@ +{ + "keyboard_name": "Lumberjack Pro", + "manufacturer": "42. Keebs", + "url": "https://github.com/piit79/lumberjack-prod-keyboard", + "maintainer": "piit79", + "development_board": "frood", + "usb": { + "vid": "0x1209", + "pid": "0x4205", + "device_version": "1.0.0", + "max_power": 100 + }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "rgblight": true + }, + "matrix_pins": { + "cols": ["GP26", "GP22", "GP1", "GP2", "GP29", "GP5", "GP4", "GP27", "GP3", "GP28", "GP9"], + "rows": ["GP0", "GP6", "GP20", "GP8", "GP23", "GP21"] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "GP13", "pin_b": "GP12", "resolution": 2} + ] + }, + "rgblight": { + "led_count": 3, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "alternating": true, + "twinkle": true + }, + "default": { + "animation": "static_light", + "hue": 8, + "sat": 255, + "val": 42 + } + }, + "ws2812": { + "driver": "vendor", + "pin": "GP7" + }, + "layouts": { + "LAYOUT_ortho_5x12_plus1": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [1, 4], "x": 5, "y": 0}, + {"matrix": [1, 9], "x": 9, "y": 0}, + {"matrix": [0, 9], "x": 10, "y": 0}, + {"matrix": [0, 8], "x": 11, "y": 0}, + {"matrix": [0, 7], "x": 12, "y": 0}, + {"matrix": [0, 6], "x": 13, "y": 0}, + {"matrix": [0, 5], "x": 14, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [2, 3], "x": 4, "y": 1}, + {"matrix": [2, 4], "x": 5, "y": 1}, + {"matrix": [2, 9], "x": 9, "y": 1}, + {"matrix": [2, 8], "x": 10, "y": 1}, + {"matrix": [1, 8], "x": 11, "y": 1}, + {"matrix": [1, 7], "x": 12, "y": 1}, + {"matrix": [1, 6], "x": 13, "y": 1}, + {"matrix": [1, 5], "x": 14, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [3, 2], "x": 3, "y": 2}, + {"matrix": [3, 3], "x": 4, "y": 2}, + {"matrix": [3, 4], "x": 5, "y": 2}, + {"matrix": [3, 9], "x": 9, "y": 2}, + {"matrix": [3, 8], "x": 10, "y": 2}, + {"matrix": [3, 7], "x": 11, "y": 2}, + {"matrix": [2, 7], "x": 12, "y": 2}, + {"matrix": [2, 6], "x": 13, "y": 2}, + {"matrix": [2, 5], "x": 14, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [4, 1], "x": 2, "y": 3}, + {"matrix": [4, 2], "x": 3, "y": 3}, + {"matrix": [4, 3], "x": 4, "y": 3}, + {"matrix": [4, 4], "x": 5, "y": 3}, + {"matrix": [5, 10], "x": 7, "y": 3}, + {"matrix": [4, 9], "x": 9, "y": 3}, + {"matrix": [4, 8], "x": 10, "y": 3}, + {"matrix": [4, 7], "x": 11, "y": 3}, + {"matrix": [4, 6], "x": 12, "y": 3}, + {"matrix": [3, 6], "x": 13, "y": 3}, + {"matrix": [3, 5], "x": 14, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4}, + {"matrix": [5, 0], "x": 1, "y": 4}, + {"matrix": [5, 1], "x": 2, "y": 4}, + {"matrix": [5, 2], "x": 3, "y": 4}, + {"matrix": [5, 3], "x": 4, "y": 4}, + {"matrix": [5, 4], "x": 5, "y": 4}, + {"matrix": [5, 9], "x": 9, "y": 4}, + {"matrix": [5, 8], "x": 10, "y": 4}, + {"matrix": [5, 7], "x": 11, "y": 4}, + {"matrix": [5, 6], "x": 12, "y": 4}, + {"matrix": [5, 5], "x": 13, "y": 4}, + {"matrix": [4, 5], "x": 14, "y": 4} + ] + } + } +} diff --git a/keyboards/42keebs/lumberjack_pro/keymaps/default/keymap.c b/keyboards/42keebs/lumberjack_pro/keymaps/default/keymap.c new file mode 100644 index 0000000000..62616e7f30 --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keymaps/default/keymap.c @@ -0,0 +1,77 @@ +/* Copyright 2020 Paul James + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H + +enum layers { + _QWERTY = 0, + _FUNCTION +}; + +#define FN MO(_FUNCTION) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* Qwerty + * ,-----------------------------------------. ,-----------------------------------------. + * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BkSp | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | Tab | Q | W | E | R | T | | Y | U | I | O | P | Del | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | Esc | A | S | D | F | G | | H | J | K | L | ; | ' | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | Shft | Z | X | C | V | B | | N | M | , | . | / | Entr | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | Ctrl | Fn | Alt | Cmd | Fn | Spac | | Spac | Fn | Left | Down | Up | Rght | + * `-----------------------------------------' `-----------------------------------------' + */ +[_QWERTY] = LAYOUT_ortho_5x12_plus1( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, + KC_LCTL, FN, KC_LALT, KC_LGUI, FN, KC_SPC, KC_SPC, FN, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT +), + +/* Function +* ,------------------------------------------. ,-----------------------------------------. + * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Del | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | Del | F1 | F2 | F3 | F4 | F5 | | F6 | - | = | [ | ] | \ | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | | F7 | F8 | F9 | F10 | F11 | | F12 |ISO # |ISO / | | | | + * |------+------+------+------+------+------| |------+------+------+------+------+------| + * | | | | | | | | | | Next | Vol- | Vol+ | Play | + * `-----------------------------------------' `-----------------------------------------' + */ +[_FUNCTION] = LAYOUT_ortho_5x12_plus1( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_MUTE, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY +) + +}; + +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [1] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN) }, +}; +#endif diff --git a/keyboards/42keebs/lumberjack_pro/keymaps/default/rules.mk b/keyboards/42keebs/lumberjack_pro/keymaps/default/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keymaps/default/rules.mk @@ -0,0 +1 @@ +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/42keebs/lumberjack_pro/keymaps/via/keymap.c b/keyboards/42keebs/lumberjack_pro/keymaps/via/keymap.c new file mode 100644 index 0000000000..f9f8e3a2d6 --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keymaps/via/keymap.c @@ -0,0 +1,90 @@ +/* Copyright 2020 Paul James + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +[0] = LAYOUT_ortho_5x12( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, + KC_LCTL, MO(2), KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT +), +[1] = LAYOUT_ortho_5x12( + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),KC_HOME, KC_END, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY +), +[2] = LAYOUT_ortho_5x12( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY +), +[3] = LAYOUT_ortho_5x12( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ +) + +}; + +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [1] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), }, + [2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), }, + [3] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), }, +}; +#endif + +void keyboard_pre_init_user() { +// To enable indicator LEDs and disable encoder support, set "ENCODER_MAP_ENABLE = no" in rules.mk +#if !defined(ENCODER_MAP_ENABLE) + writePin(LED1, true); + writePin(LED2, true); +#endif +} + +void keyboard_post_init_user() { +#if !defined(ENCODER_MAP_ENABLE) + writePin(LED1, false); + writePin(LED2, false); +#endif +} + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { +#if !defined(ENCODER_MAP_ENABLE) + writePin(LED1, record->event.pressed); +#endif + + return true; +} + +layer_state_t layer_state_set_user(layer_state_t state) { +#if !defined(ENCODER_MAP_ENABLE) + writePin(LED2, state); +#endif + + return state; +} diff --git a/keyboards/42keebs/lumberjack_pro/keymaps/via/rules.mk b/keyboards/42keebs/lumberjack_pro/keymaps/via/rules.mk new file mode 100644 index 0000000000..f1adcab005 --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/42keebs/lumberjack_pro/keymaps/vial/config.h b/keyboards/42keebs/lumberjack_pro/keymaps/vial/config.h new file mode 100644 index 0000000000..a3719736ad --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keymaps/vial/config.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define VIAL_KEYBOARD_UID {0xB7, 0xDB, 0x94, 0x86, 0x03, 0xAB, 0x24, 0xB5} + +/* this is the left upper and left lower key */ +#define VIAL_UNLOCK_COMBO_ROWS { 0, 4 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 0 } diff --git a/keyboards/42keebs/lumberjack_pro/keymaps/vial/keymap.c b/keyboards/42keebs/lumberjack_pro/keymaps/vial/keymap.c new file mode 100644 index 0000000000..27a161400e --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keymaps/vial/keymap.c @@ -0,0 +1,73 @@ +/* Copyright 2020 Paul James + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_ortho_5x12_plus1( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, + KC_LCTL, MO(2), KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + ), + [1] = LAYOUT_ortho_5x12_plus1( + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, + KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12, S(KC_NUHS), S(KC_NUBS), KC_HOME, KC_END, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY + ), + [2] = LAYOUT_ortho_5x12_plus1( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, + KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, + _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY + ), + [3] = LAYOUT_ortho_5x12_plus1( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) + +}; + +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [1] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), }, + [2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), }, + [3] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), }, +}; +#endif + +void keyboard_pre_init_user() { +} + +void keyboard_post_init_user() { +} + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + return true; +} + +layer_state_t layer_state_set_user(layer_state_t state) { + return state; +} diff --git a/keyboards/42keebs/lumberjack_pro/keymaps/vial/rules.mk b/keyboards/42keebs/lumberjack_pro/keymaps/vial/rules.mk new file mode 100644 index 0000000000..ded0ef3bfa --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keymaps/vial/rules.mk @@ -0,0 +1,4 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes +KEY_OVERRIDE_ENABLE = yes +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/42keebs/lumberjack_pro/keymaps/vial/vial.json b/keyboards/42keebs/lumberjack_pro/keymaps/vial/vial.json new file mode 100644 index 0000000000..fc8eb84749 --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/keymaps/vial/vial.json @@ -0,0 +1,29 @@ +{ + "name": "Lumberjack Pro", + "lighting": "qmk_rgblight", + "matrix": { + "rows": 6, + "cols": 11 + }, + "layouts": { + "labels": [ + [ + "Bottom Row", + "Grid", + "2u Spacebars", + "2u left", + "2u right" + ] + ], + "keymap": [ + ["0,0", "0,1", "0,2", "0,3", "0,4", "1,4",{"x":3},"1,9", "0,9", "0,8", "0,7", "0,6", "0,5"], + ["1,0", "1,1", "1,2", "1,3", "2,3", "2,4",{"x":3},"2,9", "2,8", "1,8", "1,7", "1,6", "1,5"], + ["2,0", "2,1", "2,2", "3,2", "3,3", "3,4",{"x":0.5},"0,0\n\n\n\n\n\n\n\n\ne","0,1\n\n\n\n\n\n\n\n\ne",{"x":0.5},"3,9", "3,8", "3,7", "2,7", "2,6", "2,5"], + ["3,0", "3,1", "4,1", "4,2", "4,3", "4,4",{"x":1},"5,10",{"x":1},"4,9", "4,8", "4,7", "4,6", "3,6", "3,5"], + ["4,0", "5,0", "5,1", "5,2", "5,3\n\n\n0,0", "5,4\n\n\n0,0",{"x":3},"5,9\n\n\n0,0", "5,8\n\n\n0,0", "5,7", "5,6", "5,5", "4,5"], + [{"y":0.25,"x":4,"w":2},"5,4\n\n\n0,1",{"x":3,"w":2},"5,9\n\n\n0,1"], + [{"x":4,"w":2},"5,4\n\n\n0,2",{"x":3},"5,9\n\n\n0,2", "5,8\n\n\n0,2"], + [{"x":4},"5,3\n\n\n0,3", "5,4\n\n\n0,3",{"x":3,"w":2},"5,9\n\n\n0,3"] + ] + } +} diff --git a/keyboards/42keebs/lumberjack_pro/lumberjack_pro.c b/keyboards/42keebs/lumberjack_pro/lumberjack_pro.c new file mode 100644 index 0000000000..92cdc6104d --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/lumberjack_pro.c @@ -0,0 +1,21 @@ +/* Copyright 2020 Paul James + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "lumberjack_pro.h" + +void keyboard_pre_init_kb() { + keyboard_pre_init_user(); +} diff --git a/keyboards/42keebs/lumberjack_pro/lumberjack_pro.h b/keyboards/42keebs/lumberjack_pro/lumberjack_pro.h new file mode 100644 index 0000000000..eaadad7e54 --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/lumberjack_pro.h @@ -0,0 +1,19 @@ +/* Copyright 2020 Paul James + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "quantum.h" diff --git a/keyboards/42keebs/lumberjack_pro/rules.mk b/keyboards/42keebs/lumberjack_pro/rules.mk new file mode 100644 index 0000000000..a2854804b6 --- /dev/null +++ b/keyboards/42keebs/lumberjack_pro/rules.mk @@ -0,0 +1 @@ +# All build options now in info.json |
