diff options
| author | AlisGraveNil <63020540+AlisGraveNil@users.noreply.github.com> | 2020-06-09 21:04:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-10 11:04:02 +1000 |
| commit | 01e74b0ac65880cc12c816b67ab41e4439b4b7db (patch) | |
| tree | 543ab151d5de8d2842ad53cc7d63c50145fed862 /keyboards/clawsome | |
| parent | c0cb2ab1c13605a17ce1bcf3835c3aa55edb82f6 (diff) | |
| download | qmk_firmware-01e74b0ac65880cc12c816b67ab41e4439b4b7db.tar.gz qmk_firmware-01e74b0ac65880cc12c816b67ab41e4439b4b7db.zip | |
Sidekick/qmk firmware (#9229)
* 5/28/20
* Create readme 2.md
* Revert inadvertently changed files
* Update keyboards/clawsome/sidekick/config.h
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Update keyboards/clawsome/sidekick/rules.mk
Co-authored-by: Nick Brassel <nick@tzarc.org>
* Update keyboards/clawsome/sidekick/config.h
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/clawsome/sidekick/info.json
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/clawsome/sidekick/info.json
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/clawsome/sidekick/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/clawsome/sidekick/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/clawsome/sidekick/rules.mk
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/clawsome')
| -rw-r--r-- | keyboards/clawsome/sidekick/config.h | 37 | ||||
| -rw-r--r-- | keyboards/clawsome/sidekick/info.json | 40 | ||||
| -rw-r--r-- | keyboards/clawsome/sidekick/keymaps/default/keymap.c | 41 | ||||
| -rw-r--r-- | keyboards/clawsome/sidekick/readme.md | 14 | ||||
| -rw-r--r-- | keyboards/clawsome/sidekick/rules.mk | 25 | ||||
| -rw-r--r-- | keyboards/clawsome/sidekick/sidekick.c | 16 | ||||
| -rw-r--r-- | keyboards/clawsome/sidekick/sidekick.h | 33 |
7 files changed, 206 insertions, 0 deletions
diff --git a/keyboards/clawsome/sidekick/config.h b/keyboards/clawsome/sidekick/config.h new file mode 100644 index 000000000..933dde81e --- /dev/null +++ b/keyboards/clawsome/sidekick/config.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 AAClawson (AlisGraveNil) | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | 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/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xFEED | ||
| 24 | #define PRODUCT_ID 0xDB9F | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER AlisGraveNil | ||
| 27 | #define PRODUCT Sidekick | ||
| 28 | #define DESCRIPTION A 27-key QMK-powered macropad | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 5 | ||
| 32 | #define MATRIX_COLS 7 | ||
| 33 | |||
| 34 | #define MATRIX_ROW_PINS { D0, C6, B2, B6, B5 } | ||
| 35 | #define MATRIX_COL_PINS { F6, F5, B1, B3, E6, D7, D4 } | ||
| 36 | |||
| 37 | #define DIODE_DIRECTION COL2ROW | ||
diff --git a/keyboards/clawsome/sidekick/info.json b/keyboards/clawsome/sidekick/info.json new file mode 100644 index 000000000..cd6d4f000 --- /dev/null +++ b/keyboards/clawsome/sidekick/info.json | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Sidekick", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 7, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"K00 (D0,F6)", "x":0, "y":0}, | ||
| 11 | {"label":"K01 (D0,F5)", "x":1, "y":0}, | ||
| 12 | {"label":"K02 (D0,B1)", "x":2, "y":0}, | ||
| 13 | {"label":"K03 (D0,B3)", "x":3, "y":0}, | ||
| 14 | {"label":"K04 (D0,E6)", "x":4, "y":0}, | ||
| 15 | {"label":"K05 (D0,D7)", "x":5, "y":0}, | ||
| 16 | {"label":"K06 (D0,D4)", "x":6, "y":0}, | ||
| 17 | {"label":"K10 (C6,F6)", "x":0, "y":1}, | ||
| 18 | {"label":"K11 (C6,F5)", "x":1, "y":1}, | ||
| 19 | {"label":"K12 (C6,B1)", "x":2, "y":1}, | ||
| 20 | {"label":"K13 (C6,B3)", "x":3, "y":1}, | ||
| 21 | {"label":"K14 (C6,E6)", "x":4, "y":1}, | ||
| 22 | {"label":"K15 (C6,D7)", "x":5, "y":1}, | ||
| 23 | {"label":"K16 (C6,D4)", "x":6, "y":1, "h":2}, | ||
| 24 | {"label":"K23 (B2,B3)", "x":3, "y":2}, | ||
| 25 | {"label":"K24 (B2,E6)", "x":4, "y":2}, | ||
| 26 | {"label":"K25 (B2,D7)", "x":5, "y":2}, | ||
| 27 | {"label":"K31 (B6,F5)", "x":1, "y":3}, | ||
| 28 | {"label":"K33 (B6,B3)", "x":3, "y":3}, | ||
| 29 | {"label":"K34 (B6,E6)", "x":4, "y":3}, | ||
| 30 | {"label":"K35 (B6,D7)", "x":5, "y":3}, | ||
| 31 | {"label":"K36 (B6,D4)", "x":6, "y":3, "h":2}, | ||
| 32 | {"label":"K40 (B5,F6)", "x":0, "y":4}, | ||
| 33 | {"label":"K41 (B5,F5)", "x":1, "y":4}, | ||
| 34 | {"label":"K42 (B5,B1)", "x":2, "y":4}, | ||
| 35 | {"label":"K43 (B5,B3)", "x":3, "y":4, "w":2}, | ||
| 36 | {"label":"K45 (B5,D7)", "x":5, "y":4} | ||
| 37 | ] | ||
| 38 | } | ||
| 39 | } | ||
| 40 | } | ||
diff --git a/keyboards/clawsome/sidekick/keymaps/default/keymap.c b/keyboards/clawsome/sidekick/keymaps/default/keymap.c new file mode 100644 index 000000000..e445a02f8 --- /dev/null +++ b/keyboards/clawsome/sidekick/keymaps/default/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2020 AAClawson (AlisGraveNil) | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | /* | ||
| 20 | * ------------------------------------ | ||
| 21 | * |INS |HOME|PGUP|NUM | / | * | - | | ||
| 22 | * ------------------------------------ | ||
| 23 | * |DEL |END |PGDN| 7 | 8 | 9 | + | | ||
| 24 | * ------------------------------| | | ||
| 25 | * | | | | 4 | 5 | 6 | | | ||
| 26 | * ------------------------------------ | ||
| 27 | * | | UP | | 1 | 2 | 3 |ENT | | ||
| 28 | * ------------------------------| | | ||
| 29 | * |LEFT|DOWN|RGHT| 0 | . | | | ||
| 30 | * ------------------------------------ | ||
| 31 | */ | ||
| 32 | [0] = LAYOUT( | ||
| 33 | KC_INS, KC_HOME, KC_PGUP, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 34 | KC_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS, | ||
| 35 | KC_P4, KC_P5, KC_P6, | ||
| 36 | KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 37 | KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT | ||
| 38 | ), | ||
| 39 | |||
| 40 | }; | ||
| 41 | |||
diff --git a/keyboards/clawsome/sidekick/readme.md b/keyboards/clawsome/sidekick/readme.md new file mode 100644 index 000000000..ed9ecd3f9 --- /dev/null +++ b/keyboards/clawsome/sidekick/readme.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # Sidekick | ||
| 2 | |||
| 3 | This is a 5x7 macropad designed to be used with any 60% or less board. | ||
| 4 | You still need those arrow keys and that num-pad, so here it is, in a conveniently move-able package! | ||
| 5 | |||
| 6 | - Keyboard Maintainer: [AAClawson](https://github.com/AlisGraveNil) | ||
| 7 | - Hardware Supported: Sidekick 2.0a & 2.0b, Pro Micro, Elite-C | ||
| 8 | - Hardware Availability: Not available yet; will be sold at a later date | ||
| 9 | |||
| 10 | Make example for this keyboard (after setting up your build environment): | ||
| 11 | |||
| 12 | make clawsome/sidekick:default | ||
| 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). | ||
diff --git a/keyboards/clawsome/sidekick/rules.mk b/keyboards/clawsome/sidekick/rules.mk new file mode 100644 index 000000000..22a9b129f --- /dev/null +++ b/keyboards/clawsome/sidekick/rules.mk | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 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 = yes # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # 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 | MIDI_ENABLE = no # MIDI support | ||
| 22 | UNICODE_ENABLE = no # Unicode | ||
| 23 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 24 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 25 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
diff --git a/keyboards/clawsome/sidekick/sidekick.c b/keyboards/clawsome/sidekick/sidekick.c new file mode 100644 index 000000000..4f52b1ba1 --- /dev/null +++ b/keyboards/clawsome/sidekick/sidekick.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2020 AAClawson (AlisGraveNil) | ||
| 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 | #include "sidekick.h" | ||
diff --git a/keyboards/clawsome/sidekick/sidekick.h b/keyboards/clawsome/sidekick/sidekick.h new file mode 100644 index 000000000..fcb93a9bb --- /dev/null +++ b/keyboards/clawsome/sidekick/sidekick.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* Copyright 2020 AAClawson (AlisGraveNil) | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | #define LAYOUT( \ | ||
| 21 | K00, K01, K02, K03, K04, K05, K06, \ | ||
| 22 | K10, K11, K12, K13, K14, K15, K16, \ | ||
| 23 | K23, K24, K25, \ | ||
| 24 | K31, K33, K34, K35, K36, \ | ||
| 25 | K40, K41, K42, K43, K45 \ | ||
| 26 | ) { \ | ||
| 27 | { K00, K01, K02, K03, K04, K05, K06 }, \ | ||
| 28 | { K10, K11, K12, K13, K14, K15, K16 }, \ | ||
| 29 | { KC_NO, KC_NO, KC_NO, K23, K24, K25, KC_NO }, \ | ||
| 30 | { KC_NO, K31, KC_NO, K33, K34, K35, K36 }, \ | ||
| 31 | { K40, K41, K42, K43, KC_NO, K45, KC_NO }, \ | ||
| 32 | } | ||
| 33 | |||
