diff options
| author | Christiano Haesbaert <christiano.fh@gmail.com> | 2021-04-20 19:46:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-20 10:46:19 -0700 |
| commit | d330203486d077e52742ee523c67b261e9daa4b8 (patch) | |
| tree | fa3590e52ccf909012c37a379dba078487319791 | |
| parent | 45a557641d89330fb8b3777c02606413374931bd (diff) | |
| download | qmk_firmware-d330203486d077e52742ee523c67b261e9daa4b8.tar.gz qmk_firmware-d330203486d077e52742ee523c67b261e9daa4b8.zip | |
[Keyboard] Add amigopunk, a handwired 75% ALPS (#12489)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/handwired/amigopunk/amigopunk.c | 17 | ||||
| -rw-r--r-- | keyboards/handwired/amigopunk/amigopunk.h | 35 | ||||
| -rw-r--r-- | keyboards/handwired/amigopunk/config.h | 57 | ||||
| -rw-r--r-- | keyboards/handwired/amigopunk/info.json | 93 | ||||
| -rw-r--r-- | keyboards/handwired/amigopunk/keymaps/default/keymap.c | 91 | ||||
| -rw-r--r-- | keyboards/handwired/amigopunk/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/handwired/amigopunk/rules.mk | 24 |
7 files changed, 336 insertions, 0 deletions
diff --git a/keyboards/handwired/amigopunk/amigopunk.c b/keyboards/handwired/amigopunk/amigopunk.c new file mode 100644 index 000000000..dbb70415a --- /dev/null +++ b/keyboards/handwired/amigopunk/amigopunk.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2021 Christiano Haesbaert <haesbaert@haesbaert.org> | ||
| 3 | * | ||
| 4 | * Permission to use, copy, modify, and distribute this software for any | ||
| 5 | * purpose with or without fee is hereby granted, provided that the above | ||
| 6 | * copyright notice and this permission notice appear in all copies. | ||
| 7 | * | ||
| 8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "amigopunk.h" | ||
diff --git a/keyboards/handwired/amigopunk/amigopunk.h b/keyboards/handwired/amigopunk/amigopunk.h new file mode 100644 index 000000000..273cd09e3 --- /dev/null +++ b/keyboards/handwired/amigopunk/amigopunk.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2021 Christiano Haesbaert <haesbaert@haesbaert.org> | ||
| 3 | * | ||
| 4 | * Permission to use, copy, modify, and distribute this software for any | ||
| 5 | * purpose with or without fee is hereby granted, provided that the above | ||
| 6 | * copyright notice and this permission notice appear in all copies. | ||
| 7 | * | ||
| 8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define LAYOUT( \ | ||
| 22 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0G, \ | ||
| 23 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, K1F, \ | ||
| 24 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, \ | ||
| 25 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, \ | ||
| 26 | K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4D, K4F, \ | ||
| 27 | K51, K53, K57, K5B, K5D, K5E, K5F, K5G \ | ||
| 28 | ) { \ | ||
| 29 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, KC_NO, K0G }, \ | ||
| 30 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, KC_NO, K1E, K1F, KC_NO }, \ | ||
| 31 | { K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, KC_NO }, \ | ||
| 32 | { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, KC_NO, KC_NO, KC_NO }, \ | ||
| 33 | { KC_NO, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, KC_NO, K4D, KC_NO, K4F, KC_NO }, \ | ||
| 34 | { KC_NO, K51, KC_NO, K53, KC_NO, KC_NO, KC_NO, K57, KC_NO, KC_NO, KC_NO, K5B, KC_NO, K5D, K5E, K5F, K5G }, \ | ||
| 35 | } | ||
diff --git a/keyboards/handwired/amigopunk/config.h b/keyboards/handwired/amigopunk/config.h new file mode 100644 index 000000000..29141234d --- /dev/null +++ b/keyboards/handwired/amigopunk/config.h | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2021 Christiano Haesbaert <haesbaert@haesbaert.org> | ||
| 3 | * | ||
| 4 | * Permission to use, copy, modify, and distribute this software for any | ||
| 5 | * purpose with or without fee is hereby granted, provided that the above | ||
| 6 | * copyright notice and this permission notice appear in all copies. | ||
| 7 | * | ||
| 8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 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 0x1805 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER haesbaert | ||
| 26 | #define PRODUCT amigopunk | ||
| 27 | |||
| 28 | /* Key matrix size */ | ||
| 29 | #define MATRIX_ROWS 6 | ||
| 30 | #define MATRIX_COLS 17 | ||
| 31 | |||
| 32 | /* Key matrix pins */ | ||
| 33 | #define MATRIX_ROW_PINS { C0, C1, C2, C3, C4, C5 } | ||
| 34 | #define MATRIX_COL_PINS { B6, B5, B4, B3, B2, B1, B0, E7, E6, F0, F1, F2, F3, F4, F5, F6, F7 } | ||
| 35 | #define UNUSED_PINS | ||
| 36 | |||
| 37 | /* COL2ROW or ROW2COL */ | ||
| 38 | #define DIODE_DIRECTION COL2ROW | ||
| 39 | |||
| 40 | /* Encoder setup */ | ||
| 41 | #ifdef ENCODER_ENABLE | ||
| 42 | #define ENCODERS_PAD_A { E0 } | ||
| 43 | #define ENCODERS_PAD_B { E1 } | ||
| 44 | #endif | ||
| 45 | |||
| 46 | /* Set 0 if debouncing isn't needed */ | ||
| 47 | #define DEBOUNCE 5 | ||
| 48 | |||
| 49 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 50 | #define LOCKING_SUPPORT_ENABLE | ||
| 51 | |||
| 52 | /* Locking resynchronize hack */ | ||
| 53 | #define LOCKING_RESYNC_ENABLE | ||
| 54 | |||
| 55 | /* disable these deprecated features by default */ | ||
| 56 | #define NO_ACTION_MACRO | ||
| 57 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/handwired/amigopunk/info.json b/keyboards/handwired/amigopunk/info.json new file mode 100644 index 000000000..ac9aec8f5 --- /dev/null +++ b/keyboards/handwired/amigopunk/info.json | |||
| @@ -0,0 +1,93 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "amigopunk", | ||
| 3 | "url": "www.haesbaert.org", | ||
| 4 | "maintainer": "haesbaert", | ||
| 5 | "width": 17, | ||
| 6 | "height": 6, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"K00 (C0,B6)", "x":0, "y":0.25}, | ||
| 11 | {"label":"K01 (C0,B5)", "x":1, "y":0.25}, | ||
| 12 | {"label":"K02 (C0,B4)", "x":2, "y":0.25}, | ||
| 13 | {"label":"K03 (C0,B3)", "x":3, "y":0.25}, | ||
| 14 | {"label":"K04 (C0,B2)", "x":4, "y":0.25}, | ||
| 15 | {"label":"K05 (C0,B1)", "x":5, "y":0.25}, | ||
| 16 | {"label":"K06 (C0,B0)", "x":6, "y":0.25}, | ||
| 17 | {"label":"K07 (C0,E7)", "x":7, "y":0.25}, | ||
| 18 | {"label":"K08 (C0,E6)", "x":8, "y":0.25}, | ||
| 19 | {"label":"K09 (C0,F0)", "x":9, "y":0.25}, | ||
| 20 | {"label":"K0A (C0,F1)", "x":10, "y":0.25}, | ||
| 21 | {"label":"K0B (C0,F2)", "x":11, "y":0.25}, | ||
| 22 | {"label":"K0C (C0,F3)", "x":12, "y":0.25}, | ||
| 23 | {"label":"K0D (C0,F4)", "x":13, "y":0.25}, | ||
| 24 | {"label":"K0E (C0,F5)", "x":14, "y":0.25}, | ||
| 25 | {"label":"K0G (C0,F7)", "x":16, "y":0.25}, | ||
| 26 | {"label":"K10 (C1,B6)", "x":0, "y":1.25}, | ||
| 27 | {"label":"K11 (C1,B5)", "x":1, "y":1.25}, | ||
| 28 | {"label":"K12 (C1,B4)", "x":2, "y":1.25}, | ||
| 29 | {"label":"K13 (C1,B3)", "x":3, "y":1.25}, | ||
| 30 | {"label":"K14 (C1,B2)", "x":4, "y":1.25}, | ||
| 31 | {"label":"K15 (C1,B1)", "x":5, "y":1.25}, | ||
| 32 | {"label":"K16 (C1,B0)", "x":6, "y":1.25}, | ||
| 33 | {"label":"K17 (C1,E7)", "x":7, "y":1.25}, | ||
| 34 | {"label":"K18 (C1,E6)", "x":8, "y":1.25}, | ||
| 35 | {"label":"K19 (C1,F0)", "x":9, "y":1.25}, | ||
| 36 | {"label":"K1A (C1,F1)", "x":10, "y":1.25}, | ||
| 37 | {"label":"K1B (C1,F2)", "x":11, "y":1.25}, | ||
| 38 | {"label":"K1C (C1,F3)", "x":12, "y":1.25}, | ||
| 39 | {"label":"K1E (C1,F5)", "x":13, "y":1.25, "w":2}, | ||
| 40 | {"label":"K1F (C1,F6)", "x":15, "y":1.25}, | ||
| 41 | {"label":"K20 (C2,B6)", "x":0, "y":2.25, "w":1.5}, | ||
| 42 | {"label":"K22 (C2,B4)", "x":1.5, "y":2.25}, | ||
| 43 | {"label":"K23 (C2,B3)", "x":2.5, "y":2.25}, | ||
| 44 | {"label":"K24 (C2,B2)", "x":3.5, "y":2.25}, | ||
| 45 | {"label":"K25 (C2,B1)", "x":4.5, "y":2.25}, | ||
| 46 | {"label":"K26 (C2,B0)", "x":5.5, "y":2.25}, | ||
| 47 | {"label":"K27 (C2,E7)", "x":6.5, "y":2.25}, | ||
| 48 | {"label":"K28 (C2,E6)", "x":7.5, "y":2.25}, | ||
| 49 | {"label":"K29 (C2,F0)", "x":8.5, "y":2.25}, | ||
| 50 | {"label":"K2A (C2,F1)", "x":9.5, "y":2.25}, | ||
| 51 | {"label":"K2B (C2,F2)", "x":10.5, "y":2.25}, | ||
| 52 | {"label":"K2C (C2,F3)", "x":11.5, "y":2.25}, | ||
| 53 | {"label":"K2D (C2,F4)", "x":12.5, "y":2.25}, | ||
| 54 | {"label":"K2E (C2,F5)", "x":13.5, "y":2.25, "w":1.5}, | ||
| 55 | {"label":"K2F (C2,F6)", "x":15, "y":2.25}, | ||
| 56 | {"label":"K30 (C3,B6)", "x":0, "y":3.25, "w":1.75}, | ||
| 57 | {"label":"K32 (C3,B4)", "x":1.75, "y":3.25}, | ||
| 58 | {"label":"K33 (C3,B3)", "x":2.75, "y":3.25}, | ||
| 59 | {"label":"K34 (C3,B2)", "x":3.75, "y":3.25}, | ||
| 60 | {"label":"K35 (C3,B1)", "x":4.75, "y":3.25}, | ||
| 61 | {"label":"K36 (C3,B0)", "x":5.75, "y":3.25}, | ||
| 62 | {"label":"K37 (C3,E7)", "x":6.75, "y":3.25}, | ||
| 63 | {"label":"K38 (C3,E6)", "x":7.75, "y":3.25}, | ||
| 64 | {"label":"K39 (C3,F0)", "x":8.75, "y":3.25}, | ||
| 65 | {"label":"K3A (C3,F1)", "x":9.75, "y":3.25}, | ||
| 66 | {"label":"K3B (C3,F2)", "x":10.75, "y":3.25}, | ||
| 67 | {"label":"K3C (C3,F3)", "x":11.75, "y":3.25}, | ||
| 68 | {"label":"K3D (C3,F4)", "x":12.75, "y":3.25, "w":2.25}, | ||
| 69 | {"label":"K41 (C4,B5)", "x":0, "y":4.25, "w":2.25}, | ||
| 70 | {"label":"K42 (C4,B4)", "x":2.25, "y":4.25}, | ||
| 71 | {"label":"K43 (C4,B3)", "x":3.25, "y":4.25}, | ||
| 72 | {"label":"K44 (C4,B2)", "x":4.25, "y":4.25}, | ||
| 73 | {"label":"K45 (C4,B1)", "x":5.25, "y":4.25}, | ||
| 74 | {"label":"K46 (C4,B0)", "x":6.25, "y":4.25}, | ||
| 75 | {"label":"K47 (C4,E7)", "x":7.25, "y":4.25}, | ||
| 76 | {"label":"K48 (C4,E6)", "x":8.25, "y":4.25}, | ||
| 77 | {"label":"K49 (C4,F0)", "x":9.25, "y":4.25}, | ||
| 78 | {"label":"K4A (C4,F1)", "x":10.25, "y":4.25}, | ||
| 79 | {"label":"K4B (C4,F2)", "x":11.25, "y":4.25}, | ||
| 80 | {"label":"K4D (C4,F4)", "x":12.25, "y":4.25, "w":2.75}, | ||
| 81 | {"label":"K4F (C4,F6)", "x":15, "y":4.25}, | ||
| 82 | {"label":"K51 (C5,B5)", "x":1, "y":5.25, "w":1.5}, | ||
| 83 | {"label":"K53 (C5,B3)", "x":2.5, "y":5.25, "w":1.5}, | ||
| 84 | {"label":"K57 (C5,E7)", "x":4, "y":5.25, "w":7}, | ||
| 85 | {"label":"K5B (C5,F2)", "x":11, "y":5.25, "w":1.5}, | ||
| 86 | {"label":"K5D (C5,F4)", "x":12.5, "y":5.25, "w":1.5}, | ||
| 87 | {"label":"K5E (C5,F5)", "x":14, "y":5.25}, | ||
| 88 | {"label":"K5F (C5,F6)", "x":15, "y":5.25}, | ||
| 89 | {"label":"K5G (C5,F7)", "x":16, "y":5.25} | ||
| 90 | ] | ||
| 91 | } | ||
| 92 | } | ||
| 93 | } | ||
diff --git a/keyboards/handwired/amigopunk/keymaps/default/keymap.c b/keyboards/handwired/amigopunk/keymaps/default/keymap.c new file mode 100644 index 000000000..7aed2a61c --- /dev/null +++ b/keyboards/handwired/amigopunk/keymaps/default/keymap.c | |||
| @@ -0,0 +1,91 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2021 Christiano Haesbaert <haesbaert@haesbaert.org> | ||
| 3 | * | ||
| 4 | * Permission to use, copy, modify, and distribute this software for any | ||
| 5 | * purpose with or without fee is hereby granted, provided that the above | ||
| 6 | * copyright notice and this permission notice appear in all copies. | ||
| 7 | * | ||
| 8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = LAYOUT( | ||
| 21 | KC_ESC, 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_INS, KC_DEL, KC_MUTE, | ||
| 22 | 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, KC_PGUP, | ||
| 23 | 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, KC_PGDN, | ||
| 24 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, | ||
| 26 | KC_LGUI, KC_LALT, KC_SPC, XXXXXXX, MO(1), KC_LEFT, KC_DOWN, KC_RGHT | ||
| 27 | ), | ||
| 28 | [1] = LAYOUT( | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, _______, _______, _______, KC_PSCR, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END, | ||
| 32 | KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLU, | ||
| 34 | _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT | ||
| 35 | ), | ||
| 36 | |||
| 37 | }; | ||
| 38 | |||
| 39 | #ifdef ENCODER_ENABLE | ||
| 40 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 41 | if (index != 0) | ||
| 42 | return; | ||
| 43 | |||
| 44 | tap_code(clockwise ? KC_VOLU : KC_VOLD); | ||
| 45 | } | ||
| 46 | #endif | ||
| 47 | |||
| 48 | #ifdef OLED_DRIVER_ENABLE | ||
| 49 | |||
| 50 | static void render_amigopunk_logo(void) { | ||
| 51 | static const char PROGMEM amigopunk_logo[] = { | ||
| 52 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, | ||
| 53 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 54 | 0x00, 0xc0, 0xc0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 55 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 56 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, | ||
| 57 | 0x80, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 58 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 59 | 0x00, 0x00, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 60 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xff, 0x0f, 0x03, 0xff, 0xfc, 0x80, 0x00, 0x00, | ||
| 61 | 0x00, 0xf8, 0xf8, 0x60, 0x30, 0xf8, 0xf0, 0x20, 0x30, 0xf8, 0xf0, 0x00, 0x00, 0x00, 0x38, 0x38, | ||
| 62 | 0x38, 0xf9, 0xf9, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xf0, 0x38, 0x18, 0x18, 0xf8, | ||
| 63 | 0xf8, 0x98, 0x18, 0x00, 0x00, 0x00, 0xe0, 0xf0, 0xf0, 0x38, 0x38, 0x78, 0xf0, 0xe0, 0x00, 0x00, | ||
| 64 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, | ||
| 65 | 0x03, 0x03, 0x03, 0x03, 0xff, 0xff, 0x78, 0x00, 0x00, 0x00, 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, | ||
| 66 | 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, 0xf8, 0xf8, 0xf0, 0x20, 0x30, 0x78, 0xf8, 0xf0, 0x00, 0x00, | ||
| 67 | 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0xc0, 0xf0, 0xf8, 0x38, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 68 | 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xfe, 0x7f, 0x0f, 0x0e, 0x0e, 0x0e, 0x7f, 0xff, 0xf0, 0x00, | ||
| 69 | 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0xe0, 0xe0, | ||
| 70 | 0xe0, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0x00, 0x00, 0x00, 0x00, 0xbc, 0xfd, 0xe7, 0xe6, 0xe6, 0xe3, | ||
| 71 | 0xe3, 0xc1, 0x80, 0x00, 0x00, 0x00, 0x3f, 0x7f, 0x78, 0xe0, 0xe0, 0xf0, 0x7f, 0x3f, 0x00, 0x00, | ||
| 72 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, | ||
| 73 | 0x07, 0x07, 0x07, 0x07, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xf0, 0x60, 0x20, 0x30, | ||
| 74 | 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, | ||
| 75 | 0x00, 0x00, 0xff, 0xff, 0xff, 0x07, 0x1f, 0x7f, 0xf8, 0xe0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 76 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 77 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 78 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07, 0x0f, 0x0c, 0x0c, 0x0c, 0x0c, | ||
| 79 | 0x0c, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 80 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 81 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 82 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 83 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | ||
| 84 | }; | ||
| 85 | oled_write_raw_P(amigopunk_logo, sizeof(amigopunk_logo)); | ||
| 86 | } | ||
| 87 | void oled_task_user(void) { | ||
| 88 | render_amigopunk_logo(); | ||
| 89 | /* oled_write_P(PSTR("Amigo Punk\n"), false); */ | ||
| 90 | } | ||
| 91 | #endif | ||
diff --git a/keyboards/handwired/amigopunk/readme.md b/keyboards/handwired/amigopunk/readme.md new file mode 100644 index 000000000..bad49bd53 --- /dev/null +++ b/keyboards/handwired/amigopunk/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # amigopunk | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A 75% handwired with rotary encoder and OLED using matias clicky ALPS. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [haesbaert](https://github.com/haesbaert) | ||
| 8 | * Hardware Supported: Teensy 2.0++ | ||
| 9 | * Hardware Availability: haesbaert@haesbaert.org | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make handwired/amigopunk:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make handwired/amigopunk:default:flash | ||
| 18 | |||
| 19 | 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/amigopunk/rules.mk b/keyboards/handwired/amigopunk/rules.mk new file mode 100644 index 000000000..d62975bc9 --- /dev/null +++ b/keyboards/handwired/amigopunk/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = at90usb1286 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = halfkay | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = full # 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 = yes # 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 | ||
| 23 | ENCODER_ENABLE = yes | ||
| 24 | OLED_DRIVER_ENABLE = yes | ||
