forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handwired Minorca Refactor (qmk#7833)
* update config.h - use #pragma once include guard - update USB Device Descriptor strings * update minorca.c - remove matrix_init_kb function (same as QMK default) * update minorca.h - use #pragma once include guard - update matrix identifiers * update info.json - update matrix identifiers - change to four-space indent * update rules.mk - remote firmware size impact notes - disable RGBLIGHT_ENABLE (no RGB config present) - templating * update readme.md - templating * update keymaps/default/rules.mk - remove firmware size impact numbers - templating * update keymaps/rgb/rules.mk - remote firmware size impact notes - templating * update keymaps/rgb/readme.md - fix header * remove keymaps/default/rules.mk - identical to keyboard's rules.mk * elevate Bootmagic configurations to keyboard level * update keymaps/rgb/config.h - use #pragma once include guard - remove redundant config.h include * update keymaps/rgb/rules.mk - remove redundant rules * update keymaps/rgb/readme.md - change RGB function list to a table - make wiring call-out a header * remove keymaps/default/config.h - it's blank now * update minorca.h - use four-space indent * add Teensy 2.0 to readme
- Loading branch information
1 parent
fe86013
commit d2e6a4b
Showing
11 changed files
with
104 additions
and
167 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
{ | ||
"keyboard_name": "Minorca Handwired", | ||
"url": "", | ||
"maintainer": "qmk", | ||
"width": 12, | ||
"height": 4, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{"label":"KA00", "x":0, "y":0}, | ||
{"label":"KA01", "x":1, "y":0}, | ||
{"label":"KA02", "x":2, "y":0}, | ||
{"label":"KA03", "x":3, "y":0}, | ||
{"label":"KA04", "x":4, "y":0}, | ||
{"label":"KA05", "x":5, "y":0}, | ||
{"label":"KA06", "x":6, "y":0}, | ||
{"label":"KA07", "x":7, "y":0}, | ||
{"label":"KA08", "x":8, "y":0}, | ||
{"label":"KA09", "x":9, "y":0}, | ||
{"label":"KA10", "x":10, "y":0}, | ||
{"label":"KA11", "x":11, "y":0}, | ||
{"label":"KB00", "x":0, "y":1, "w":1.25}, | ||
{"label":"KB01", "x":1.25, "y":1}, | ||
{"label":"KB02", "x":2.25, "y":1}, | ||
{"label":"KB03", "x":3.25, "y":1}, | ||
{"label":"KB04", "x":4.25, "y":1}, | ||
{"label":"KB05", "x":5.25, "y":1}, | ||
{"label":"KB06", "x":6.25, "y":1}, | ||
{"label":"KB07", "x":7.25, "y":1}, | ||
{"label":"KB08", "x":8.25, "y":1}, | ||
{"label":"KB09", "x":9.25, "y":1}, | ||
{"label":"KB11", "x":10.25, "y":1, "w":1.75}, | ||
{"label":"KC00", "x":0, "y":2, "w":1.75}, | ||
{"label":"KC02", "x":1.75, "y":2}, | ||
{"label":"KC03", "x":2.75, "y":2}, | ||
{"label":"KC04", "x":3.75, "y":2}, | ||
{"label":"KC05", "x":4.75, "y":2}, | ||
{"label":"KC06", "x":5.75, "y":2}, | ||
{"label":"KC07", "x":6.75, "y":2}, | ||
{"label":"KC08", "x":7.75, "y":2}, | ||
{"label":"KC09", "x":8.75, "y":2}, | ||
{"label":"KC10", "x":9.75, "y":2}, | ||
{"label":"KC11", "x":10.75, "y":2, "w":1.25}, | ||
{"label":"KD00", "x":0, "y":3, "w":1.25}, | ||
{"label":"KD02", "x":1.25, "y":3, "w":1.25}, | ||
{"label":"KD03", "x":2.5, "y":3, "w":1.25}, | ||
{"label":"KD04", "x":3.75, "y":3, "w":2.25}, | ||
{"label":"KD07", "x":6, "y":3, "w":2.25}, | ||
{"label":"KD09", "x":8.25, "y":3, "w":1.25}, | ||
{"label":"KD10", "x":9.5, "y":3}, | ||
{"label":"KD11", "x":10.5, "y":3, "w":1.5} | ||
] | ||
"keyboard_name": "Minorca Handwired", | ||
"url": "", | ||
"maintainer": "qmk", | ||
"width": 12, | ||
"height": 4, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{"label":"K00", "x":0, "y":0}, | ||
{"label":"K01", "x":1, "y":0}, | ||
{"label":"K02", "x":2, "y":0}, | ||
{"label":"K03", "x":3, "y":0}, | ||
{"label":"K04", "x":4, "y":0}, | ||
{"label":"K05", "x":5, "y":0}, | ||
{"label":"K06", "x":6, "y":0}, | ||
{"label":"K07", "x":7, "y":0}, | ||
{"label":"K08", "x":8, "y":0}, | ||
{"label":"K09", "x":9, "y":0}, | ||
{"label":"K0A", "x":10, "y":0}, | ||
{"label":"K0B", "x":11, "y":0}, | ||
{"label":"K10", "x":0, "y":1, "w":1.25}, | ||
{"label":"K11", "x":1.25, "y":1}, | ||
{"label":"K12", "x":2.25, "y":1}, | ||
{"label":"K13", "x":3.25, "y":1}, | ||
{"label":"K14", "x":4.25, "y":1}, | ||
{"label":"K15", "x":5.25, "y":1}, | ||
{"label":"K16", "x":6.25, "y":1}, | ||
{"label":"K17", "x":7.25, "y":1}, | ||
{"label":"K18", "x":8.25, "y":1}, | ||
{"label":"K19", "x":9.25, "y":1}, | ||
{"label":"K1B", "x":10.25, "y":1, "w":1.75}, | ||
{"label":"K20", "x":0, "y":2, "w":1.75}, | ||
{"label":"K22", "x":1.75, "y":2}, | ||
{"label":"K23", "x":2.75, "y":2}, | ||
{"label":"K24", "x":3.75, "y":2}, | ||
{"label":"K25", "x":4.75, "y":2}, | ||
{"label":"K26", "x":5.75, "y":2}, | ||
{"label":"K27", "x":6.75, "y":2}, | ||
{"label":"K28", "x":7.75, "y":2}, | ||
{"label":"K29", "x":8.75, "y":2}, | ||
{"label":"K2A", "x":9.75, "y":2}, | ||
{"label":"K2B", "x":10.75, "y":2, "w":1.25}, | ||
{"label":"K30", "x":0, "y":3, "w":1.25}, | ||
{"label":"K32", "x":1.25, "y":3, "w":1.25}, | ||
{"label":"K33", "x":2.5, "y":3, "w":1.25}, | ||
{"label":"K34", "x":3.75, "y":3, "w":2.25}, | ||
{"label":"K37", "x":6, "y":3, "w":2.25}, | ||
{"label":"K39", "x":8.25, "y":3, "w":1.25}, | ||
{"label":"K3A", "x":9.5, "y":3}, | ||
{"label":"K3B", "x":10.5, "y":3, "w":1.5} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,21 +1 @@ | ||
|
||
|
||
# Build Options | ||
# change to "no" to disable the options, or define them in the Makefile in | ||
# the appropriate keymap folder that will get included automatically | ||
# | ||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
CONSOLE_ENABLE = no # Console for debug(+400) | ||
COMMAND_ENABLE = yes # Commands for debug and configuration | ||
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
MIDI_ENABLE = no # MIDI controls | ||
AUDIO_ENABLE = no # Audio output on port C6 | ||
UNICODE_ENABLE = no # Unicode | ||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | ||
|
||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight |
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 |
---|---|---|
@@ -1,6 +1 @@ | ||
#include "minorca.h" | ||
|
||
void matrix_init_kb(void) { | ||
|
||
matrix_init_user(); | ||
} |
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 |
---|---|---|
@@ -1,18 +1,15 @@ | ||
#ifndef MINORCA_H | ||
#define MINORCA_H | ||
#pragma once | ||
|
||
#include "quantum.h" | ||
|
||
#define LAYOUT( \ | ||
KA00, KA01, KA02, KA03, KA04, KA05, KA06, KA07, KA08, KA09, KA10, KA11, \ | ||
KB00, KB01, KB02, KB03, KB04, KB05, KB06, KB07, KB08, KB09, KB11, \ | ||
KC00, KC02, KC03, KC04, KC05, KC06, KC07, KC08, KC09, KC10, KC11, \ | ||
KD00, KD02, KD03, KD04, KD07, KD09, KD10, KD11 \ | ||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \ | ||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1B, \ | ||
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \ | ||
K30, K32, K33, K34, K37, K39, K3A, K3B \ | ||
) { \ | ||
{ KA00, KA01, KA02, KA03, KA04, KA05, KA06, KA07, KA08, KA09, KA10, KA11 }, \ | ||
{ KB00, KB01, KB02, KB03, KB04, KB05, KB06, KB07, KB08, KB09, KC_NO, KB11 }, \ | ||
{ KC00, KC_NO, KC02, KC03, KC04, KC05, KC06, KC07, KC08, KC09, KC10, KC11 }, \ | ||
{ KD00, KC_NO, KD02, KD03, KD04, KC_NO, KC_NO, KD07, KC_NO, KD09, KD10, KD11 } \ | ||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \ | ||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, KC_NO, K1B }, \ | ||
{ K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \ | ||
{ K30, KC_NO, K32, K33, K34, KC_NO, KC_NO, K37, KC_NO, K39, K3A, K3B } \ | ||
} | ||
|
||
#endif |
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