diff options
| author | Danny <nooges@users.noreply.github.com> | 2019-09-03 11:43:25 -0400 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-09-03 08:43:25 -0700 |
| commit | 5c324ee104c4380a9cb36923d0903c4077fcbec7 (patch) | |
| tree | 293b78ac90278fc9aa8d1c8bcdbd6d624a6d0d5e | |
| parent | d633cf3ccbf1aed229ef92bdc2f2a1f4f67dd0ad (diff) | |
| download | qmk_firmware-5c324ee104c4380a9cb36923d0903c4077fcbec7.tar.gz qmk_firmware-5c324ee104c4380a9cb36923d0903c4077fcbec7.zip | |
[Keyboard] Add Tukey board (#6657)
| -rw-r--r-- | keyboards/keebio/tukey/config.h | 58 | ||||
| -rw-r--r-- | keyboards/keebio/tukey/info.json | 15 | ||||
| -rw-r--r-- | keyboards/keebio/tukey/keymaps/default/config.h | 19 | ||||
| -rw-r--r-- | keyboards/keebio/tukey/keymaps/default/keymap.c | 20 | ||||
| -rw-r--r-- | keyboards/keebio/tukey/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/keebio/tukey/readme.md | 13 | ||||
| -rw-r--r-- | keyboards/keebio/tukey/rules.mk | 44 | ||||
| -rw-r--r-- | keyboards/keebio/tukey/tukey.c | 16 | ||||
| -rw-r--r-- | keyboards/keebio/tukey/tukey.h | 20 |
9 files changed, 206 insertions, 0 deletions
diff --git a/keyboards/keebio/tukey/config.h b/keyboards/keebio/tukey/config.h new file mode 100644 index 000000000..d298794f1 --- /dev/null +++ b/keyboards/keebio/tukey/config.h | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Keebio | ||
| 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 0xCB10 | ||
| 24 | #define PRODUCT_ID 0x1112 | ||
| 25 | #define DEVICE_VER 0x0100 | ||
| 26 | #define MANUFACTURER Keebio | ||
| 27 | #define PRODUCT Tukey | ||
| 28 | #define DESCRIPTION 1x2 board for the Big Switch | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 1 | ||
| 32 | #define MATRIX_COLS 2 | ||
| 33 | |||
| 34 | /* Keyboard Matrix Assignments */ | ||
| 35 | #define DIRECT_PINS { { D4, F6 } } | ||
| 36 | |||
| 37 | /* COL2ROW, ROW2COL*/ | ||
| 38 | #define DIODE_DIRECTION COL2ROW | ||
| 39 | |||
| 40 | #define RGB_DI_PIN D3 | ||
| 41 | #ifdef RGB_DI_PIN | ||
| 42 | #define RGBLED_NUM 8 | ||
| 43 | #define RGBLIGHT_HUE_STEP 8 | ||
| 44 | #define RGBLIGHT_SAT_STEP 8 | ||
| 45 | #define RGBLIGHT_VAL_STEP 8 | ||
| 46 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 47 | #define RGBLIGHT_ANIMATIONS | ||
| 48 | |||
| 49 | #endif | ||
| 50 | |||
| 51 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 52 | #define DEBOUNCE 5 | ||
| 53 | |||
| 54 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 55 | #define LOCKING_SUPPORT_ENABLE | ||
| 56 | /* Locking resynchronize hack */ | ||
| 57 | #define LOCKING_RESYNC_ENABLE | ||
| 58 | |||
diff --git a/keyboards/keebio/tukey/info.json b/keyboards/keebio/tukey/info.json new file mode 100644 index 000000000..a43d1dbbf --- /dev/null +++ b/keyboards/keebio/tukey/info.json | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Tukey", | ||
| 3 | "url": "https://keeb.io", | ||
| 4 | "maintainer": "nooges", | ||
| 5 | "width": 2, | ||
| 6 | "height": 1, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"x":0, "y":0}, | ||
| 11 | {"x":1, "y":0} | ||
| 12 | ] | ||
| 13 | } | ||
| 14 | } | ||
| 15 | } | ||
diff --git a/keyboards/keebio/tukey/keymaps/default/config.h b/keyboards/keebio/tukey/keymaps/default/config.h new file mode 100644 index 000000000..6079c0b0f --- /dev/null +++ b/keyboards/keebio/tukey/keymaps/default/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2019 Keebio | ||
| 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 | // place overrides here | ||
diff --git a/keyboards/keebio/tukey/keymaps/default/keymap.c b/keyboards/keebio/tukey/keymaps/default/keymap.c new file mode 100644 index 000000000..6a0e29e9f --- /dev/null +++ b/keyboards/keebio/tukey/keymaps/default/keymap.c | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | /* Copyright 2019 Keebio | ||
| 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 | [0] = LAYOUT(RGB_MOD, KC_ENTER), | ||
| 20 | }; | ||
diff --git a/keyboards/keebio/tukey/keymaps/default/readme.md b/keyboards/keebio/tukey/keymaps/default/readme.md new file mode 100644 index 000000000..7112da958 --- /dev/null +++ b/keyboards/keebio/tukey/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for tukey | |||
diff --git a/keyboards/keebio/tukey/readme.md b/keyboards/keebio/tukey/readme.md new file mode 100644 index 000000000..21527b6bf --- /dev/null +++ b/keyboards/keebio/tukey/readme.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # Tukey | ||
| 2 | |||
| 3 | 2-key keyboard for Big Switches | ||
| 4 | |||
| 5 | Keyboard Maintainer: [nooges/Keebio](https://github.com/nooges) | ||
| 6 | Hardware Supported: Pro Micro, Elite-C | ||
| 7 | Hardware Availability: [Keebio](https://keeb.io) | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make keebio/tukey:default | ||
| 12 | |||
| 13 | 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/keebio/tukey/rules.mk b/keyboards/keebio/tukey/rules.mk new file mode 100644 index 000000000..ab860459d --- /dev/null +++ b/keyboards/keebio/tukey/rules.mk | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | |||
| 5 | # Bootloader selection | ||
| 6 | # Teensy halfkay | ||
| 7 | # Pro Micro caterina | ||
| 8 | # Atmel DFU atmel-dfu | ||
| 9 | # LUFA DFU lufa-dfu | ||
| 10 | # QMK DFU qmk-dfu | ||
| 11 | # atmega32a bootloadHID | ||
| 12 | BOOTLOADER = caterina | ||
| 13 | |||
| 14 | |||
| 15 | # If you don't know the bootloader type, then you can specify the | ||
| 16 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 17 | # Teensy halfKay 512 | ||
| 18 | # Teensy++ halfKay 1024 | ||
| 19 | # Atmel DFU loader 4096 | ||
| 20 | # LUFA bootloader 4096 | ||
| 21 | # USBaspLoader 2048 | ||
| 22 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 23 | |||
| 24 | |||
| 25 | # Build Options | ||
| 26 | # change yes to no to disable | ||
| 27 | # | ||
| 28 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 29 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 30 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 31 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 32 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 33 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 34 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 35 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 36 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 37 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 38 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 39 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 40 | UNICODE_ENABLE = no # Unicode | ||
| 41 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 42 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 43 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 44 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
diff --git a/keyboards/keebio/tukey/tukey.c b/keyboards/keebio/tukey/tukey.c new file mode 100644 index 000000000..a4582370e --- /dev/null +++ b/keyboards/keebio/tukey/tukey.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2019 Keebio | ||
| 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 "tukey.h" | ||
diff --git a/keyboards/keebio/tukey/tukey.h b/keyboards/keebio/tukey/tukey.h new file mode 100644 index 000000000..b8e40bb04 --- /dev/null +++ b/keyboards/keebio/tukey/tukey.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | /* Copyright 2019 Keebio | ||
| 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(k00, k01) { {k00, k01} } | ||
