mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 08:26:21 +00:00
Six Pack and ortho_ layout updates (#13587)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Suschman <suschman@gmail.com>
This commit is contained in:
parent
046429fa87
commit
7e698c71cd
@ -1,5 +1,5 @@
|
||||
{
|
||||
"keyboard_name": "40percent.club 4x4",
|
||||
"keyboard_name": "40percent.club 5x5",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"height": 4,
|
||||
|
@ -32,3 +32,5 @@ AUDIO_ENABLE = no # Audio output on port C6
|
||||
|
||||
# Enable generic behavior for split boards
|
||||
SPLIT_KEYBOARD = yes
|
||||
|
||||
LAYOUTS = ortho_2x3 ortho_2x6
|
||||
|
@ -40,8 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
// #define MATRIX_ROW_PINS { B0 } // B0 equivalents the ground pin
|
||||
// #define MATRIX_COL_PINS { E6, D7, C6, D4 }
|
||||
#define DIRECT_PINS { \
|
||||
{ D4, C6, D7 }, \
|
||||
{ E6, B4, B5 } \
|
||||
@ -56,6 +54,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_PINS { F4, F5 } // Top Row, Bottom Row
|
||||
|
||||
/* LED Indicators */
|
||||
#define LED_PIN_ON_STATE 0
|
||||
#define LED_CAPS_LOCK_PIN B0 // RX Led
|
||||
#define LED_NUM_LOCK_PIN D5 // TX Led
|
||||
|
||||
// #define RGB_DI_PIN B1 // PB1 on expansion connector
|
||||
// #ifdef RGB_DI_PIN
|
||||
// #define RGBLED_NUM 16
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"keyboard_name": "sixpack",
|
||||
"keyboard_name": "Six Pack",
|
||||
"url": "https://www.40percent.club/2017/05/six-pack-11.html",
|
||||
"maintainer": "qmk",
|
||||
"width": 3,
|
||||
|
@ -33,9 +33,5 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
[3] = LAYOUT_ortho_2x3(KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
[4] = LAYOUT_ortho_2x3(KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
[5] = LAYOUT_ortho_2x3(KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
};
|
||||
|
@ -20,3 +20,5 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
LAYOUTS = ortho_2x3
|
||||
|
@ -24,7 +24,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Base */
|
||||
[_BASE] = LAYOUT_ortho_2x3(
|
||||
KC_F1, KC_F2, KC_F3,
|
||||
KC_F4, KC_F5,KC_F6
|
||||
KC_F4, KC_F5, KC_F6
|
||||
),
|
||||
};
|
||||
|
||||
|
@ -20,3 +20,5 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
LAYOUTS = ortho_2x3
|
||||
|
3
keyboards/handwired/stream_cheap/2x3/readme.md
Normal file
3
keyboards/handwired/stream_cheap/2x3/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Stream Cheap
|
||||
|
||||
An ortholinear macropad, 2x3 configuration.
|
@ -20,3 +20,5 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
LAYOUTS = ortho_2x3
|
||||
|
3
keyboards/handwired/stream_cheap/2x4/readme.md
Normal file
3
keyboards/handwired/stream_cheap/2x4/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Stream Cheap
|
||||
|
||||
An ortholinear macropad, 2x4 configuration.
|
3
keyboards/handwired/stream_cheap/2x5/readme.md
Normal file
3
keyboards/handwired/stream_cheap/2x5/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Stream Cheap
|
||||
|
||||
An ortholinear macropad, 2x5 configuration.
|
@ -5,7 +5,7 @@
|
||||
"width": 3,
|
||||
"height": 2,
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"LAYOUT_ortho_2x3": {
|
||||
"layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}]
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "matrix.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
[0] = LAYOUT_ortho_2x3(
|
||||
KC_A, KC_B, KC_C, \
|
||||
KC_D, KC_E, KC_F \
|
||||
)
|
||||
|
@ -17,22 +17,22 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
[0] = LAYOUT_ortho_2x3(
|
||||
KC_A, KC_B, KC_C,
|
||||
KC_D, KC_E, KC_F
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
[1] = LAYOUT_ortho_2x3(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
[2] = LAYOUT(
|
||||
[2] = LAYOUT_ortho_2x3(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
|
||||
[3] = LAYOUT(
|
||||
[3] = LAYOUT_ortho_2x3(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
|
@ -28,4 +28,5 @@ UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
CUSTOM_MATRIX = yes
|
||||
|
||||
SRC = matrix.c
|
||||
SRC += matrix.c
|
||||
LAYOUTS = ortho_2x3
|
||||
|
@ -22,7 +22,7 @@
|
||||
* │ D │ E │ F │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
#define LAYOUT( \
|
||||
#define LAYOUT_ortho_2x3( \
|
||||
k00, k01, k02, \
|
||||
k10, k11, k12 \
|
||||
) { \
|
||||
|
3
layouts/community/ortho_1x4/readme.md
Normal file
3
layouts/community/ortho_1x4/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# ortho_1x4
|
||||
|
||||
LAYOUT_ortho_1x4
|
2
layouts/community/ortho_2x3/layout.json
Normal file
2
layouts/community/ortho_2x3/layout.json
Normal file
@ -0,0 +1,2 @@
|
||||
["","",""],
|
||||
["","",""]
|
3
layouts/community/ortho_2x3/readme.md
Normal file
3
layouts/community/ortho_2x3/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# ortho_2x3
|
||||
|
||||
LAYOUT_ortho_2x3
|
2
layouts/community/ortho_2x6/layout.json
Normal file
2
layouts/community/ortho_2x6/layout.json
Normal file
@ -0,0 +1,2 @@
|
||||
["","","","","",""],
|
||||
["","","","","",""]
|
3
layouts/community/ortho_2x6/readme.md
Normal file
3
layouts/community/ortho_2x6/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# ortho_2x6
|
||||
|
||||
LAYOUT_ortho_2x6
|
@ -1 +1,5 @@
|
||||
["","","","",""],["","","","",""],["","","","",""],["","","","",""],["","","","",""]
|
||||
["","","","",""],
|
||||
["","","","",""],
|
||||
["","","","",""],
|
||||
["","","","",""],
|
||||
["","","","",""]
|
||||
|
15
layouts/default/ortho_2x3/default_ortho_2x3/keymap.c
Normal file
15
layouts/default/ortho_2x3/default_ortho_2x3/keymap.c
Normal file
@ -0,0 +1,15 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┐
|
||||
* │ A │ B │ C │
|
||||
* ├───┼───┼───┤
|
||||
* │ D │ E │ F │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_2x3(
|
||||
KC_A, KC_B, KC_C,
|
||||
KC_D, KC_E, KC_F
|
||||
)
|
||||
};
|
20
layouts/default/ortho_2x3/info.json
Normal file
20
layouts/default/ortho_2x3/info.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"keyboard_name": "2x3 ortholinear layout",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"width": 3,
|
||||
"height": 2,
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_2x3": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
{"x":2, "y":1}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
2
layouts/default/ortho_2x3/layout.json
Normal file
2
layouts/default/ortho_2x3/layout.json
Normal file
@ -0,0 +1,2 @@
|
||||
["","",""],
|
||||
["","",""]
|
3
layouts/default/ortho_2x3/readme.md
Normal file
3
layouts/default/ortho_2x3/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# ortho_2x3
|
||||
|
||||
LAYOUT_ortho_2x3
|
15
layouts/default/ortho_2x6/default_ortho_2x6/keymap.c
Normal file
15
layouts/default/ortho_2x6/default_ortho_2x6/keymap.c
Normal file
@ -0,0 +1,15 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┐
|
||||
* │ A │ B │ C │ D │ E │ F │
|
||||
* ├───┼───┼───┼───┼───┼───┤
|
||||
* │ G │ H │ I │ J │ K │ L │
|
||||
* └───┴───┴───┴───┴───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_2x6(
|
||||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F,
|
||||
KC_G, KC_H, KC_I, KC_J, KC_K, KC_L
|
||||
)
|
||||
};
|
26
layouts/default/ortho_2x6/info.json
Normal file
26
layouts/default/ortho_2x6/info.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"keyboard_name": "2x6 ortholinear layout",
|
||||
"url": "",
|
||||
"maintainer": "qmk",
|
||||
"width": 6,
|
||||
"height": 2,
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_2x6": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0},
|
||||
{"x":3, "y":0},
|
||||
{"x":4, "y":0},
|
||||
{"x":5, "y":0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
{"x":2, "y":1},
|
||||
{"x":3, "y":1},
|
||||
{"x":4, "y":1},
|
||||
{"x":5, "y":1}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
2
layouts/default/ortho_2x6/layout.json
Normal file
2
layouts/default/ortho_2x6/layout.json
Normal file
@ -0,0 +1,2 @@
|
||||
["","","","","",""],
|
||||
["","","","","",""]
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user