Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] BLASTER75 keyboard PR #16887

Merged
merged 13 commits into from
Jun 13, 2022
17 changes: 17 additions & 0 deletions keyboards/blaster75/blaster75.c
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

#include "blaster75.h"
97 changes: 97 additions & 0 deletions keyboards/blaster75/blaster75.h
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

#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 } \
}
44 changes: 44 additions & 0 deletions keyboards/blaster75/config.h
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

#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


186 changes: 186 additions & 0 deletions keyboards/blaster75/info.json
Original file line number Diff line number Diff line change
@@ -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}
]
}
}
}
37 changes: 37 additions & 0 deletions keyboards/blaster75/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/
#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
),

};
7 changes: 7 additions & 0 deletions keyboards/blaster75/keymaps/default/readme.md
Original file line number Diff line number Diff line change
@@ -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
Loading