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/CMD60 Refactor, Configurator support and readme update (qmk…
…#4632) * handwired/CMD60: refactor - renamed layout macro KEYMAP to LAYOUT - removed K2C, K3B and K3C locations (indications are these locations were unused in hardware) - keymap - now uses #include QMK_KEYBOARD_H - converted keycodes to short format - deleted TMK fn_actions and action_get_macro blocks - white space changes (readability/alignment) * handwired/CMD60: Configurator support * handwired/CMD60: readme update - updated to conform to current QMK template - added image and build gallery links * handwired/cmd60: rename all files and folders to lowercase
- Loading branch information
1 parent
2589230
commit 60f9abc
Showing
9 changed files
with
149 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
keyboards/handwired/CMD60/CMD60.c → keyboards/handwired/cmd60/cmd60.c
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,4 +1,4 @@ | ||
#include "CMD60.h" | ||
#include "cmd60.h" | ||
|
||
void matrix_init_kb(void) { | ||
// put your keyboard start-up code here | ||
|
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
File renamed without changes.
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,74 @@ | ||
{ | ||
"keyboard_name": "CMD60", | ||
"url": "", | ||
"maintainer": "qmk", | ||
"width": 15, | ||
"height": 5, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{"label":"`", "x":0, "y":0}, | ||
{"label":"1", "x":1, "y":0}, | ||
{"label":"2", "x":2, "y":0}, | ||
{"label":"3", "x":3, "y":0}, | ||
{"label":"4", "x":4, "y":0}, | ||
{"label":"5", "x":5, "y":0}, | ||
{"label":"6", "x":6, "y":0}, | ||
{"label":"7", "x":7, "y":0}, | ||
{"label":"8", "x":8, "y":0}, | ||
{"label":"9", "x":9, "y":0}, | ||
{"label":"0", "x":10, "y":0}, | ||
{"label":"-", "x":11, "y":0}, | ||
{"label":"=", "x":12, "y":0}, | ||
{"label":"Backspace", "x":13, "y":0, "w":2}, | ||
{"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
{"label":"Q", "x":1.5, "y":1}, | ||
{"label":"W", "x":2.5, "y":1}, | ||
{"label":"E", "x":3.5, "y":1}, | ||
{"label":"R", "x":4.5, "y":1}, | ||
{"label":"T", "x":5.5, "y":1}, | ||
{"label":"Y", "x":6.5, "y":1}, | ||
{"label":"U", "x":7.5, "y":1}, | ||
{"label":"I", "x":8.5, "y":1}, | ||
{"label":"O", "x":9.5, "y":1}, | ||
{"label":"P", "x":10.5, "y":1}, | ||
{"label":"[", "x":11.5, "y":1}, | ||
{"label":"]", "x":12.5, "y":1}, | ||
{"label":"\\", "x":13.5, "y":1, "w":1.5}, | ||
{"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
{"label":"A", "x":1.75, "y":2}, | ||
{"label":"S", "x":2.75, "y":2}, | ||
{"label":"D", "x":3.75, "y":2}, | ||
{"label":"F", "x":4.75, "y":2}, | ||
{"label":"G", "x":5.75, "y":2}, | ||
{"label":"H", "x":6.75, "y":2}, | ||
{"label":"J", "x":7.75, "y":2}, | ||
{"label":"K", "x":8.75, "y":2}, | ||
{"label":"L", "x":9.75, "y":2}, | ||
{"label":";", "x":10.75, "y":2}, | ||
{"label":"'", "x":11.75, "y":2}, | ||
{"label":"Enter", "x":12.75, "y":2, "w":2.25}, | ||
{"label":"Shift", "x":0, "y":3, "w":2.25}, | ||
{"label":"Z", "x":2.25, "y":3}, | ||
{"label":"X", "x":3.25, "y":3}, | ||
{"label":"C", "x":4.25, "y":3}, | ||
{"label":"V", "x":5.25, "y":3}, | ||
{"label":"B", "x":6.25, "y":3}, | ||
{"label":"N", "x":7.25, "y":3}, | ||
{"label":"M", "x":8.25, "y":3}, | ||
{"label":",", "x":9.25, "y":3}, | ||
{"label":".", "x":10.25, "y":3}, | ||
{"label":"/", "x":11.25, "y":3}, | ||
{"label":"Shift", "x":12.25, "y":3, "w":2.75}, | ||
{"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
{"label":"GUI", "x":1.25, "y":4, "w":1.25}, | ||
{"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
{"label":"Space", "x":3.75, "y":4, "w":6.25}, | ||
{"label":"Alt", "x":10, "y":4, "w":1.25}, | ||
{"label":"GUI", "x":11.25, "y":4, "w":1.25}, | ||
{"label":"Menu", "x":12.5, "y":4, "w":1.25}, | ||
{"label":"Ctrl", "x":13.75, "y":4, "w":1.25} | ||
] | ||
} | ||
} | ||
} |
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,46 @@ | ||
#include QMK_KEYBOARD_H | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[0] = LAYOUT( /* CMD60 - QWERTY */ | ||
KC_ESC, 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_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, \ | ||
LT(3, KC_ENT), 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, \ | ||
KC_LCTL, KC_LGUI, KC_LALT, LT(2, KC_SPC), MO(3), MO(4), MO(5), TG(1) \ | ||
), | ||
[1] = LAYOUT( /* CMD60 - GameMode */ | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RSFT, \ | ||
_______, XXXXXXX, _______, KC_SPC, _______, _______, _______, _______ \ | ||
), | ||
[2] = LAYOUT( /* CMD60 - Arrows */ | ||
KC_GRV, 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_DEL, \ | ||
_______, KC_BSPC, KC_UP, KC_DEL, _______, _______, _______, KC_BSPC, KC_UP, KC_DEL, KC_PSCR, KC_SLCK, KC_PAUS, _______, \ | ||
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, \ | ||
_______, _______, _______, _______, KC_SPC, _______, _______, _______, _______, _______, _______, _______, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______ \ | ||
), | ||
[3] = LAYOUT( /* CMD60 - Functions */ | ||
KC_GRV, 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_DEL, \ | ||
KC_MUTE, KC_BSPC, KC_PGUP, KC_DEL, _______, _______, _______, KC_PGUP, KC_UP, KC_PGDN, _______, KC_PAUS, KC_SLCK, KC_PSCR, \ | ||
_______, KC_HOME, KC_PGDN, KC_END, _______, _______, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_INS, _______, \ | ||
_______, _______, _______, _______, _______, _______, KC_END, _______, _______, _______, _______, _______, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______ \ | ||
), | ||
[4] = LAYOUT( /* CMD60 - Mouse */ | ||
KC_SLEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, _______, _______, _______, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______, KC_WH_U, KC_BTN3, KC_WH_D, _______, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______ \ | ||
), | ||
[5] = LAYOUT( /* CMD60 - Media */ | ||
KC_WAKE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_MPLY, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_WBAK, KC_WFWD, KC_WREF, \ | ||
_______, _______, _______, _______, _______, _______, _______, _______ \ | ||
), | ||
}; |
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,19 @@ | ||
# CMD60 | ||
|
||
![CMD60](https://i.imgur.com/r9LA6Lx.jpg) | ||
|
||
This layout has been designed to optimize use of the left-hand, and it focussed specifically on programmers who work | ||
with text editors like SublimeText and Atom. It utilizes the power of Space_fn, and features a caps lock swap for Fn2 | ||
and enter key on tap. These features allow you to keep your right hand on the mouse more and should enable you to | ||
achieve a higher level of productivity if you take the time to learn its function layers. | ||
|
||
[Build Log](https://redd.it/4mkuu8) | ||
|
||
Keyboard Maintainer: [The QMK Community](https://github.com/qmk) | ||
Hardware Supported: CMD60 handwired, Teensy 2.0 | ||
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
make handwired/cmd60:default | ||
|
||
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). |
File renamed without changes.