diff options
| author | keyhive <42986966+keyhive@users.noreply.github.com> | 2019-05-05 23:01:43 -0600 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-05-05 22:01:43 -0700 |
| commit | fbc40032e73ee80db961c3930a2b5d84ffd51a6f (patch) | |
| tree | 931a62cb78ec30a6218007c2937030e17273e4b8 | |
| parent | e96d196dc985072a30cdc5a520c37e9533894cbf (diff) | |
| download | qmk_firmware-fbc40032e73ee80db961c3930a2b5d84ffd51a6f.tar.gz qmk_firmware-fbc40032e73ee80db961c3930a2b5d84ffd51a6f.zip | |
[Keyboard] add ut47.2 (#5788)
* adding ut47.2
adding ut47.2
* Update keyboards/ut472/ut472.c
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* Update keyboards/ut472/rules.mk
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* Update keyboards/ut472/ut472.c
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* Update keyboards/ut472/rules.mk
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* changed shift enter special keys to KC_SFTENT
changed shift enter special keys to KC_SFTENT
* Update keyboards/ut472/ut472.h
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* Update keyboards/ut472/ut472.h
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* Update keyboards/ut472/ut472.h
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* Update keyboards/ut472/readme.md
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* Update keyboards/ut472/readme.md
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* updated for sourcing
updated for sourcing
* Update keyboards/ut472/readme.md
Co-Authored-By: keyhive <42986966+keyhive@users.noreply.github.com>
* changed flash to make
changed flash to make
| -rw-r--r-- | keyboards/ut472/config.h | 60 | ||||
| -rw-r--r-- | keyboards/ut472/info.json | 13 | ||||
| -rw-r--r-- | keyboards/ut472/keymaps/default/config.h | 21 | ||||
| -rw-r--r-- | keyboards/ut472/keymaps/default/keymap.c | 100 | ||||
| -rw-r--r-- | keyboards/ut472/keymaps/default/readme.md | 5 | ||||
| -rw-r--r-- | keyboards/ut472/readme.md | 20 | ||||
| -rw-r--r-- | keyboards/ut472/rules.mk | 69 | ||||
| -rw-r--r-- | keyboards/ut472/ut472.c | 13 | ||||
| -rw-r--r-- | keyboards/ut472/ut472.h | 34 |
9 files changed, 335 insertions, 0 deletions
diff --git a/keyboards/ut472/config.h b/keyboards/ut472/config.h new file mode 100644 index 000000000..8f0d76271 --- /dev/null +++ b/keyboards/ut472/config.h | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2018 Carlos Filoteo | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0xFEED | ||
| 23 | #define PRODUCT_ID 0x0000 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER Keyhive | ||
| 26 | #define PRODUCT UT47.2 | ||
| 27 | #define DESCRIPTION An awesome 40% keyboard | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 4 | ||
| 31 | #define MATRIX_COLS 12 | ||
| 32 | |||
| 33 | /* key matrix pins */ | ||
| 34 | #define MATRIX_ROW_PINS { D1, D2, D3, D4 } | ||
| 35 | #define MATRIX_COL_PINS { C4, C5, B7, B6, B5, B4, B3, B2, B1, B0, D6, D5 } | ||
| 36 | #define UNUSED_PINS | ||
| 37 | |||
| 38 | |||
| 39 | /* COL2ROW, ROW2COL*/ | ||
| 40 | #define DIODE_DIRECTION COL2ROW | ||
| 41 | |||
| 42 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 43 | #define DEBOUNCING_DELAY 5 | ||
| 44 | |||
| 45 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 46 | //#define MATRIX_HAS_GHOST | ||
| 47 | |||
| 48 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 49 | #define LOCKING_SUPPORT_ENABLE | ||
| 50 | /* Locking resynchronize hack */ | ||
| 51 | #define LOCKING_RESYNC_ENABLE | ||
| 52 | |||
| 53 | #define RGB_DI_PIN C6 | ||
| 54 | #ifdef RGB_DI_PIN | ||
| 55 | #define RGBLIGHT_ANIMATIONS | ||
| 56 | #define RGBLED_NUM 8 | ||
| 57 | #define RGBLIGHT_HUE_STEP 8 | ||
| 58 | #define RGBLIGHT_SAT_STEP 8 | ||
| 59 | #define RGBLIGHT_VAL_STEP 8 | ||
| 60 | #endif | ||
diff --git a/keyboards/ut472/info.json b/keyboards/ut472/info.json new file mode 100644 index 000000000..40f769ae2 --- /dev/null +++ b/keyboards/ut472/info.json | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "UT47.2", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 12.5, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "key_count": 47, | ||
| 10 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Backspace", "x":11, "y":0, "w":1.5}, {"label":"LT(3) / Tab", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"\"", "x":11.25, "y":1, "w":1.25}, {"label":"Shift", "x":0, "y":2, "w":1.5}, {"label":"Z", "x":1.5, "y":2}, {"label":"X", "x":2.5, "y":2}, {"label":"C", "x":3.5, "y":2}, {"label":"V", "x":4.5, "y":2}, {"label":"B", "x":5.5, "y":2}, {"label":"N", "x":6.5, "y":2}, {"label":"M", "x":7.5, "y":2}, {"label":"<", "x":8.5, "y":2}, {"label":">", "x":9.5, "y":2}, {"label":"?", "x":10.5, "y":2}, {"label":"Shift / Enter", "x":11.5, "y":2}, {"label":"Ctrl", "x":0, "y":3}, {"label":"Alt", "x":1, "y":3}, {"label":"GUI", "x":2, "y":3}, {"label":"Menu", "x":3, "y":3}, {"label":"MO(2)", "x":4, "y":3, "w":1.25}, {"x":5.25, "y":3, "w":2}, {"label":"MO(1)", "x":7.25, "y":3, "w":1.25}, {"label":"\u2190", "x":8.5, "y":3}, {"label":"\u2193", "x":9.5, "y":3}, {"label":"\u2191", "x":10.5, "y":3}, {"label":"\u2192", "x":11.5, "y":3}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
diff --git a/keyboards/ut472/keymaps/default/config.h b/keyboards/ut472/keymaps/default/config.h new file mode 100644 index 000000000..f88ebf7e8 --- /dev/null +++ b/keyboards/ut472/keymaps/default/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2018 Carlos Filoteo | ||
| 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 | // place overrides here | ||
diff --git a/keyboards/ut472/keymaps/default/keymap.c b/keyboards/ut472/keymaps/default/keymap.c new file mode 100644 index 000000000..883eb5a22 --- /dev/null +++ b/keyboards/ut472/keymaps/default/keymap.c | |||
| @@ -0,0 +1,100 @@ | |||
| 1 | /* Copyright 2018 Carlos Filoteo | ||
| 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 | #define LT3_TAB LT(3, KC_TAB) | ||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | |||
| 25 | /* Base Layer | ||
| 26 | * ,-------------------------------------------------------------------------. | ||
| 27 | * | Esc | Q | W | E | R | T | Y | U | I | O | P |Bspace | | ||
| 28 | * |-------------------------------------------------------------------------+ | ||
| 29 | * |Tab/L3| A | S | D | F | G | H | J | K | L | ; | ' | | ||
| 30 | * |-------------------------------------------------------------------------+ | ||
| 31 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Sh/En| | ||
| 32 | * |-------------------------------------------------------------------------+ | ||
| 33 | * | Ctrl| Alt | Gui | App | L2 | Space | L1 | Left| Down| Up |Right| | ||
| 34 | * `-------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | |||
| 37 | LAYOUT( | ||
| 38 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 39 | LT3_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 40 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_SFTENT, | ||
| 41 | KC_LCTL, KC_LALT, KC_LGUI, KC_APP, MO(2), KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 42 | ), | ||
| 43 | |||
| 44 | /* FN Layer 1 | ||
| 45 | * ,-------------------------------------------------------------------------. | ||
| 46 | * | ` ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Delete| | ||
| 47 | * |-------------------------------------------------------------------------+ | ||
| 48 | * | | | | | | | | - | = | [ | ] | \ | | ||
| 49 | * |-------------------------------------------------------------------------+ | ||
| 50 | * | | F11 | F12 | F13 | F14 | F15 | F16 | F17 | F18 | F19 | F20 | | | ||
| 51 | * |-------------------------------------------------------------------------+ | ||
| 52 | * | | | |Capsl| | | | Home| PgDn| PgUp| End | | ||
| 53 | * `-------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | |||
| 56 | LAYOUT( /* Right */ | ||
| 57 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DELETE, | ||
| 58 | _______, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 59 | _______, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, _______, | ||
| 60 | _______, _______, _______, KC_CAPS, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END | ||
| 61 | ), | ||
| 62 | |||
| 63 | /* FN Layer 2 | ||
| 64 | * ,-------------------------------------------------------------------------. | ||
| 65 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) |Delete| | ||
| 66 | * |-------------------------------------------------------------------------+ | ||
| 67 | * | | | | | | | | _ | + | { | } | | | | ||
| 68 | * |-------------------------------------------------------------------------+ | ||
| 69 | * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | | | ||
| 70 | * |-------------------------------------------------------------------------+ | ||
| 71 | * | | | |Capsl| | | | Home| PgDn| PgUp| End | | ||
| 72 | * `-------------------------------------------------------------------------' | ||
| 73 | */ | ||
| 74 | |||
| 75 | LAYOUT( /* Left */ | ||
| 76 | KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_LEFT_PAREN, KC_RIGHT_PAREN, KC_DELETE, | ||
| 77 | _______, _______, _______, _______, _______, _______, _______, KC_UNDERSCORE, KC_PLUS, KC_LEFT_CURLY_BRACE, KC_RIGHT_CURLY_BRACE, KC_PIPE, | ||
| 78 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, | ||
| 79 | _______, _______, _______, KC_CAPS, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END | ||
| 80 | ), | ||
| 81 | |||
| 82 | /* FN Layer 2 | ||
| 83 | * ,-------------------------------------------------------------------------. | ||
| 84 | * | Esc | Calc|Webhm| Mail| Comp| | | | | |PrtSc| | | ||
| 85 | * |-------------------------------------------------------------------------+ | ||
| 86 | * | | | | | | | | | | | | | | ||
| 87 | * |-------------------------------------------------------------------------+ | ||
| 88 | * | | | | | | | | | | | | | | ||
| 89 | * |-------------------------------------------------------------------------+ | ||
| 90 | * | | | | | | | |MousL|MousD|MousU|MousR| | ||
| 91 | * `-------------------------------------------------------------------------' | ||
| 92 | */ | ||
| 93 | |||
| 94 | LAYOUT( /* Tab */ | ||
| 95 | KC_ESC, KC_CALC, KC_WHOM, KC_MAIL, KC_MYCM, _______, _______, _______, _______, _______, KC_PSCR, _______, | ||
| 96 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 97 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 98 | _______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R | ||
| 99 | ), | ||
| 100 | }; | ||
diff --git a/keyboards/ut472/keymaps/default/readme.md b/keyboards/ut472/keymaps/default/readme.md new file mode 100644 index 000000000..e3dcee467 --- /dev/null +++ b/keyboards/ut472/keymaps/default/readme.md | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # UT47 default keymap | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | [KLE](http://www.keyboard-layout-editor.com/##@@_y:0%3B&=Esc&=Q&=W&=E&=R&=T&=Y&=U&=I&=O&=P&_w:1.5%3B&=Back%20Space&_x:0.25&a:4&f:4&w:4&h:4&d:true%3B&=%3Cb%3EGNAP!%3C%2F%2Fb%3E%3Cp%3E%3Cp%3EMinimum%20stagger%3Cp%3E47%20key%20layout%3B&@_a:7&f:3&w:1.25%3B&=Tab&=A&=S&=D&=F&=G&=H&=J&=K&=L&=%2F%3B&_w:1.25%3B&=%27%3B&@_w:1.5%3B&=Shift&=Z&=X&=C&=V&=B&=N&=M&=,&=.&=%2F%2F&=Return%3B&@=Ctrl&=Alt&=Super&=Menu&_w:1.25%3B&=%2F&dArr%2F%3B&_w:2%3B&=&_w:1.25%3B&=%2F&uArr%2F%3B&=%2F&larr%2F%3B&=%2F&darr%2F%3B&=%2F&uarr%2F%3B&=%2F&rarr%2F%3B%3B&=undefined) | ||
diff --git a/keyboards/ut472/readme.md b/keyboards/ut472/readme.md new file mode 100644 index 000000000..25f40d783 --- /dev/null +++ b/keyboards/ut472/readme.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # ut47.2 | ||
| 2 | |||
| 3 | Somewhere between ortholinear and standard offset. Created to have all the same functions on a Planck in a keyboard but with a more conventional keyboard row stagger. | ||
| 4 | |||
| 5 | Keyboard Maintainer: [filoxo](https://github.com/filoxo), [network_operations](https://www.keyhive.xyz) | ||
| 6 | |||
| 7 | The keyboard files can be found here: https://github.com/ai03-2725/UT47.2 | ||
| 8 | or purchased at keyhive.xyz | ||
| 9 | |||
| 10 | ## Instructions | ||
| 11 | |||
| 12 | To create a hex file for the UT47.2, run: | ||
| 13 | |||
| 14 | make ut472:default | ||
| 15 | |||
| 16 | ## Layout | ||
| 17 | |||
| 18 | Go to the [default layout README](keymaps/default/readme.md) for more information. | ||
| 19 | |||
| 20 | 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/ut472/rules.mk b/keyboards/ut472/rules.mk new file mode 100644 index 000000000..c7b2efedc --- /dev/null +++ b/keyboards/ut472/rules.mk | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u2 | ||
| 3 | |||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | |||
| 18 | # | ||
| 19 | # LUFA specific | ||
| 20 | # | ||
| 21 | # Target architecture (see library "Board Types" documentation). | ||
| 22 | ARCH = AVR8 | ||
| 23 | |||
| 24 | # Input clock frequency. | ||
| 25 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 26 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 27 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 28 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 29 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 30 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 31 | # source code. | ||
| 32 | # | ||
| 33 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 34 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 35 | F_USB = $(F_CPU) | ||
| 36 | |||
| 37 | # Interrupt driven control endpoint task(+60) | ||
| 38 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 39 | |||
| 40 | # Bootloader selection | ||
| 41 | # Teensy halfkay | ||
| 42 | # Pro Micro caterina | ||
| 43 | # Atmel DFU atmel-dfu | ||
| 44 | # LUFA DFU lufa-dfu | ||
| 45 | # QMK DFU qmk-dfu | ||
| 46 | # atmega32a bootloadHID | ||
| 47 | BOOTLOADER = atmel-dfu | ||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | # Build Options | ||
| 52 | # change yes to no to disable | ||
| 53 | # | ||
| 54 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 55 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 56 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 57 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 58 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 59 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 60 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 61 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 62 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 63 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 64 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 65 | UNICODE_ENABLE = no # Unicode | ||
| 66 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 67 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 68 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 69 | RGBLIGHT_ENABLE = yes | ||
diff --git a/keyboards/ut472/ut472.c b/keyboards/ut472/ut472.c new file mode 100644 index 000000000..c0686d661 --- /dev/null +++ b/keyboards/ut472/ut472.c | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | #include "ut472.h" | ||
| 2 | |||
| 3 | void matrix_init_kb(void) { | ||
| 4 | // Keyboard start-up code goes here | ||
| 5 | // Runs once when the firmware starts up | ||
| 6 | matrix_init_user(); | ||
| 7 | }; | ||
| 8 | |||
| 9 | void matrix_scan_kb(void) { | ||
| 10 | // Looping keyboard code goes here | ||
| 11 | // This runs every cycle (a lot) | ||
| 12 | matrix_scan_user(); | ||
| 13 | }; | ||
diff --git a/keyboards/ut472/ut472.h b/keyboards/ut472/ut472.h new file mode 100644 index 000000000..1068dd704 --- /dev/null +++ b/keyboards/ut472/ut472.h | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2018 Carlos Filoteo | ||
| 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 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b, \ | ||
| 23 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b, \ | ||
| 24 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b, \ | ||
| 25 | K30, K31, K32, K33, K34, K35, K37, K38, K39, K3a, K3b \ | ||
| 26 | ) \ | ||
| 27 | { \ | ||
| 28 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0a, K0b }, \ | ||
| 29 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1a, K1b }, \ | ||
| 30 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2a, K2b }, \ | ||
| 31 | { K30, K31, K32, K33, K34, K35, K35, K37, K38, K39, K3a, K3b } \ | ||
| 32 | } | ||
| 33 | |||
| 34 | |||
