diff options
Diffstat (limited to 'keyboards/gorthage_truck')
-rw-r--r-- | keyboards/gorthage_truck/config.h | 52 | ||||
-rw-r--r-- | keyboards/gorthage_truck/gorthage_truck.c | 29 | ||||
-rw-r--r-- | keyboards/gorthage_truck/gorthage_truck.h | 77 | ||||
-rw-r--r-- | keyboards/gorthage_truck/info.json | 214 | ||||
-rw-r--r-- | keyboards/gorthage_truck/keymaps/10u/keymap.c | 42 | ||||
-rw-r--r-- | keyboards/gorthage_truck/keymaps/10u/readme.md | 1 | ||||
-rw-r--r-- | keyboards/gorthage_truck/keymaps/7u/keymap.c | 42 | ||||
-rw-r--r-- | keyboards/gorthage_truck/keymaps/7u/readme.md | 1 | ||||
-rw-r--r-- | keyboards/gorthage_truck/keymaps/default/keymap.c | 42 | ||||
-rw-r--r-- | keyboards/gorthage_truck/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/gorthage_truck/readme.md | 19 | ||||
-rw-r--r-- | keyboards/gorthage_truck/rules.mk | 20 |
12 files changed, 0 insertions, 540 deletions
diff --git a/keyboards/gorthage_truck/config.h b/keyboards/gorthage_truck/config.h deleted file mode 100644 index 2e1c9ea0a6..0000000000 --- a/keyboards/gorthage_truck/config.h +++ /dev/null @@ -1,52 +0,0 @@ -/* -Copyright 2021 s8erdude - -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 "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 8 -#define MATRIX_COLS 9 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { C6, B6, B5, B4, C7, B3, B7, D7} -#define MATRIX_COL_PINS { F0, F1, F4, F7, D6, E6, B0, B1, B2} - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -// LEFT -> RIGHT -// D5, D3, D2 -#define LED_NUM_LOCK_PIN D5 -#define LED_CAPS_LOCK_PIN D3 -#define LED_SCROLL_LOCK_PIN D2 - -#define ENCODERS_PAD_A { F5 } -#define ENCODERS_PAD_B { F6 } diff --git a/keyboards/gorthage_truck/gorthage_truck.c b/keyboards/gorthage_truck/gorthage_truck.c deleted file mode 100644 index 2745666916..0000000000 --- a/keyboards/gorthage_truck/gorthage_truck.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2021 s8erdude - * - * 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 "gorthage_truck.h" - -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { return false; } - if (index == 0) { - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } - return true; -} diff --git a/keyboards/gorthage_truck/gorthage_truck.h b/keyboards/gorthage_truck/gorthage_truck.h deleted file mode 100644 index ed0ff9d228..0000000000 --- a/keyboards/gorthage_truck/gorthage_truck.h +++ /dev/null @@ -1,77 +0,0 @@ -/* Copyright 2021 s8erdude - * - * 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" - -#define XXX KC_NO - -/* This is a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ -#define LAYOUT_3u( \ - k00, k01, k02, k03, k04, k05, k06, k07, k40, k41, k42, k43, k44, k45, k46, k47, k48, \ - k10, k11, k12, k13, k14, k15, k16, k17, k50, k51, k52, k53, k54, k56, k57, k58, \ - k20, k21, k22, k23, k24, k25, k26, k27, k60, k61, k62, k63, k64, k65, k66, k67, k68, \ - k30, k31, k32, k34, k70, k71, k73, k74, k75, k76, k77, k78 \ -) { \ - { k00, k01, k02, k03, k04, k05, k06, k07, XXX }, \ - { k10, k11, k12, k13, k14, k15, k16, k17, XXX }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, XXX }, \ - { k30, k31, k32, XXX, k34, XXX, XXX, XXX, XXX }, \ - { k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ - { k50, k51, k52, k53, k54, XXX, k56, k57, k58 }, \ - { k60, k61, k62, k63, k64, k65, k66, k67, k68 }, \ - { k70, k71, XXX, k73, k74, k75, k76, k77, k78 } \ -} - -#define LAYOUT_7u( \ - k00, k01, k02, k03, k04, k05, k06, k07, k40, k41, k42, k43, k44, k45, k46, k47, k48, \ - k10, k11, k12, k13, k14, k15, k16, k17, k50, k51, k52, k53, k54, k56, k57, k58, \ - k20, k21, k22, k23, k24, k25, k26, k27, k60, k61, k62, k63, k64, k65, k66, k67, k68, \ - k30, k31, k32, k37, k73, k74, k75, k76, k77, k78 \ -) { \ - { k00, k01, k02, k03, k04, k05, k06, k07, XXX }, \ - { k10, k11, k12, k13, k14, k15, k16, k17, XXX }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, XXX }, \ - { k30, k31, k32, XXX, XXX, XXX, XXX, k37, XXX }, \ - { k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ - { k50, k51, k52, k53, k54, XXX, k56, k57, k58 }, \ - { k60, k61, k62, k63, k64, k65, k66, k67, k68 }, \ - { XXX, XXX, XXX, k73, k74, k75, k76, k77, k78 } \ -} - -#define LAYOUT_10u( \ - k00, k01, k02, k03, k04, k05, k06, k07, k40, k41, k42, k43, k44, k45, k46, k47, k48, \ - k10, k11, k12, k13, k14, k15, k16, k17, k50, k51, k52, k53, k54, k56, k57, k58, \ - k20, k21, k22, k23, k24, k25, k26, k27, k60, k61, k62, k63, k64, k65, k66, k67, k68, \ - k30, k36, k73, k74, k75, k76, k77, k78 \ -) { \ - { k00, k01, k02, k03, k04, k05, k06, k07, XXX }, \ - { k10, k11, k12, k13, k14, k15, k16, k17, XXX }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, XXX }, \ - { k30, XXX, XXX, XXX, XXX, XXX, k36, XXX, XXX }, \ - { k40, k41, k42, k43, k44, k45, k46, k47, k48 }, \ - { k50, k51, k52, k53, k54, XXX, k56, k57, k58 }, \ - { k60, k61, k62, k63, k64, k65, k66, k67, k68 }, \ - { XXX, XXX, XXX, k73, k74, k75, k76, k77, k78 } \ -} diff --git a/keyboards/gorthage_truck/info.json b/keyboards/gorthage_truck/info.json deleted file mode 100644 index 8b083b3229..0000000000 --- a/keyboards/gorthage_truck/info.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "keyboard_name": "gorthage_truck", - "manufacturer": "s8erdude", - "url": "https://github.com/jpuerto96", - "maintainer": "jpuerto96 (s8erdude)", - "usb": { - "vid": "0xB33F", - "pid": "0x58E4", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT_3u": { - "layout": [ - {"label":"Tab", "x":0, "y":0}, - {"label":"Q", "x":1, "y":0}, - {"label":"W", "x":2, "y":0}, - {"label":"E", "x":3, "y":0}, - {"label":"R", "x":4, "y":0}, - {"label":"T", "x":5, "y":0}, - {"label":"Y", "x":6, "y":0}, - {"label":"U", "x":7, "y":0}, - {"label":"I", "x":8, "y":0}, - {"label":"O", "x":9, "y":0}, - {"label":"P", "x":10, "y":0}, - {"label":"[{", "x":11, "y":0}, - {"label":"]}", "x":12, "y":0}, - {"label":"Play", "x":13.5, "y":0.5}, - {"label":"7", "x":15, "y":0}, - {"label":"8", "x":16, "y":0}, - {"label":"9", "x":17, "y":0}, - - {"label":"Caps Lock", "x":0, "y":1}, - {"label":"A", "x":1, "y":1}, - {"label":"S", "x":2, "y":1}, - {"label":"D", "x":3, "y":1}, - {"label":"F", "x":4, "y":1}, - {"label":"G", "x":5, "y":1}, - {"label":"H", "x":6, "y":1}, - {"label":"J", "x":7, "y":1}, - {"label":"K", "x":8, "y":1}, - {"label":"L", "x":9, "y":1}, - {"label":";:", "x":10, "y":1}, - {"label":"'\"", "x":11, "y":1}, - {"label":"\\|", "x":12, "y":1}, - {"label":"4", "x":15, "y":1}, - {"label":"5", "x":16, "y":1}, - {"label":"6", "x":17, "y":1}, - - {"label":"-_", "x":0, "y":2}, - {"label":"Z", "x":1, "y":2}, - {"label":"X", "x":2, "y":2}, - {"label":"C", "x":3, "y":2}, - {"label":"V", "x":4, "y":2}, - {"label":"B", "x":5, "y":2}, - {"label":"N", "x":6, "y":2}, - {"label":"M", "x":7, "y":2}, - {"label":",<", "x":8, "y":2}, - {"label":".>", "x":9, "y":2}, - {"label":"/?", "x":10, "y":2}, - {"label":"Shift", "x":11, "y":2}, - {"label":"Backspace", "x":12, "y":2}, - {"label":"\u2191", "x":13.5, "y":2.5}, - {"label":"1", "x":15, "y":2}, - {"label":"2", "x":16, "y":2}, - {"label":"3", "x":17, "y":2}, - - {"label":"Ctrl", "x":0, "y":3, "w":1.25}, - {"label":"Alt", "x":1.25, "y":3, "w":1.25}, - {"label":"GUI", "x":2.5, "y":3}, - {"label":"Space", "x":3.5, "y":3, "w":3}, - {"label":"Enter", "x":6.5, "y":3, "w":3}, - {"label":"GUI", "x":9.5, "y":3, "w":1.25}, - {"label":"Alt", "x":10.75, "y":3, "w":1.25}, - {"label":"\u2190", "x":12.5, "y":3.5}, - {"label":"\u2193", "x":13.5, "y":3.5}, - {"label":"\u2192", "x":14.5, "y":3.5}, - {"label":"0", "x":16, "y":3}, - {"label":".", "x":17, "y":3} - ] - }, - "LAYOUT_7u": { - "layout": [ - {"label":"Tab", "x":0, "y":0}, - {"label":"Q", "x":1, "y":0}, - {"label":"W", "x":2, "y":0}, - {"label":"E", "x":3, "y":0}, - {"label":"R", "x":4, "y":0}, - {"label":"T", "x":5, "y":0}, - {"label":"Y", "x":6, "y":0}, - {"label":"U", "x":7, "y":0}, - {"label":"I", "x":8, "y":0}, - {"label":"O", "x":9, "y":0}, - {"label":"P", "x":10, "y":0}, - {"label":"[{", "x":11, "y":0}, - {"label":"]}", "x":12, "y":0}, - {"label":"Play", "x":13.5, "y":0.5}, - {"label":"7", "x":15, "y":0}, - {"label":"8", "x":16, "y":0}, - {"label":"9", "x":17, "y":0}, - - {"label":"Caps Lock", "x":0, "y":1}, - {"label":"A", "x":1, "y":1}, - {"label":"S", "x":2, "y":1}, - {"label":"D", "x":3, "y":1}, - {"label":"F", "x":4, "y":1}, - {"label":"G", "x":5, "y":1}, - {"label":"H", "x":6, "y":1}, - {"label":"J", "x":7, "y":1}, - {"label":"K", "x":8, "y":1}, - {"label":"L", "x":9, "y":1}, - {"label":";:", "x":10, "y":1}, - {"label":"'\"", "x":11, "y":1}, - {"label":"\\|", "x":12, "y":1}, - {"label":"4", "x":15, "y":1}, - {"label":"5", "x":16, "y":1}, - {"label":"6", "x":17, "y":1}, - - {"label":"-_", "x":0, "y":2}, - {"label":"Z", "x":1, "y":2}, - {"label":"X", "x":2, "y":2}, - {"label":"C", "x":3, "y":2}, - {"label":"V", "x":4, "y":2}, - {"label":"B", "x":5, "y":2}, - {"label":"N", "x":6, "y":2}, - {"label":"M", "x":7, "y":2}, - {"label":",<", "x":8, "y":2}, - {"label":".>", "x":9, "y":2}, - {"label":"/?", "x":10, "y":2}, - {"label":"Shift", "x":11, "y":2}, - {"label":"Backspace", "x":12, "y":2}, - {"label":"\u2191", "x":13.5, "y":2.5}, - {"label":"1", "x":15, "y":2}, - {"label":"2", "x":16, "y":2}, - {"label":"3", "x":17, "y":2}, - - {"label":"Ctrl", "x":0, "y":3, "w":1.25}, - {"label":"Alt", "x":1.25, "y":3, "w":1.25}, - {"label":"GUI", "x":2.5, "y":3, "w":1.25}, - {"label":"Space", "x":3.75, "y":3, "w":7}, - {"label":"GUI", "x":10.75, "y":3, "w":1.25}, - {"label":"\u2190", "x":12.5, "y":3.5}, - {"label":"\u2193", "x":13.5, "y":3.5}, - {"label":"\u2192", "x":14.5, "y":3.5}, - {"label":"0", "x":16, "y":3}, - {"label":".", "x":17, "y":3} - ] - }, - "LAYOUT_10u": { - "layout": [ - {"label":"Tab", "x":0, "y":0}, - {"label":"Q", "x":1, "y":0}, - {"label":"W", "x":2, "y":0}, - {"label":"E", "x":3, "y":0}, - {"label":"R", "x":4, "y":0}, - {"label":"T", "x":5, "y":0}, - {"label":"Y", "x":6, "y":0}, - {"label":"U", "x":7, "y":0}, - {"label":"I", "x":8, "y":0}, - {"label":"O", "x":9, "y":0}, - {"label":"P", "x":10, "y":0}, - {"label":"[{", "x":11, "y":0}, - {"label":"]}", "x":12, "y":0}, - {"label":"Play", "x":13.5, "y":0.5}, - {"label":"7", "x":15, "y":0}, - {"label":"8", "x":16, "y":0}, - {"label":"9", "x":17, "y":0}, - - {"label":"Caps Lock", "x":0, "y":1}, - {"label":"A", "x":1, "y":1}, - {"label":"S", "x":2, "y":1}, - {"label":"D", "x":3, "y":1}, - {"label":"F", "x":4, "y":1}, - {"label":"G", "x":5, "y":1}, - {"label":"H", "x":6, "y":1}, - {"label":"J", "x":7, "y":1}, - {"label":"K", "x":8, "y":1}, - {"label":"L", "x":9, "y":1}, - {"label":";:", "x":10, "y":1}, - {"label":"'\"", "x":11, "y":1}, - {"label":"\\|", "x":12, "y":1}, - {"label":"4", "x":15, "y":1}, - {"label":"5", "x":16, "y":1}, - {"label":"6", "x":17, "y":1}, - - {"label":"-_", "x":0, "y":2}, - {"label":"Z", "x":1, "y":2}, - {"label":"X", "x":2, "y":2}, - {"label":"C", "x":3, "y":2}, - {"label":"V", "x":4, "y":2}, - {"label":"B", "x":5, "y":2}, - {"label":"N", "x":6, "y":2}, - {"label":"M", "x":7, "y":2}, - {"label":",<", "x":8, "y":2}, - {"label":".>", "x":9, "y":2}, - {"label":"/?", "x":10, "y":2}, - {"label":"Shift", "x":11, "y":2}, - {"label":"Backspace", "x":12, "y":2}, - {"label":"\u2191", "x":13.5, "y":2.5}, - {"label":"1", "x":15, "y":2}, - {"label":"2", "x":16, "y":2}, - {"label":"3", "x":17, "y":2}, - - {"label":"Ctrl", "x":0, "y":3}, - {"label":"Space", "x":1, "y":3, "w":10}, - {"label":"GUI", "x":11, "y":3}, - {"label":"\u2190", "x":12.5, "y":3.5}, - {"label":"\u2193", "x":13.5, "y":3.5}, - {"label":"\u2192", "x":14.5, "y":3.5}, - {"label":"0", "x":16, "y":3}, - {"label":".", "x":17, "y":3} - ] - } - } -} diff --git a/keyboards/gorthage_truck/keymaps/10u/keymap.c b/keyboards/gorthage_truck/keymaps/10u/keymap.c deleted file mode 100644 index f289c3c8c8..0000000000 --- a/keyboards/gorthage_truck/keymaps/10u/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2021 s8erdude - * - * 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 - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base */ - [_BASE] = LAYOUT_10u( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_MINS, KC_MPLY, KC_1, KC_2, KC_3, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_EQL, KC_4, KC_5, KC_6, - KC_LCAP, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, KC_SLSH, KC_GRV, KC_UP, KC_7, KC_8, KC_9, - KC_LGUI, KC_RSFT, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT, KC_DOT, KC_0 - ) -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* First encoder */ - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } - return true; -} diff --git a/keyboards/gorthage_truck/keymaps/10u/readme.md b/keyboards/gorthage_truck/keymaps/10u/readme.md deleted file mode 100644 index ba57cd8dc7..0000000000 --- a/keyboards/gorthage_truck/keymaps/10u/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for gorthage_truck diff --git a/keyboards/gorthage_truck/keymaps/7u/keymap.c b/keyboards/gorthage_truck/keymaps/7u/keymap.c deleted file mode 100644 index 679e6eeb64..0000000000 --- a/keyboards/gorthage_truck/keymaps/7u/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2021 s8erdude - * - * 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 - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base */ - [_BASE] = LAYOUT_7u( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_MINS, KC_MPLY, KC_1, KC_2, KC_3, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_EQL, KC_4, KC_5, KC_6, - KC_LCAP, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, KC_SLSH, KC_GRV, KC_UP, KC_7, KC_8, KC_9, - KC_LGUI, KC_LCTL, KC_LSFT, KC_RCTL, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT, KC_DOT, KC_0 - ) -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* First encoder */ - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } - return true; -} diff --git a/keyboards/gorthage_truck/keymaps/7u/readme.md b/keyboards/gorthage_truck/keymaps/7u/readme.md deleted file mode 100644 index ba57cd8dc7..0000000000 --- a/keyboards/gorthage_truck/keymaps/7u/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for gorthage_truck diff --git a/keyboards/gorthage_truck/keymaps/default/keymap.c b/keyboards/gorthage_truck/keymaps/default/keymap.c deleted file mode 100644 index e875883250..0000000000 --- a/keyboards/gorthage_truck/keymaps/default/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2021 s8erdude - * - * 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 - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base */ - [_BASE] = LAYOUT_3u( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_MINS, KC_MPLY, KC_1, KC_2, KC_3, - KC_SLCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_EQL, KC_4, KC_5, KC_6, - KC_NLCK, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, KC_SLSH, KC_GRV, KC_UP, KC_7, KC_8, KC_9, - KC_CLCK, KC_LCTL, KC_LSFT, KC_SPC, KC_RSFT, KC_RCTL, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT, KC_DOT, KC_0 - ) -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* First encoder */ - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } - return true; -} diff --git a/keyboards/gorthage_truck/keymaps/default/readme.md b/keyboards/gorthage_truck/keymaps/default/readme.md deleted file mode 100644 index ba57cd8dc7..0000000000 --- a/keyboards/gorthage_truck/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for gorthage_truck diff --git a/keyboards/gorthage_truck/readme.md b/keyboards/gorthage_truck/readme.md deleted file mode 100644 index 047aa0434a..0000000000 --- a/keyboards/gorthage_truck/readme.md +++ /dev/null @@ -1,19 +0,0 @@ -# gorthage_truck - -This PCB is a drop-in ortholinear replacement for the Garbage Truck keyboard case. It supports 2x3u split bars, 7u, or 10u. - -* Keyboard Maintainer: [s8erdude](https://github.com/jpuerto96) -* Hardware Supported: Gorthage Truck PCB -* Hardware Availability: [Open Source PCB](https://github.com/jpuerto96/gorthage_truck) - -Make example for this keyboard (after setting up your build environment): - - make gorthage_truck:default - -Flashing example for this keyboard: - - make gorthage_truck:default:flash - -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). - -To reset the board, you will want to short the pad labeled RESET1 on the back (near the MCU). diff --git a/keyboards/gorthage_truck/rules.mk b/keyboards/gorthage_truck/rules.mk deleted file mode 100644 index 284ea23e78..0000000000 --- a/keyboards/gorthage_truck/rules.mk +++ /dev/null @@ -1,20 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -ENCODER_ENABLE = yes |