diff options
| -rw-r--r-- | keyboards/handwired/aim65/aim65.c | 17 | ||||
| -rw-r--r-- | keyboards/handwired/aim65/aim65.h | 36 | ||||
| -rw-r--r-- | keyboards/handwired/aim65/config.h | 48 | ||||
| -rw-r--r-- | keyboards/handwired/aim65/info.json | 68 | ||||
| -rw-r--r-- | keyboards/handwired/aim65/keymaps/bonnee/keymap.c | 42 | ||||
| -rw-r--r-- | keyboards/handwired/aim65/keymaps/default/keymap.c | 27 | ||||
| -rw-r--r-- | keyboards/handwired/aim65/readme.md | 27 | ||||
| -rw-r--r-- | keyboards/handwired/aim65/rules.mk | 22 |
8 files changed, 287 insertions, 0 deletions
diff --git a/keyboards/handwired/aim65/aim65.c b/keyboards/handwired/aim65/aim65.c new file mode 100644 index 000000000..6f8ea6ecd --- /dev/null +++ b/keyboards/handwired/aim65/aim65.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 Matteo Bonora | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "aim65.h" | ||
diff --git a/keyboards/handwired/aim65/aim65.h b/keyboards/handwired/aim65/aim65.h new file mode 100644 index 000000000..cce4a603a --- /dev/null +++ b/keyboards/handwired/aim65/aim65.h | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | /* Copyright 2021 Matteo Bonora | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define LAYOUT( \ | ||
| 22 | K62, K71, K61, K74, K64, K75, K65, K76, K66, K77, K67, K72, K53, \ | ||
| 23 | K52, K42, K51, K41, K54, K44, K55, K45, K56, K46, K57, K47, K22, K40, \ | ||
| 24 | K60, K31, K21, K34, K24, K35, K25, K36, K26, K37, K27, K33, K12, K23,\ | ||
| 25 | K70, K01, K11, K04, K14, K05, K15, K06, K16, K07, K17, K20, \ | ||
| 26 | K00 \ | ||
| 27 | ) { \ | ||
| 28 | { K00, K01, KC_NO, KC_NO, K04, K05, K06, K07 }, \ | ||
| 29 | { KC_NO, K11, K12, KC_NO, K14, K15, K16, K17 }, \ | ||
| 30 | { K20, K21, K22, K23, K24, K25, K26, K27 }, \ | ||
| 31 | { KC_NO, K31, KC_NO, K33, K34, K35, K36, K37 }, \ | ||
| 32 | { K40, K41, K42, KC_NO, K44, K45, K46, K47 }, \ | ||
| 33 | { KC_NO, K51, K52, K53, K54, K55, K56, K57 }, \ | ||
| 34 | { K60, K61, K62, KC_NO, K64, K65, K66, K67 }, \ | ||
| 35 | { K70, K71, K72, KC_NO, K74, K75, K76, K77 }, \ | ||
| 36 | } | ||
diff --git a/keyboards/handwired/aim65/config.h b/keyboards/handwired/aim65/config.h new file mode 100644 index 000000000..1c0468c7b --- /dev/null +++ b/keyboards/handwired/aim65/config.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Copyright 2021 Matteo Bonora | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0xFEED | ||
| 23 | #define PRODUCT_ID 0x0F34 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER Hi-Tek | ||
| 26 | #define PRODUCT AIM-65 | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 8 | ||
| 30 | #define MATRIX_COLS 8 | ||
| 31 | |||
| 32 | /* | ||
| 33 | * Keyboard Matrix Assignments | ||
| 34 | * | ||
| 35 | * Change this to how you wired your keyboard | ||
| 36 | * COLS: AVR pins used for columns, left to right | ||
| 37 | * ROWS: AVR pins used for rows, top to bottom | ||
| 38 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 39 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 40 | * | ||
| 41 | */ | ||
| 42 | #define MATRIX_ROW_PINS { D0, D4, D7, E6, B4, B5, B3, B1 } | ||
| 43 | #define MATRIX_COL_PINS { D1, C6, B6, B2, F7, F6, F5, F4 } | ||
| 44 | |||
| 45 | #define DIODE_DIRECTION COL2ROW | ||
| 46 | |||
| 47 | #define LED_CAPS_LOCK_PIN B0 | ||
| 48 | #define LED_PIN_ON_STATE 0 | ||
diff --git a/keyboards/handwired/aim65/info.json b/keyboards/handwired/aim65/info.json new file mode 100644 index 000000000..64d57377a --- /dev/null +++ b/keyboards/handwired/aim65/info.json | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Hi-Tek AIM-65", | ||
| 3 | "url": "https://github.com/Bonnee/aim-65_keyboard", | ||
| 4 | "maintainer": "bonnee", | ||
| 5 | "width": 15.25, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"K62 (B3,B6)", "x":1, "y":0}, | ||
| 11 | {"label":"K71 (B1,C6)", "x":2, "y":0}, | ||
| 12 | {"label":"K61 (B3,C6)", "x":3, "y":0}, | ||
| 13 | {"label":"K74 (B1,F7)", "x":4, "y":0}, | ||
| 14 | {"label":"K64 (B3,F7)", "x":5, "y":0}, | ||
| 15 | {"label":"K75 (B1,F6)", "x":6, "y":0}, | ||
| 16 | {"label":"K65 (B3,F6)", "x":7, "y":0}, | ||
| 17 | {"label":"K76 (B1,F5)", "x":8, "y":0}, | ||
| 18 | {"label":"K66 (B3,F5)", "x":9, "y":0}, | ||
| 19 | {"label":"K77 (B1,F4)", "x":10, "y":0}, | ||
| 20 | {"label":"K67 (B3,F4)", "x":11, "y":0}, | ||
| 21 | {"label":"K72 (B1,B6)", "x":12, "y":0}, | ||
| 22 | {"label":"K53 (B5,B2)", "x":13, "y":0}, | ||
| 23 | {"label":"K52 (B5,B6)", "x":0, "y":1, "w":1.5}, | ||
| 24 | {"label":"K42 (B4,B6)", "x":1.5, "y":1}, | ||
| 25 | {"label":"K51 (B5,C6)", "x":2.5, "y":1}, | ||
| 26 | {"label":"K41 (B4,C6)", "x":3.5, "y":1}, | ||
| 27 | {"label":"K54 (B5,F7)", "x":4.5, "y":1}, | ||
| 28 | {"label":"K44 (B4,F7)", "x":5.5, "y":1}, | ||
| 29 | {"label":"K55 (B5,F6)", "x":6.5, "y":1}, | ||
| 30 | {"label":"K45 (B4,F6)", "x":7.5, "y":1}, | ||
| 31 | {"label":"K56 (B5,F5)", "x":8.5, "y":1}, | ||
| 32 | {"label":"K46 (B4,F5)", "x":9.5, "y":1}, | ||
| 33 | {"label":"K57 (B5,F4)", "x":10.5, "y":1}, | ||
| 34 | {"label":"K47 (B4,F4)", "x":11.5, "y":1}, | ||
| 35 | {"label":"K22 (D7,B6)", "x":12.5, "y":1}, | ||
| 36 | {"label":"K40 (B4,D1)", "x":13.5, "y":1}, | ||
| 37 | {"label":"K60 (B3,D1)", "x":0.75, "y":2}, | ||
| 38 | {"label":"K31 (E6,C6)", "x":1.75, "y":2}, | ||
| 39 | {"label":"K21 (D7,C6)", "x":2.75, "y":2}, | ||
| 40 | {"label":"K34 (E6,F7)", "x":3.75, "y":2}, | ||
| 41 | {"label":"K24 (D7,F7)", "x":4.75, "y":2}, | ||
| 42 | {"label":"K35 (E6,F6)", "x":5.75, "y":2}, | ||
| 43 | {"label":"K25 (D7,F6)", "x":6.75, "y":2}, | ||
| 44 | {"label":"K36 (E6,F5)", "x":7.75, "y":2}, | ||
| 45 | {"label":"K26 (D7,F5)", "x":8.75, "y":2}, | ||
| 46 | {"label":"K37 (E6,F4)", "x":9.75, "y":2}, | ||
| 47 | {"label":"K27 (D7,F4)", "x":10.75, "y":2}, | ||
| 48 | {"label":"K33 (E6,B2)", "x":11.75, "y":2}, | ||
| 49 | {"label":"K12 (D4,B6)", "x":12.75, "y":2}, | ||
| 50 | {"label":"K23 (D7,B2)", "x":13.75, "y":2, "w":1.5}, | ||
| 51 | {"label":"K70 (B1,D1)", "x":0.75, "y":3, "w":1.5}, | ||
| 52 | {"label":"K01 (D0,C6)", "x":2.25, "y":3}, | ||
| 53 | {"label":"K11 (D4,C6)", "x":3.25, "y":3}, | ||
| 54 | {"label":"K04 (D0,F7)", "x":4.25, "y":3}, | ||
| 55 | {"label":"K14 (D4,F7)", "x":5.25, "y":3}, | ||
| 56 | {"label":"K05 (D0,F6)", "x":6.25, "y":3}, | ||
| 57 | {"label":"K15 (D4,F6)", "x":7.25, "y":3}, | ||
| 58 | {"label":"K06 (D0,F5)", "x":8.25, "y":3}, | ||
| 59 | {"label":"K16 (D4,F5)", "x":9.25, "y":3}, | ||
| 60 | {"label":"K07 (D0,F4)", "x":10.25, "y":3}, | ||
| 61 | {"label":"K17 (D4,F4)", "x":11.25, "y":3}, | ||
| 62 | {"label":"K20 (D7,D1)", "x":12.25, "y":3, "w":1.5}, | ||
| 63 | {"label":"K00 (D0,D1)", "x":3.25, "y":4, "w":8} | ||
| 64 | ] | ||
| 65 | } | ||
| 66 | } | ||
| 67 | } | ||
| 68 | |||
diff --git a/keyboards/handwired/aim65/keymaps/bonnee/keymap.c b/keyboards/handwired/aim65/keymaps/bonnee/keymap.c new file mode 100644 index 000000000..62f2d21e9 --- /dev/null +++ b/keyboards/handwired/aim65/keymaps/bonnee/keymap.c | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /* Copyright 2021 Matteo Bonora | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | #define CTESC LCTL_T(KC_ESC) | ||
| 20 | |||
| 21 | enum layer_names { | ||
| 22 | BL, | ||
| 23 | FL | ||
| 24 | }; | ||
| 25 | |||
| 26 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 27 | [BL] = LAYOUT( | ||
| 28 | 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, | ||
| 29 | KC_GRV, 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_RGUI, | ||
| 30 | CTESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, | ||
| 31 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 32 | LT(FL, KC_SPC) | ||
| 33 | ), | ||
| 34 | |||
| 35 | [FL] = LAYOUT( | ||
| 36 | 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, | ||
| 37 | KC_TAB, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______ | ||
| 41 | ) | ||
| 42 | }; | ||
diff --git a/keyboards/handwired/aim65/keymaps/default/keymap.c b/keyboards/handwired/aim65/keymaps/default/keymap.c new file mode 100644 index 000000000..78356babe --- /dev/null +++ b/keyboards/handwired/aim65/keymaps/default/keymap.c | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* Copyright 2021 Matteo Bonora | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | LAYOUT( | ||
| 21 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_SCLN, KC_F3, KC_PSCR, | ||
| 22 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, KC_F2,KC_RETURN, | ||
| 23 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_AT, KC_F1, KC_DEL, | ||
| 24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 25 | KC_SPC | ||
| 26 | ) | ||
| 27 | }; | ||
diff --git a/keyboards/handwired/aim65/readme.md b/keyboards/handwired/aim65/readme.md new file mode 100644 index 000000000..8c05c43f8 --- /dev/null +++ b/keyboards/handwired/aim65/readme.md | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # Hi-Tek AIM-65 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | The keboard assembly that came with the Rockwell AIM-65, a microcomputer from the '70s [Wikipedia article](https://en.wikipedia.org/wiki/AIM-65) | ||
| 6 | |||
| 7 | The controller is a Pro Micro handwired to the original connector. [This](https://github.com/Bonnee/aim-65_keyboard) repo collects 3D models for the case, schematics for the matrix and pics. | ||
| 8 | |||
| 9 | * Keyboard Maintainer: [Matteo Bonora](https://github.com/bonnee) | ||
| 10 | * Hardware Supported: Pro Micro | ||
| 11 | |||
| 12 | The default layout is useless on a modern computer, you can use it as a base for your own though. | ||
| 13 | |||
| 14 | Make example for this keyboard (after setting up your build environment): | ||
| 15 | |||
| 16 | make handwired/aim65:default | ||
| 17 | |||
| 18 | Flashing example for this keyboard: | ||
| 19 | |||
| 20 | make handwired/aim65:default:flash | ||
| 21 | |||
| 22 | To reset the board into bootloader mode, do one of the following: | ||
| 23 | |||
| 24 | * Double-tap the Reset switch mounted on the Pro Micro | ||
| 25 | * Hold the spacebar while connecting the USB cable (also erases persistent settings) | ||
| 26 | |||
| 27 | 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). | ||
diff --git a/keyboards/handwired/aim65/rules.mk b/keyboards/handwired/aim65/rules.mk new file mode 100644 index 000000000..fd76a5247 --- /dev/null +++ b/keyboards/handwired/aim65/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = caterina | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
