From 5149728b23906728c1959afb784489d9807625d6 Mon Sep 17 00:00:00 2001 From: ALTAiN <102286038+Altainworks@users.noreply.github.com> Date: Mon, 13 Jun 2022 14:14:33 +0900 Subject: [PATCH] [Keyboard] Add BLASTER75 keyboard (#16887) Co-authored-by: Ryan --- keyboards/blaster75/blaster75.c | 17 ++ keyboards/blaster75/blaster75.h | 97 +++++++++ keyboards/blaster75/config.h | 44 +++++ keyboards/blaster75/info.json | 186 ++++++++++++++++++ keyboards/blaster75/keymaps/default/keymap.c | 37 ++++ keyboards/blaster75/keymaps/default/readme.md | 7 + keyboards/blaster75/keymaps/via/keymap.c | 51 +++++ keyboards/blaster75/keymaps/via/rules.mk | 1 + keyboards/blaster75/readme.md | 31 +++ keyboards/blaster75/rules.mk | 19 ++ 10 files changed, 490 insertions(+) create mode 100644 keyboards/blaster75/blaster75.c create mode 100644 keyboards/blaster75/blaster75.h create mode 100644 keyboards/blaster75/config.h create mode 100644 keyboards/blaster75/info.json create mode 100644 keyboards/blaster75/keymaps/default/keymap.c create mode 100644 keyboards/blaster75/keymaps/default/readme.md create mode 100644 keyboards/blaster75/keymaps/via/keymap.c create mode 100644 keyboards/blaster75/keymaps/via/rules.mk create mode 100644 keyboards/blaster75/readme.md create mode 100644 keyboards/blaster75/rules.mk diff --git a/keyboards/blaster75/blaster75.c b/keyboards/blaster75/blaster75.c new file mode 100644 index 0000000000..2b5f60a566 --- /dev/null +++ b/keyboards/blaster75/blaster75.c @@ -0,0 +1,17 @@ +/* Copyright 2021 Altain + * + * 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 . + */ + +#include "blaster75.h" \ No newline at end of file diff --git a/keyboards/blaster75/blaster75.h b/keyboards/blaster75/blaster75.h new file mode 100644 index 0000000000..b3b6995d30 --- /dev/null +++ b/keyboards/blaster75/blaster75.h @@ -0,0 +1,97 @@ +/* Copyright 2021 Altain + * + * 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 . + */ + +#pragma once + +#include "quantum.h" + + +/* This section is to help viewers visually clarify the physical layout of Blaster 75 PCB. + +ANSI Layout : + * ,---------------------------------------------------------------- + * | ESC| F1| F2| F3| F4| F5| F6| F7| F8| F9| F10| F11| F12|PSC|INS| + * ,---------------------------------------------------------------| + * | ` |1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | + | BKSPC |HOME| + * |---------------------------------------------------------------| + * | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | DEL| + * |---------------------------------------------------------------| + * | CTRL | A | S | D | F | G | H | J | K | L | ; | ' | ENTER| END| + * |---------------------------------------------------------------| + * | LSHIFT | Z | X | C | V | B | N | M | , | . | / |RSHFT | ↑ | | + * |---------------------------------------------------------------| + * |LCTL|LWIN|LALT| 6.25U SPACE |RALT|RCTL| ← | ↓ | → | + * `---------------------------------------------------------------- + * + * + + +7U Spacebar Layout : + * ,---------------------------------------------------------------- + * | ESC| F1| F2| F3| F4| F5| F6| F7| F8| F9| F10| F11| F12|PSC|INS| + * ,---------------------------------------------------------------| + * | ` |1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | + | BKSPC |HOME| + * |---------------------------------------------------------------| + * | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | DEL| + * |---------------------------------------------------------------| + * | CTRL | A | S | D | F | G | H | J | K | L | ; | ' | ENTER| END| + * |---------------------------------------------------------------| + * | LSHIFT | Z | X | C | V | B | N | M | , | . | / |RSHFT | ↑ | | + * |---------------------------------------------------------------| + * | LCTL |LWIN| LALT | 7U SPACE | RCTL | ← | ↓ | → | + * `---------------------------------------------------------------- + * + * */ + +#define XXX KC_NO + +// BLASTER75 DEFAULT ANSI LAYOUT +// 6.25U SPACEBAR +// BOTTOM ROW 1.25 , 1.25 , 1.25 , 6.25 , 1.25 , 1.25 CONFIGURATION +#define LAYOUT( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \ + K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, \ + K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4B, K4C, K4D, \ + K50, K51, K52, K55, K59, K5B, K5C, K5D, K5E \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \ + { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, XXX, K3E }, \ + { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, XXX, K4B, K4C, K4D, XXX }, \ + { K50, K51, K52, XXX, XXX, K55, XXX, XXX, XXX, K59, XXX, K5B, K5C, K5D, K5E } \ +} + +// BLASTER75 7U LAYOUT +// 7U SPACEBAR +// BOTTOM ROW 1.5 , 1 , 1.5 , 7 , 1.5 CONFIGURATION +#define LAYOUT_7u( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \ + K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, \ + K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4B, K4C, K4D, \ + K50, K51, K52, K55, K5B, K5C, K5D, K5E \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ + { K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \ + { K30, XXX, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, XXX, K3E }, \ + { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, XXX, K4B, K4C, K4D, XXX }, \ + { K50, K51, K52, XXX, XXX, K55, XXX, XXX, XXX, XXX, XXX, K5B, K5C, K5D, K5E } \ +} diff --git a/keyboards/blaster75/config.h b/keyboards/blaster75/config.h new file mode 100644 index 0000000000..61a9a754fb --- /dev/null +++ b/keyboards/blaster75/config.h @@ -0,0 +1,44 @@ +/* +Copyright 2021 Altain + +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 . +*/ + +#pragma once + +#include "config_common.h" + +#define VENDOR_ID 0xA122 +#define PRODUCT_ID 0xB075 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Altain +#define PRODUCT Blaster75 + +/* Matrix Size */ +#define MATRIX_ROWS 6 +#define MATRIX_COLS 15 + +/* Matrix Pinouts */ +// 0 1 2 3 4 5 6 7 8 9 A B C D E +#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 } +#define MATRIX_COL_PINS { B0, B4, B5, B6, B7, C6, C7, D0, D1, D2, D3, D4, D5, D6, D7 } +#define UNUSED_PINS + +/* Diode Direction */ +#define DIODE_DIRECTION COL2ROW + +/* Debounce Setting */ +#define DEBOUNCE 5 + + diff --git a/keyboards/blaster75/info.json b/keyboards/blaster75/info.json new file mode 100644 index 0000000000..3bedb1b715 --- /dev/null +++ b/keyboards/blaster75/info.json @@ -0,0 +1,186 @@ +{ + "keyboard_name": "Blaster 75", + "url": "", + "maintainer": "Altain", + "layouts": { + "LAYOUT": { + "layout": [ + {"label": "ESC", "y": 0,"x": 0}, + {"label": "F1", "y": 0,"x": 1.25}, + {"label": "F2", "y": 0,"x": 2.25}, + {"label": "F3", "y": 0,"x": 3.25}, + {"label": "F4", "y": 0,"x": 4.25}, + {"label": "F5", "y": 0,"x": 5.5}, + {"label": "F6", "y": 0,"x": 6.5}, + {"label": "F7", "y": 0,"x": 7.5}, + {"label": "F8", "y": 0,"x": 8.5}, + {"label": "F9", "y": 0,"x": 9.75}, + {"label": "F10", "y": 0,"x": 10.75}, + {"label": "F11", "y": 0,"x": 11.75}, + {"label": "F12", "y": 0,"x": 12.75}, + {"label": "PrtSc", "y": 0,"x": 14}, + {"label": "INS", "y": 0,"x": 15}, + + {"label": "~", "y": 1.25,"x": 0}, + {"label": "!", "y": 1.25,"x": 1}, + {"label": "@", "y": 1.25,"x": 2}, + {"label": "#", "y": 1.25,"x": 3}, + {"label": "$", "y": 1.25,"x": 4}, + {"label": "%", "y": 1.25,"x": 5}, + {"label": "^", "y": 1.25,"x": 6}, + {"label": "&", "y": 1.25,"x": 7}, + {"label": "*", "y": 1.25,"x": 8}, + {"label": "(", "y": 1.25,"x": 9}, + {"label": ")", "y": 1.25,"x": 10}, + {"label": "_", "y": 1.25,"x": 11}, + {"label": "+", "y": 1.25,"x": 12}, + {"label": "Backspace", "y": 1.5,"x": 13, "w": 2}, + {"label": "Home", "y": 1.5,"x": 15}, + + {"label": "Tab", "y": 2.25,"x": 0, "w": 1.5}, + {"label": "Q", "y": 2.25,"x": 1.5}, + {"label": "W", "y": 2.25,"x": 2.5}, + {"label": "E", "y": 2.25,"x": 3.5}, + {"label": "R", "y": 2.25,"x": 4.5}, + {"label": "T", "y": 2.25,"x": 5.5}, + {"label": "Y", "y": 2.25,"x": 6.5}, + {"label": "U", "y": 2.25,"x": 7.5}, + {"label": "I", "y": 2.25,"x": 8.5}, + {"label": "O", "y": 2.25,"x": 9.5}, + {"label": "P", "y": 2.25,"x": 10.5}, + {"label": "{", "y": 2.25,"x": 11.5}, + {"label": "}", "y": 2.25,"x": 12.5}, + {"label": "|", "y": 2.25,"x": 13.5, "w": 1.5}, + {"label": "Del", "y": 2.25,"x": 15}, + + {"label": "Caps Lock", "y": 3.25,"x": 0, "w": 1.75}, + {"label": "A", "y": 3.25,"x": 1.75}, + {"label": "S", "y": 3.25,"x": 2.75}, + {"label": "D", "y": 3.25,"x": 3.75}, + {"label": "F", "y": 3.25,"x": 4.75}, + {"label": "G", "y": 3.25,"x": 5.75}, + {"label": "H", "y": 3.25,"x": 6.75}, + {"label": "J", "y": 3.25,"x": 7.75}, + {"label": "K", "y": 3.25,"x": 8.75}, + {"label": "L", "y": 3.25,"x": 9.75}, + {"label": ":", "y": 3.25,"x": 10.75}, + {"label": "\"", "y": 3.25,"x": 11.75}, + {"label": "Enter", "y": 3.25,"x": 12.75, "w": 2.25}, + {"label": "End", "y": 3.25,"x": 15}, + + {"label": "Shift", "y": 4.25,"x": 0, "w": 2.25}, + {"label": "Z", "y": 4.25,"x": 2.25}, + {"label": "X", "y": 4.25,"x": 3.25}, + {"label": "C", "y": 4.25,"x": 4.25}, + {"label": "V", "y": 4.25,"x": 5.25}, + {"label": "B", "y": 4.25,"x": 6.25}, + {"label": "N", "y": 4.25,"x": 7.25}, + {"label": "M", "y": 4.25,"x": 8.25}, + {"label": "<", "y": 4.25,"x": 9.25}, + {"label": ">", "y": 4.25,"x": 10.25}, + {"label": "?", "y": 4.25,"x": 11.25}, + {"label": "Shift", "y": 4.25,"x": 12.25, "w": 1.75}, + {"label": "\u2191", "y": 4.25,"x": 14}, + + {"label":"Ctrl", "y":5.25, "x":0, "w":1.25}, + {"label":"Win", "y":5.25, "x":1.25, "w": 1.25}, + {"label":"Alt", "y":5.25, "x":2.5, "w":1.25}, + {"label":"Spacebar", "y":5.25, "x":3.75, "w":6.25}, + {"label":"Win", "y":5.25, "x":10, "w":1.25}, + {"label":"Alt", "y":5.25, "x":11.25, "w":1.25}, + {"label":"\u2190", "y":5.25, "x":13}, + {"label":"\u2193", "y":5.25, "x":14}, + {"label":"\u2192", "y":5.25, "x":15} + ] + }, + "LAYOUT_7u": { + "layout": [ + {"label": "ESC", "y": 0,"x": 0}, + {"label": "F1", "y": 0,"x": 1.25}, + {"label": "F2", "y": 0,"x": 2.25}, + {"label": "F3", "y": 0,"x": 3.25}, + {"label": "F4", "y": 0,"x": 4.25}, + {"label": "F5", "y": 0,"x": 5.5}, + {"label": "F6", "y": 0,"x": 6.5}, + {"label": "F7", "y": 0,"x": 7.5}, + {"label": "F8", "y": 0,"x": 8.5}, + {"label": "F9", "y": 0,"x": 9.75}, + {"label": "F10", "y": 0,"x": 10.75}, + {"label": "F11", "y": 0,"x": 11.75}, + {"label": "F12", "y": 0,"x": 12.75}, + {"label": "PrtSc", "y": 0,"x": 14}, + {"label": "INS", "y": 0,"x": 15}, + + {"label": "~", "y": 1.25,"x": 0}, + {"label": "!", "y": 1.25,"x": 1}, + {"label": "@", "y": 1.25,"x": 2}, + {"label": "#", "y": 1.25,"x": 3}, + {"label": "$", "y": 1.25,"x": 4}, + {"label": "%", "y": 1.25,"x": 5}, + {"label": "^", "y": 1.25,"x": 6}, + {"label": "&", "y": 1.25,"x": 7}, + {"label": "*", "y": 1.25,"x": 8}, + {"label": "(", "y": 1.25,"x": 9}, + {"label": ")", "y": 1.25,"x": 10}, + {"label": "_", "y": 1.25,"x": 11}, + {"label": "+", "y": 1.25,"x": 12}, + {"label": "Backspace", "y": 1.5,"x": 13, "w": 2}, + {"label": "Home", "y": 1.5,"x": 15}, + + {"label": "Tab", "y": 2.25,"x": 0, "w": 1.5}, + {"label": "Q", "y": 2.25,"x": 1.5}, + {"label": "W", "y": 2.25,"x": 2.5}, + {"label": "E", "y": 2.25,"x": 3.5}, + {"label": "R", "y": 2.25,"x": 4.5}, + {"label": "T", "y": 2.25,"x": 5.5}, + {"label": "Y", "y": 2.25,"x": 6.5}, + {"label": "U", "y": 2.25,"x": 7.5}, + {"label": "I", "y": 2.25,"x": 8.5}, + {"label": "O", "y": 2.25,"x": 9.5}, + {"label": "P", "y": 2.25,"x": 10.5}, + {"label": "{", "y": 2.25,"x": 11.5}, + {"label": "}", "y": 2.25,"x": 12.5}, + {"label": "|", "y": 2.25,"x": 13.5, "w": 1.5}, + {"label": "Del", "y": 2.25,"x": 15}, + + {"label": "Caps Lock", "y": 3.25,"x": 0, "w": 1.75}, + {"label": "A", "y": 3.25,"x": 1.75}, + {"label": "S", "y": 3.25,"x": 2.75}, + {"label": "D", "y": 3.25,"x": 3.75}, + {"label": "F", "y": 3.25,"x": 4.75}, + {"label": "G", "y": 3.25,"x": 5.75}, + {"label": "H", "y": 3.25,"x": 6.75}, + {"label": "J", "y": 3.25,"x": 7.75}, + {"label": "K", "y": 3.25,"x": 8.75}, + {"label": "L", "y": 3.25,"x": 9.75}, + {"label": ":", "y": 3.25,"x": 10.75}, + {"label": "\"", "y": 3.25,"x": 11.75}, + {"label": "Enter", "y": 3.25,"x": 12.75, "w": 2.25}, + {"label": "End", "y": 3.25,"x": 15}, + + {"label": "Shift", "y": 4.25,"x": 0, "w": 2.25}, + {"label": "Z", "y": 4.25,"x": 2.25}, + {"label": "X", "y": 4.25,"x": 3.25}, + {"label": "C", "y": 4.25,"x": 4.25}, + {"label": "V", "y": 4.25,"x": 5.25}, + {"label": "B", "y": 4.25,"x": 6.25}, + {"label": "N", "y": 4.25,"x": 7.25}, + {"label": "M", "y": 4.25,"x": 8.25}, + {"label": "<", "y": 4.25,"x": 9.25}, + {"label": ">", "y": 4.25,"x": 10.25}, + {"label": "?", "y": 4.25,"x": 11.25}, + {"label": "Shift", "y": 4.25,"x": 12.25, "w": 1.75}, + {"label": "\u2191", "y": 4.25,"x": 14}, + + {"label":"Ctrl", "y":5.25, "x": 0, "w":1.5}, + {"label":"Win", "y":5.25, "x":1.5}, + {"label":"Alt", "y":5.25, "x":2.5, "w":1.5}, + {"label":"Spacebar", "y":5.25, "x":4, "w":7}, + {"label":"Alt", "y":5.25, "x":11, "w":1.5}, + {"label":"\u2190", "y":5.25, "x":13}, + {"label":"\u2193", "y":5.25, "x":14}, + {"label":"\u2192", "y":5.25, "x":15} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/blaster75/keymaps/default/keymap.c b/keyboards/blaster75/keymaps/default/keymap.c new file mode 100644 index 0000000000..e36110ef02 --- /dev/null +++ b/keyboards/blaster75/keymaps/default/keymap.c @@ -0,0 +1,37 @@ +/* Copyright 2021 by Altain + * + * 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 . + */ +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_INS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, KC_RALT, KC_RWIN, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + +}; diff --git a/keyboards/blaster75/keymaps/default/readme.md b/keyboards/blaster75/keymaps/default/readme.md new file mode 100644 index 0000000000..16bb7d7124 --- /dev/null +++ b/keyboards/blaster75/keymaps/default/readme.md @@ -0,0 +1,7 @@ +![Blaster75 Layout Image](https://i.imgur.com/qrvNWCoh.png) + +This is the default keymap intended for Blaster 75 Custom Keyboard by ALTAiN. +This layout overall follows ANSI layout except the bottom rows. +Should the user wishes to, the bottom layout can be configured as the following: +1) 1.25 / 1.25 / 1.25 / 6.26u Spacebar / 1.25 / 1.25 , or +2) 1.5u / 1u / 1.5u / 7u Spacebar / 1.5u \ No newline at end of file diff --git a/keyboards/blaster75/keymaps/via/keymap.c b/keyboards/blaster75/keymaps/via/keymap.c new file mode 100644 index 0000000000..a63cfcf8ec --- /dev/null +++ b/keyboards/blaster75/keymaps/via/keymap.c @@ -0,0 +1,51 @@ +/* Copyright 2021 by Altain + * 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 . + */ +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_INS, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LWIN, KC_LALT, KC_SPC, KC_RALT, KC_RWIN, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/blaster75/keymaps/via/rules.mk b/keyboards/blaster75/keymaps/via/rules.mk new file mode 100644 index 0000000000..036bd6d1c3 --- /dev/null +++ b/keyboards/blaster75/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/blaster75/readme.md b/keyboards/blaster75/readme.md new file mode 100644 index 0000000000..1a03ec5a9f --- /dev/null +++ b/keyboards/blaster75/readme.md @@ -0,0 +1,31 @@ +# Blaster 75 + +Blaster 75 is a 75% ANSI layout Custom Keyboard designed and manufactured by Altain. + +* Keyboard Maintainer : ALTAiN +* Hardware Supported : Blaster 75 +* Hardware Availability : Produced and Sold by ALTAiN +* Mount : Top-Mount System +* Typing Angle : 6 Degree +* Front Height : 20.2mm + +## How to enter Bootloader Mode + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard. +We strongly recommend this method. If the PCB is not soldered with switches at the moment, use anything that's metal (twizzers for example) +to short the (0,0) position key ("ESC" in our PCB) while plugging the USB in. + +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `RESET` if it is available + +Make example for this keyboard (after setting up your build environment): + + make blaster75:default + +Flashing example for this keyboard: + + make blaster75: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). diff --git a/keyboards/blaster75/rules.mk b/keyboards/blaster75/rules.mk new file mode 100644 index 0000000000..d851baa2c4 --- /dev/null +++ b/keyboards/blaster75/rules.mk @@ -0,0 +1,19 @@ +# 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 = no # Mouse keys +EXTRAKEY_ENABLE = no # Audio control and System control +CONSOLE_ENABLE = yes # 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 +