-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lotus: Split layouts into separate keyboards
VIA needs separate PIDs for the layouts. Signed-off-by: Daniel Schaefer <[email protected]>
- Loading branch information
1 parent
6dcfb42
commit 8098783
Showing
37 changed files
with
694 additions
and
522 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2022 Framework Computer | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
// The layouts are all mostly the same, except for the extra keys that the different layouts have | ||
#define LAYOUT( \ | ||
K110, K112, K113, K114, K115, K116, K117, K118, K119, K120, K121, K122, K126, K76, \ | ||
K1, K2, K3, K4, K5, K6, K7, K8, K9, K10, K11, K12, K13, K15, \ | ||
K16, K17, K18, K19, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K40, K41, K43, \ | ||
K44, K46, K47, K48, K49, K50, K51, K52, K53, K54, K55, K57, \ | ||
K58, K59, K127, K60, K61, K62, K64, K79, K83, K84, K89 \ | ||
) \ | ||
{ \ | ||
{ K48, K76, K17, K62, KC_NO, K47, K49, K52, K54, K57, K53, KC_NO, K64, K55, K41, KC_NO }, \ | ||
{ KC_NO, KC_NO, KC_NO, K60, K61, K46, K50, K51, K84, K44, KC_NO, KC_NO, K58, K83, K43, K119 }, \ | ||
{ KC_NO, KC_NO, K59, KC_NO, K19, K113, K35, K36, K29, KC_NO, K118, KC_NO, KC_NO, K12, KC_NO, K89 }, \ | ||
{ KC_NO, K127, K16, KC_NO, K115, K112, K21, K22, K25, KC_NO, K117, K120, KC_NO, KC_NO, KC_NO, K126 }, \ | ||
{ KC_NO, KC_NO, K1, KC_NO, K30, K32, K6, K7, K121, KC_NO, K116, KC_NO, KC_NO, K11, K13, KC_NO }, \ | ||
{ KC_NO, KC_NO, K2, KC_NO, K4, K3, K5, K8, K10, KC_NO, K9, KC_NO, KC_NO, K26, K15, KC_NO }, \ | ||
{ KC_NO, KC_NO, KC_NO, KC_NO, K114, K18, K20, K23, K122, KC_NO, K24, K79, KC_NO, K27, K28, KC_NO }, \ | ||
{ KC_NO, KC_NO, K31, KC_NO, KC_NO, K110, K34, K37, K39, KC_NO, K38, KC_NO, KC_NO, K40, K33, KC_NO } \ | ||
} |
6 changes: 6 additions & 0 deletions
6
keyboards/lotus/keymaps/78_ansi/config.h → keyboards/lotus/ansi/config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
{ | ||
"keyboard_name": "Lotus Keyboard", | ||
"manufacturer": "Framework Computer Inc", | ||
"maintainer": "JohnAZoidberg", | ||
"bootloader": "rp2040", | ||
"features": { | ||
"bootmagic": false, | ||
"mousekey": true, | ||
"extrakey": true, | ||
"console": true, | ||
"command": false, | ||
"nkro": true, | ||
"audio": false | ||
}, | ||
"debounce": 5, | ||
"processor": "RP2040", | ||
"url": "https://frame.work", | ||
"usb": { | ||
"device_version": "0.1.0", | ||
"pid": "0x0013", | ||
"vid": "0x32AC" | ||
}, | ||
"backlight": { | ||
"pin": "GP25" | ||
}, | ||
"layout_aliases": { | ||
"LAYOUT_default": "LAYOUT" | ||
}, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{ "label": "Esc", "x": 0, "y": 0, "w": 1.25, "h": 0.5 }, | ||
{ "label": "F1", "x": 1.5, "y": 0, "h": 0.5 }, | ||
{ "label": "F2", "x": 2.75, "y": 0, "h": 0.5 }, | ||
{ "label": "F3", "x": 4, "y": 0, "h": 0.5 }, | ||
{ "label": "F4", "x": 5.25, "y": 0, "h": 0.5 }, | ||
{ "label": "F5", "x": 6.5, "y": 0, "h": 0.5 }, | ||
{ "label": "F6", "x": 7.75, "y": 0, "h": 0.5 }, | ||
{ "label": "F7", "x": 9, "y": 0, "h": 0.5 }, | ||
{ "label": "F8", "x": 10.25, "y": 0, "h": 0.5 }, | ||
{ "label": "F9", "x": 11.5, "y": 0, "h": 0.5 }, | ||
{ "label": "F10", "x": 12.75, "y": 0, "h": 0.5 }, | ||
{ "label": "F11", "x": 14, "y": 0, "h": 0.5 }, | ||
{ "label": "F12", "x": 15.25, "y": 0, "h": 0.5 }, | ||
{ "label": "Delete", "x": 16.5, "y": 0, "w": 1.75, "h": 0.5 }, | ||
{ "label": "~", "x": 0, "y": 0.75 }, | ||
{ "label": "!", "x": 1.25, "y": 0.75 }, | ||
{ "label": "@", "x": 2.5, "y": 0.75 }, | ||
{ "label": "#", "x": 3.75, "y": 0.75 }, | ||
{ "label": "$", "x": 5, "y": 0.75 }, | ||
{ "label": "%", "x": 6.25, "y": 0.75 }, | ||
{ "label": "^", "x": 7.5, "y": 0.75 }, | ||
{ "label": "&", "x": 8.75, "y": 0.75 }, | ||
{ "label": "*", "x": 10, "y": 0.75 }, | ||
{ "label": "(", "x": 11.25, "y": 0.75 }, | ||
{ "label": ")", "x": 12.5, "y": 0.75 }, | ||
{ "label": "_", "x": 13.75, "y": 0.75 }, | ||
{ "label": "+", "x": 15, "y": 0.75 }, | ||
{ "label": "Backspace", "x": 16.25, "y": 0.75, "w": 2 }, | ||
{ "label": "Tab", "x": 0, "y": 2, "w": 1.5 }, | ||
{ "label": "Q", "x": 1.75, "y": 2 }, | ||
{ "label": "W", "x": 3, "y": 2 }, | ||
{ "label": "E", "x": 4.25, "y": 2 }, | ||
{ "label": "R", "x": 5.5, "y": 2 }, | ||
{ "label": "T", "x": 6.75, "y": 2 }, | ||
{ "label": "Y", "x": 8, "y": 2 }, | ||
{ "label": "U", "x": 9.25, "y": 2 }, | ||
{ "label": "I", "x": 10.5, "y": 2 }, | ||
{ "label": "O", "x": 11.75, "y": 2 }, | ||
{ "label": "P", "x": 13, "y": 2 }, | ||
{ "label": "{", "x": 14.25, "y": 2 }, | ||
{ "label": "}", "x": 15.5, "y": 2 }, | ||
{ "label": "|", "x": 16.75, "y": 2, "w": 1.5 }, | ||
{ "label": "Caps Lock", "x": 0, "y": 3.25, "w": 1.75 }, | ||
{ "label": "A", "x": 2, "y": 3.25 }, | ||
{ "label": "S", "x": 3.25, "y": 3.25 }, | ||
{ "label": "D", "x": 4.5, "y": 3.25 }, | ||
{ "label": "F", "x": 5.75, "y": 3.25 }, | ||
{ "label": "G", "x": 7, "y": 3.25 }, | ||
{ "label": "H", "x": 8.25, "y": 3.25 }, | ||
{ "label": "J", "x": 9.5, "y": 3.25 }, | ||
{ "label": "K", "x": 10.75, "y": 3.25 }, | ||
{ "label": "L", "x": 12, "y": 3.25 }, | ||
{ "label": ":", "x": 13.25, "y": 3.25 }, | ||
{ "label": "\"", "x": 14.5, "y": 3.25 }, | ||
{ "label": "Enter", "x": 15.75, "y": 3.25, "w": 2.5 }, | ||
{ "label": "Shift", "x": 0, "y": 4.5, "w": 2.5 }, | ||
{ "label": "Z", "x": 2.75, "y": 4.5 }, | ||
{ "label": "X", "x": 4, "y": 4.5 }, | ||
{ "label": "C", "x": 5.25, "y": 4.5 }, | ||
{ "label": "V", "x": 6.5, "y": 4.5 }, | ||
{ "label": "B", "x": 7.75, "y": 4.5 }, | ||
{ "label": "N", "x": 9, "y": 4.5 }, | ||
{ "label": "M", "x": 10.25, "y": 4.5 }, | ||
{ "label": "<", "x": 11.5, "y": 4.5 }, | ||
{ "label": ">", "x": 12.75, "y": 4.5 }, | ||
{ "label": "?", "x": 14, "y": 4.5 }, | ||
{ "label": "Shift", "x": 15.25, "y": 4.5, "w": 3 }, | ||
{ "label": "Ctrl", "x": 0, "y": 5.75, "w": 1.25 }, | ||
{ "label": "Fn", "x": 1.5, "y": 5.75 }, | ||
{ "label": "Win", "x": 2.75, "y": 5.75 }, | ||
{ "label": "Alt", "x": 4, "y": 5.75 }, | ||
{ "x": 5.25, "y": 5.75, "w": 6 }, | ||
{ "label": "Alt", "x": 11.5, "y": 5.75 }, | ||
{ "label": "Ctrl", "x": 12.75, "y": 5.75 }, | ||
{ "label": "←", "x": 14, "y": 5.75, "w": 1.25 }, | ||
{ "label": "↑", "x": 15.5, "y": 5.75, "w": 1.25, "h": 0.5 }, | ||
{ "label": "→", "x": 17, "y": 5.75, "w": 1.25 }, | ||
{ "label": "↓", "x": 15.5, "y": 6.25, "w": 1.25, "h": 0.5 } | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.