diff options
| -rw-r--r-- | keyboards/handwired/magicforce61/README.md | 24 | ||||
| -rw-r--r-- | keyboards/handwired/magicforce61/config.h | 7 | ||||
| -rw-r--r-- | keyboards/handwired/magicforce61/info.json | 74 | ||||
| -rw-r--r-- | keyboards/handwired/magicforce61/keymaps/default/keymap.c | 91 | ||||
| -rw-r--r-- | keyboards/handwired/magicforce61/magicforce61.h | 17 | ||||
| -rw-r--r-- | keyboards/handwired/magicforce61/readme.md | 31 |
6 files changed, 152 insertions, 92 deletions
diff --git a/keyboards/handwired/magicforce61/README.md b/keyboards/handwired/magicforce61/README.md deleted file mode 100644 index cc8673262..000000000 --- a/keyboards/handwired/magicforce61/README.md +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | Magicforce "61" Handwired | ||
| 2 | ======================= | ||
| 3 | |||
| 4 | Basically I cut 7 keys off the magicforce68 and handwired everything to a | ||
| 5 | teensy++ 2.0 to make it a ~60% board. | ||
| 6 | |||
| 7 | ## Wiring Layout | ||
| 8 | |||
| 9 |  | ||
| 10 | |||
| 11 | ## Pinout | ||
| 12 | |||
| 13 | The following pins are used: | ||
| 14 | |||
| 15 | ``` | ||
| 16 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D4 } | ||
| 17 | #define MATRIX_COL_PINS { B5, B4, B3, B2, B1, B0, E7, E6, F0, F1, F2, F3, F4, F5 } | ||
| 18 | ``` | ||
| 19 | |||
| 20 | ## Compiling and loading the firmware | ||
| 21 | |||
| 22 | To build the firmware, run `make handwired/magicforce61`. | ||
| 23 | |||
| 24 | Flash the firmware using the teensy loader or avrdude. | ||
diff --git a/keyboards/handwired/magicforce61/config.h b/keyboards/handwired/magicforce61/config.h index c6c689ab6..3dc74f83e 100644 --- a/keyboards/handwired/magicforce61/config.h +++ b/keyboards/handwired/magicforce61/config.h | |||
| @@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef CONFIG_H | 18 | #pragma once |
| 19 | #define CONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #include "config_common.h" |
| 22 | 21 | ||
| @@ -43,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 43 | * | 42 | * |
| 44 | */ | 43 | */ |
| 45 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D4 } | 44 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D4 } |
| 46 | #define MATRIX_COL_PINS { B5, B4, B3, B2, B1, B0, E7, E6, F0, F1, F2, F3, F4, F5 } | 45 | #define MATRIX_COL_PINS { B5, B4, B3, B2, B1, B0, E7, E6, F0, F1, F2, F3, F4, F5 } |
| 47 | #define UNUSED_PINS | 46 | #define UNUSED_PINS |
| 48 | 47 | ||
| 49 | /* COL2ROW or ROW2COL */ | 48 | /* COL2ROW or ROW2COL */ |
| @@ -152,5 +151,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 152 | //#define NO_ACTION_ONESHOT | 151 | //#define NO_ACTION_ONESHOT |
| 153 | //#define NO_ACTION_MACRO | 152 | //#define NO_ACTION_MACRO |
| 154 | //#define NO_ACTION_FUNCTION | 153 | //#define NO_ACTION_FUNCTION |
| 155 | |||
| 156 | #endif | ||
diff --git a/keyboards/handwired/magicforce61/info.json b/keyboards/handwired/magicforce61/info.json new file mode 100644 index 000000000..22ffccd3c --- /dev/null +++ b/keyboards/handwired/magicforce61/info.json | |||
| @@ -0,0 +1,74 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Magicforce \"61\"", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 15, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"`", "x":0, "y":0}, | ||
| 11 | {"label":"1", "x":1, "y":0}, | ||
| 12 | {"label":"2", "x":2, "y":0}, | ||
| 13 | {"label":"3", "x":3, "y":0}, | ||
| 14 | {"label":"4", "x":4, "y":0}, | ||
| 15 | {"label":"5", "x":5, "y":0}, | ||
| 16 | {"label":"6", "x":6, "y":0}, | ||
| 17 | {"label":"7", "x":7, "y":0}, | ||
| 18 | {"label":"8", "x":8, "y":0}, | ||
| 19 | {"label":"9", "x":9, "y":0}, | ||
| 20 | {"label":"0", "x":10, "y":0}, | ||
| 21 | {"label":"-", "x":11, "y":0}, | ||
| 22 | {"label":"=", "x":12, "y":0}, | ||
| 23 | {"label":"Backspace", "x":13, "y":0, "w":2}, | ||
| 24 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
| 25 | {"label":"Q", "x":1.5, "y":1}, | ||
| 26 | {"label":"W", "x":2.5, "y":1}, | ||
| 27 | {"label":"E", "x":3.5, "y":1}, | ||
| 28 | {"label":"R", "x":4.5, "y":1}, | ||
| 29 | {"label":"T", "x":5.5, "y":1}, | ||
| 30 | {"label":"Y", "x":6.5, "y":1}, | ||
| 31 | {"label":"U", "x":7.5, "y":1}, | ||
| 32 | {"label":"I", "x":8.5, "y":1}, | ||
| 33 | {"label":"O", "x":9.5, "y":1}, | ||
| 34 | {"label":"P", "x":10.5, "y":1}, | ||
| 35 | {"label":"[", "x":11.5, "y":1}, | ||
| 36 | {"label":"]", "x":12.5, "y":1}, | ||
| 37 | {"label":"\\", "x":13.5, "y":1, "w":1.5}, | ||
| 38 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
| 39 | {"label":"A", "x":1.75, "y":2}, | ||
| 40 | {"label":"S", "x":2.75, "y":2}, | ||
| 41 | {"label":"D", "x":3.75, "y":2}, | ||
| 42 | {"label":"F", "x":4.75, "y":2}, | ||
| 43 | {"label":"G", "x":5.75, "y":2}, | ||
| 44 | {"label":"H", "x":6.75, "y":2}, | ||
| 45 | {"label":"J", "x":7.75, "y":2}, | ||
| 46 | {"label":"K", "x":8.75, "y":2}, | ||
| 47 | {"label":"L", "x":9.75, "y":2}, | ||
| 48 | {"label":";", "x":10.75, "y":2}, | ||
| 49 | {"label":"'", "x":11.75, "y":2}, | ||
| 50 | {"label":"Enter", "x":12.75, "y":2, "w":2.25}, | ||
| 51 | {"label":"Shift", "x":0, "y":3, "w":2.25}, | ||
| 52 | {"label":"Z", "x":2.25, "y":3}, | ||
| 53 | {"label":"X", "x":3.25, "y":3}, | ||
| 54 | {"label":"C", "x":4.25, "y":3}, | ||
| 55 | {"label":"V", "x":5.25, "y":3}, | ||
| 56 | {"label":"B", "x":6.25, "y":3}, | ||
| 57 | {"label":"N", "x":7.25, "y":3}, | ||
| 58 | {"label":"M", "x":8.25, "y":3}, | ||
| 59 | {"label":",", "x":9.25, "y":3}, | ||
| 60 | {"label":".", "x":10.25, "y":3}, | ||
| 61 | {"label":"/", "x":11.25, "y":3}, | ||
| 62 | {"label":"Shift", "x":12.25, "y":3, "w":2.75}, | ||
| 63 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
| 64 | {"label":"GUI", "x":1.25, "y":4, "w":1.25}, | ||
| 65 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
| 66 | {"label":"Space", "x":3.75, "y":4, "w":6.25}, | ||
| 67 | {"label":"Alt", "x":10, "y":4, "w":1.25}, | ||
| 68 | {"label":"GUI", "x":11.25, "y":4, "w":1.25}, | ||
| 69 | {"label":"Menu", "x":12.5, "y":4, "w":1.25}, | ||
| 70 | {"label":"Ctrl", "x":13.75, "y":4, "w":1.25} | ||
| 71 | ] | ||
| 72 | } | ||
| 73 | } | ||
| 74 | } | ||
diff --git a/keyboards/handwired/magicforce61/keymaps/default/keymap.c b/keyboards/handwired/magicforce61/keymaps/default/keymap.c index 9183ba72a..12252c978 100644 --- a/keyboards/handwired/magicforce61/keymaps/default/keymap.c +++ b/keyboards/handwired/magicforce61/keymaps/default/keymap.c | |||
| @@ -3,67 +3,52 @@ | |||
| 3 | #define _QWERTY 0 | 3 | #define _QWERTY 0 |
| 4 | #define _FN1 1 | 4 | #define _FN1 1 |
| 5 | #define _FN2 2 | 5 | #define _FN2 2 |
| 6 | #define KC_ KC_TRNS | 6 | |
| 7 | #define KC_X0 LT(_FN2, KC_GRV) | 7 | #define KC_X0 LT(_FN2, KC_GRV) |
| 8 | #define KC_X1 MO(_FN1) | 8 | #define KC_X1 MO(_FN1) |
| 9 | #define KC_NAV_ESC LT(_FN1, KC_ESC) | 9 | #define NAV_ESC LT(_FN1, KC_ESC) |
| 10 | #define KC_GUI MAGIC_UNNO_GUI | 10 | #define KC_GUI MAGIC_UNNO_GUI |
| 11 | 11 | ||
| 12 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 12 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 13 | [_QWERTY] = KEYMAP( | 13 | [_QWERTY] = LAYOUT( |
| 14 | /*,----+----+----+----+----+----+----+----+----+----+----+----+----+--------. */ | 14 | /*,--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------. */ |
| 15 | GRV , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 ,MINS,EQL , BSPC , | 15 | 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, \ |
| 16 | /*|----`----`----`----`----`----`----`----`----`----`----`----`----`--------| */ | 16 | /*|esc-----`-1------`-2------`-3------`-4------`-5------`-6------`-7------`-8------`-9------`-0------`mnus----`plus----`--bksp--| */ |
| 17 | TAB , Q , W , E , R , T , Y , U , I , O , P ,LBRC,RBRC, BSLS , | 17 | 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, \ |
| 18 | /*|------`----`----`----`----`----`----`----`----`----`----`----`----`------| */ | 18 | /*|tab-----`-q------`-w------`-e------`-r------`-t------`-y------`-u------`-i------`-o------`-p------`-{------`-}------`--|-----| */ |
| 19 | NAV_ESC , A , S , D , F , G , H , J , K , L ,SCLN,QUOT, ENTER , | 19 | NAV_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ |
| 20 | /*|-------`----`----`----`----`----`----`----`----`----`----`----`----------| */ | 20 | /*|caps----`-a------`-s------`-d------`-f------`-g------`-h------`-j------`-k------`-l------`-;------`-'------`-----------enter-| */ |
| 21 | LSPO , Z , X , C , V , B , N , M ,COMM,DOT ,SLSH, RSPC , | 21 | KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, \ |
| 22 | /*|---------`----`----`----`----`----`----`----`----`----`----`-------------. */ | 22 | /*|shift---`-z------`-x------`-c------`-v------`-b------`-n------`-m------`-,------`-.------`-/------`--------------------shift-| */ |
| 23 | LCTL , RGUI ,LALT , SPACE , X1 ,RALT ,RCTL , X1 | 23 | KC_LCTL, KC_RGUI, KC_LALT, KC_SPC, KC_X1, KC_RALT, KC_RCTL, KC_X1 \ |
| 24 | /*`-----+-----+-----+------------------------------+------+-----+-----' ANY */ | 24 | /*`ctrl----`-gui----`-alt----`------------------space---------------------------------------`-fn-----`-alt----`ctrl----' ANY */ |
| 25 | ), | 25 | ), |
| 26 | 26 | ||
| 27 | [_FN1] = KEYMAP( | 27 | [_FN1] = LAYOUT( |
| 28 | /*,----+----+----+----+----+----+----+----+----+----+----+----+----+--------. */ | 28 | /*,--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------. */ |
| 29 | GRV , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 ,F12 , BSPC , | 29 | 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_BSPC, \ |
| 30 | /*|esc-`-1--`-2--`-3--`-4--`-5--`-6--`-7--`-8--`-9--`-0--`mnus`plus`--bksp--| */ | 30 | /*|esc-----`-1------`-2------`-3------`-4------`-5------`-6------`-7------`-8------`-9------`-0------`mnus----`plus----`--bksp--| */ |
| 31 | , , UP , , , , , ,INS ,PSCR, , , , , | 31 | _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_INS, KC_PSCR, _______, _______, _______, _______, \ |
| 32 | /*|tab---`-q--`-w--`-e--`-r--`-t--`-y--`-u--`-i--`-o--`-p--`-{--`-}--`--|---| */ | 32 | /*|tab-----`-q------`-w------`-e------`-r------`-t------`-y------`-u------`-i------`-o------`-p------`-{------`-}------`--|-----| */ |
| 33 | ,LEFT,DOWN,RGHT, , , , PGDN , PGUP , , , , , | 33 | _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, KC_PGDN, KC_PGUP, _______, _______, _______, _______, \ |
| 34 | /*|caps---`-a--`-s--`-d--`-f--`-g--`-h--`-j--`-k--`-l--`-;--`-'--`----enter-| */ | 34 | /*|caps----`-a------`-s------`-d------`-f------`-g------`-h------`-j------`-k------`-l------`-;------`-'------`-----------enter-| */ |
| 35 | , , , , , ,VOLD,VOLU,MUTE, , , , | 35 | _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, \ |
| 36 | /*|shift----`-z--`-x--`-c--`-v--`-b--`-n--`-m--`-,--`-.--`-/--`-------shift-. */ | 36 | /*|shift---`-z------`-x------`-c------`-v------`-b------`-n------`-m------`-,------`-.------`-/------`--------------------shift-| */ |
| 37 | , , , , , , , MPLY | 37 | _______, _______, _______, _______, _______, _______, _______, KC_MPLY \ |
| 38 | /*`ctrl-+-gui-+-alt-+----------space---------------+-fn---+-alt-+ctrl-' ANY */ | 38 | /*`ctrl----`-gui----`-alt----`------------------space---------------------------------------`-fn-----`-alt----`ctrl----' ANY */ |
| 39 | ), | 39 | ), |
| 40 | 40 | ||
| 41 | [_FN2] = KEYMAP( | 41 | [_FN2] = LAYOUT( |
| 42 | /*,----+----+----+----+----+----+----+----+----+----+----+----+----+--------. */ | 42 | /*,--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------. */ |
| 43 | GRV , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 ,F12 , BSPC , | 43 | 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_BSPC, \ |
| 44 | /*|esc-`-1--`-2--`-3--`-4--`-5--`-6--`-7--`-8--`-9--`-0--`mnus`plus`--bksp--| */ | 44 | /*|esc-----`-1------`-2------`-3------`-4------`-5------`-6------`-7------`-8------`-9------`-0------`mnus----`plus----`--bksp--| */ |
| 45 | , , , , , , , 7 , 8 , 9 , , , , , | 45 | _______, _______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, _______, _______, _______, _______, \ |
| 46 | /*|tab---`-q--`-w--`-e--`-r--`-t--`-y--`-u--`-i--`-o--`-p--`-{--`-}--`--|---| */ | 46 | /*|tab-----`-q------`-w------`-e------`-r------`-t------`-y------`-u------`-i------`-o------`-p------`-{------`-}------`--|-----| */ |
| 47 | , , , , , , , 4 , 5 , 6 , , , , | 47 | _______, _______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, _______, \ |
| 48 | /*|caps---`-a--`-s--`-d--`-f--`-g--`-h--`-j--`-k--`-l--`-;--`-'--`----enter-| */ | 48 | /*|caps----`-a------`-s------`-d------`-f------`-g------`-h------`-j------`-k------`-l------`-;------`-'------`-----------enter-| */ |
| 49 | , , , , , , 0 , 1 , 2 , 3 , , , | 49 | _______, _______, _______, _______, _______, _______, KC_0, KC_1, KC_2, KC_3, _______, _______, \ |
| 50 | /*|shift----`-z--`-x--`-c--`-v--`-b--`-n--`-m--`-,--`-.--`-/--`-------shift-. */ | 50 | /*|shift---`-z------`-x------`-c------`-v------`-b------`-n------`-m------`-,------`-.------`-/------`--------------------shift-| */ |
| 51 | , , , , , , , | 51 | _______, _______, _______, _______, _______, _______, _______, _______ \ |
| 52 | /*`ctrl-+-gui-+-alt-+----------space---------------+-fn---+-alt-+ctrl-' ANY */ | 52 | /*`ctrl----`-gui----`-alt----`------------------space---------------------------------------`-fn-----`-alt----`ctrl----' ANY */ |
| 53 | ) | 53 | ) |
| 54 | }; | 54 | }; |
| 55 | |||
| 56 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 57 | { | ||
| 58 | // MACRODOWN only works in this function | ||
| 59 | switch(id) { | ||
| 60 | case 0: | ||
| 61 | if (record->event.pressed) { | ||
| 62 | register_code(KC_RSFT); | ||
| 63 | } else { | ||
| 64 | unregister_code(KC_RSFT); | ||
| 65 | } | ||
| 66 | break; | ||
| 67 | } | ||
| 68 | return MACRO_NONE; | ||
| 69 | }; | ||
diff --git a/keyboards/handwired/magicforce61/magicforce61.h b/keyboards/handwired/magicforce61/magicforce61.h index 784f2b2c8..37a32ed78 100644 --- a/keyboards/handwired/magicforce61/magicforce61.h +++ b/keyboards/handwired/magicforce61/magicforce61.h | |||
| @@ -1,20 +1,17 @@ | |||
| 1 | #ifndef MAGICFORCE61_H | 1 | #pragma once |
| 2 | #define MAGICFORCE61_H | ||
| 3 | 2 | ||
| 4 | #include "quantum.h" | 3 | #include "quantum.h" |
| 5 | 4 | ||
| 6 | #define KEYMAP( \ | 5 | #define LAYOUT( \ |
| 7 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ | 6 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ |
| 8 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ | 7 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ |
| 9 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \ | 8 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \ |
| 10 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3D, \ | 9 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3D, \ |
| 11 | K40, K41, K42, K45, K49, K4A, K4C, K4D \ | 10 | K40, K41, K42, K45, K49, K4A, K4C, K4D \ |
| 12 | ) { \ | 11 | ) { \ |
| 13 | { KC_##K00, KC_##K01, KC_##K02, KC_##K03, KC_##K04, KC_##K05, KC_##K06, KC_##K07, KC_##K08, KC_##K09, KC_##K0A, KC_##K0B, KC_##K0C, KC_##K0D }, \ | 12 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ |
| 14 | { KC_##K10, KC_##K11, KC_##K12, KC_##K13, KC_##K14, KC_##K15, KC_##K16, KC_##K17, KC_##K18, KC_##K19, KC_##K1A, KC_##K1B, KC_##K1C, KC_##K1D }, \ | 13 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ |
| 15 | { KC_##K20, KC_##K21, KC_##K22, KC_##K23, KC_##K24, KC_##K25, KC_##K26, KC_##K27, KC_##K28, KC_##K29, KC_##K2A, KC_##K2B, KC_NO, KC_##K2D }, \ | 14 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D }, \ |
| 16 | { KC_##K30, KC_##K31, KC_##K32, KC_##K33, KC_##K34, KC_##K35, KC_##K36, KC_##K37, KC_##K38, KC_##K39, KC_##K3A, KC_NO, KC_NO, KC_##K3D }, \ | 15 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, KC_NO, K3D }, \ |
| 17 | { KC_##K40, KC_##K41, KC_##K42, KC_NO, KC_NO, KC_##K45, KC_NO, KC_NO, KC_NO, KC_##K49, KC_##K4A, KC_NO, KC_##K4C, KC_##K4D }, \ | 16 | { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, KC_NO, K4C, K4D }, \ |
| 18 | } | 17 | } |
| 19 | |||
| 20 | #endif | ||
diff --git a/keyboards/handwired/magicforce61/readme.md b/keyboards/handwired/magicforce61/readme.md new file mode 100644 index 000000000..081992aa8 --- /dev/null +++ b/keyboards/handwired/magicforce61/readme.md | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | # Magicforce "61" Handwired | ||
| 2 | |||
| 3 | Basically I cut 7 keys off the magicforce68 and handwired everything to a teensy++ 2.0 to make it a ~60% board. | ||
| 4 | |||
| 5 | Keyboard Maintainer: [The QMK Community](https://github.com/qmk) | ||
| 6 | Hardware Supported: magicforce61, teensy++ 2.0 | ||
| 7 | |||
| 8 | Make example for this keyboard (after setting up your build environment): | ||
| 9 | |||
| 10 | make handwired/magicforce61:default | ||
| 11 | |||
| 12 | Flash the firmware using the teensy loader or avrdude. | ||
| 13 | |||
| 14 | 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). | ||
| 15 | |||
| 16 | ## Wiring Layout / Pinout | ||
| 17 | |||
| 18 | | | B5 | B4 | B3 | B2 | B1 | B0 | E7 | E6 | F0 | F1 | F2 | F3 | F4 | F5 | | ||
| 19 | | -----: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | :--: | | ||
| 20 | | **D0** | Esc | 1! | 2@ | 3# | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | -_ | =+ | Bspc | | ||
| 21 | | **D1** | Tab | Q | W | E | R | T | Y | U | I | O | P | [{ | ]} | \\\| | | ||
| 22 | | **D2** | Caps | A | S | D | F | G | H | J | K | L | ;: | '" | | Ent | | ||
| 23 | | **D3** | LSft | Z | X | C | V | B | N | M | , | . | / | | | RSft | | ||
| 24 | | **D4** | LCtl | LGUI | LAlt | | | Spc | | | | RAlt | RGUI | | App | RCtl | | ||
| 25 | |||
| 26 | The following pins are used: | ||
| 27 | |||
| 28 | ``` | ||
| 29 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D4 } | ||
| 30 | #define MATRIX_COL_PINS { B5, B4, B3, B2, B1, B0, E7, E6, F0, F1, F2, F3, F4, F5 } | ||
| 31 | ``` | ||
