diff options
Diffstat (limited to 'keyboards/evyd13/atom47/rev3')
| -rw-r--r-- | keyboards/evyd13/atom47/rev3/config.h | 26 | ||||
| -rw-r--r-- | keyboards/evyd13/atom47/rev3/info.json | 122 | ||||
| -rw-r--r-- | keyboards/evyd13/atom47/rev3/rev3.c | 26 | ||||
| -rw-r--r-- | keyboards/evyd13/atom47/rev3/rev3.h | 54 | ||||
| -rw-r--r-- | keyboards/evyd13/atom47/rev3/rules.mk | 2 |
5 files changed, 181 insertions, 49 deletions
diff --git a/keyboards/evyd13/atom47/rev3/config.h b/keyboards/evyd13/atom47/rev3/config.h index f585ddda9..4e53abd01 100644 --- a/keyboards/evyd13/atom47/rev3/config.h +++ b/keyboards/evyd13/atom47/rev3/config.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright 2012 Evy Dekkers | 2 | Copyright 2021 Evelien Dekkers |
| 3 | 3 | ||
| 4 | This program is free software: you can redistribute it and/or modify | 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 | 5 | it under the terms of the GNU General Public License as published by |
| @@ -15,17 +15,16 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef REV3_CONFIG_H | 18 | #pragma once |
| 19 | #define REV3_CONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #include "config_common.h" |
| 22 | 21 | ||
| 23 | /* USB Device descriptor parameter */ | 22 | /* USB Device descriptor parameter */ |
| 24 | #define VENDOR_ID 0xFEED | 23 | #define VENDOR_ID 0x4705 |
| 25 | #define PRODUCT_ID 0x6060 | 24 | #define PRODUCT_ID 0x0E6D |
| 26 | #define DEVICE_VER 0x0003 | 25 | #define DEVICE_VER 0x0001 |
| 27 | #define MANUFACTURER Vortex | 26 | #define MANUFACTURER Evyd13 |
| 28 | #define PRODUCT Core | 27 | #define PRODUCT Atom47 rev3 |
| 29 | 28 | ||
| 30 | /* key matrix size */ | 29 | /* key matrix size */ |
| 31 | #define MATRIX_ROWS 4 | 30 | #define MATRIX_ROWS 4 |
| @@ -37,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 37 | #define MATRIX_COL_PINS {B7,F0,F1,F4,F6,D4,D6,D7,B4,B5,C6,C7,F7} | 36 | #define MATRIX_COL_PINS {B7,F0,F1,F4,F6,D4,D6,D7,B4,B5,C6,C7,F7} |
| 38 | #define UNUSED_PINS | 37 | #define UNUSED_PINS |
| 39 | 38 | ||
| 40 | #define BACKLIGHT_PIN B6 | ||
| 41 | 39 | ||
| 42 | /* COL2ROW or ROW2COL */ | 40 | /* COL2ROW or ROW2COL */ |
| 43 | #define DIODE_DIRECTION COL2ROW | 41 | #define DIODE_DIRECTION COL2ROW |
| @@ -50,13 +48,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 50 | 48 | ||
| 51 | /* Backlight configuration | 49 | /* Backlight configuration |
| 52 | */ | 50 | */ |
| 53 | #define BACKLIGHT_LEVELS 4 | 51 | #define BACKLIGHT_PIN B6 |
| 52 | #define BACKLIGHT_BREATHING | ||
| 53 | #define BACKLIGHT_LEVELS 5 | ||
| 54 | |||
| 55 | #define LED_CAPS_LOCK_PIN E6 | ||
| 54 | 56 | ||
| 55 | #define RGB_DI_PIN F5 // The pin the LED strip is connected to | 57 | #define RGB_DI_PIN F5 // The pin the LED strip is connected to |
| 56 | #define RGBLED_NUM 6 // Number of LEDs in your strip | 58 | #define RGBLED_NUM 6 // Number of LEDs in your strip |
| 57 | #define RGBLIGHT_ANIMATIONS | 59 | #define RGBLIGHT_ANIMATIONS |
| 58 | #define QMK_ESC_OUTPUT B7 // usually COL | 60 | #define QMK_ESC_OUTPUT B7 // usually COL |
| 59 | #define QMK_ESC_INPUT B3 // usually ROW | 61 | #define QMK_ESC_INPUT B0 // usually ROW |
| 60 | #define QMK_LED E6 | 62 | #define QMK_LED E6 |
| 61 | |||
| 62 | #endif | ||
diff --git a/keyboards/evyd13/atom47/rev3/info.json b/keyboards/evyd13/atom47/rev3/info.json index aa15e7606..bd7d6c2ae 100644 --- a/keyboards/evyd13/atom47/rev3/info.json +++ b/keyboards/evyd13/atom47/rev3/info.json | |||
| @@ -1,12 +1,114 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "Atom47", | 2 | "keyboard_name": "Atom47 rev3", |
| 3 | "url": "", | 3 | "url": "", |
| 4 | "maintainer": "evyd13", | 4 | "maintainer": "evyd13", |
| 5 | "width": 13, | 5 | "width": 13, |
| 6 | "height": 4, | 6 | "height": 4, |
| 7 | "layouts": { | 7 | "layouts": { |
| 8 | "LAYOUT": { | 8 | "LAYOUT_split_space": { |
| 9 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":0, "y":1, "w":1.25}, {"x":1.25, "y":1}, {"x":2.25, "y":1}, {"x":3.25, "y":1}, {"x":4.25, "y":1}, {"x":5.25, "y":1}, {"x":6.25, "y":1}, {"x":7.25, "y":1}, {"x":8.25, "y":1}, {"x":9.25, "y":1}, {"x":10.25, "y":1}, {"x":11.25, "y":1, "w":1.75}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2, "w":1.25}, {"x":12, "y":2}, {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3, "w":1.75}, {"x":6, "y":3, "w":2.75}, {"x":8.75, "y":3}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3, "w":1.25}] | 9 | "layout": [ |
| 10 | {"x":0, "y":0}, | ||
| 11 | {"x":1, "y":0}, | ||
| 12 | {"x":2, "y":0}, | ||
| 13 | {"x":3, "y":0}, | ||
| 14 | {"x":4, "y":0}, | ||
| 15 | {"x":5, "y":0}, | ||
| 16 | {"x":6, "y":0}, | ||
| 17 | {"x":7, "y":0}, | ||
| 18 | {"x":8, "y":0}, | ||
| 19 | {"x":9, "y":0}, | ||
| 20 | {"x":10, "y":0}, | ||
| 21 | {"x":11, "y":0}, | ||
| 22 | {"x":12, "y":0}, | ||
| 23 | |||
| 24 | {"x":0, "y":1, "w":1.25}, | ||
| 25 | {"x":1.25, "y":1}, | ||
| 26 | {"x":2.25, "y":1}, | ||
| 27 | {"x":3.25, "y":1}, | ||
| 28 | {"x":4.25, "y":1}, | ||
| 29 | {"x":5.25, "y":1}, | ||
| 30 | {"x":6.25, "y":1}, | ||
| 31 | {"x":7.25, "y":1}, | ||
| 32 | {"x":8.25, "y":1}, | ||
| 33 | {"x":9.25, "y":1}, | ||
| 34 | {"x":10.25, "y":1}, | ||
| 35 | {"x":11.25, "y":1, "w":1.75}, | ||
| 36 | |||
| 37 | {"x":0, "y":2, "w":1.75}, | ||
| 38 | {"x":1.75, "y":2}, | ||
| 39 | {"x":2.75, "y":2}, | ||
| 40 | {"x":3.75, "y":2}, | ||
| 41 | {"x":4.75, "y":2}, | ||
| 42 | {"x":5.75, "y":2}, | ||
| 43 | {"x":6.75, "y":2}, | ||
| 44 | {"x":7.75, "y":2}, | ||
| 45 | {"x":8.75, "y":2}, | ||
| 46 | {"x":9.75, "y":2}, | ||
| 47 | {"x":10.75, "y":2, "w":1.25}, | ||
| 48 | {"x":12, "y":2}, | ||
| 49 | |||
| 50 | {"x":0, "y":3, "w":1.25}, | ||
| 51 | {"x":1.25, "y":3}, | ||
| 52 | {"x":2.25, "y":3}, | ||
| 53 | {"x":3.25, "y":3}, | ||
| 54 | {"x":4.25, "y":3, "w":1.75}, | ||
| 55 | {"x":6, "y":3, "w":2.75}, | ||
| 56 | {"x":8.75, "y":3}, | ||
| 57 | {"x":9.75, "y":3}, | ||
| 58 | {"x":10.75, "y":3}, | ||
| 59 | {"x":11.75, "y":3, "w":1.25} | ||
| 60 | ] | ||
| 61 | }, | ||
| 62 | "LAYOUT_full_space": { | ||
| 63 | "layout": [ | ||
| 64 | {"x":0, "y":0}, | ||
| 65 | {"x":1, "y":0}, | ||
| 66 | {"x":2, "y":0}, | ||
| 67 | {"x":3, "y":0}, | ||
| 68 | {"x":4, "y":0}, | ||
| 69 | {"x":5, "y":0}, | ||
| 70 | {"x":6, "y":0}, | ||
| 71 | {"x":7, "y":0}, | ||
| 72 | {"x":8, "y":0}, | ||
| 73 | {"x":9, "y":0}, | ||
| 74 | {"x":10, "y":0}, | ||
| 75 | {"x":11, "y":0}, | ||
| 76 | {"x":12, "y":0}, | ||
| 77 | |||
| 78 | {"x":0, "y":1, "w":1.25}, | ||
| 79 | {"x":1.25, "y":1}, | ||
| 80 | {"x":2.25, "y":1}, | ||
| 81 | {"x":3.25, "y":1}, | ||
| 82 | {"x":4.25, "y":1}, | ||
| 83 | {"x":5.25, "y":1}, | ||
| 84 | {"x":6.25, "y":1}, | ||
| 85 | {"x":7.25, "y":1}, | ||
| 86 | {"x":8.25, "y":1}, | ||
| 87 | {"x":9.25, "y":1}, | ||
| 88 | {"x":10.25, "y":1}, | ||
| 89 | {"x":11.25, "y":1, "w":1.75}, | ||
| 90 | |||
| 91 | {"x":0, "y":2, "w":1.75}, | ||
| 92 | {"x":1.75, "y":2}, | ||
| 93 | {"x":2.75, "y":2}, | ||
| 94 | {"x":3.75, "y":2}, | ||
| 95 | {"x":4.75, "y":2}, | ||
| 96 | {"x":5.75, "y":2}, | ||
| 97 | {"x":6.75, "y":2}, | ||
| 98 | {"x":7.75, "y":2}, | ||
| 99 | {"x":8.75, "y":2}, | ||
| 100 | {"x":9.75, "y":2}, | ||
| 101 | {"x":10.75, "y":2, "w":1.25}, | ||
| 102 | {"x":12, "y":2}, | ||
| 103 | |||
| 104 | {"x":0, "y":3, "w":1.25}, | ||
| 105 | {"x":1.25, "y":3, "w":1.25}, | ||
| 106 | {"x":2.5, "y":3, "w":1.25}, | ||
| 107 | {"x":3.75, "y":3, "w":6.25}, | ||
| 108 | {"x":10, "y":3}, | ||
| 109 | {"x":11, "y":3}, | ||
| 110 | {"x":12, "y":3} | ||
| 111 | ] | ||
| 112 | } | ||
| 10 | } | 113 | } |
| 11 | } | 114 | } \ No newline at end of file |
| 12 | } | ||
diff --git a/keyboards/evyd13/atom47/rev3/rev3.c b/keyboards/evyd13/atom47/rev3/rev3.c index 24e12c840..52fa91fbc 100644 --- a/keyboards/evyd13/atom47/rev3/rev3.c +++ b/keyboards/evyd13/atom47/rev3/rev3.c | |||
| @@ -1,14 +1,18 @@ | |||
| 1 | #include "rev3.h" | 1 | /* |
| 2 | #include "led.h" | 2 | Copyright 2021 Evelien Dekkers |
| 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. | ||
| 3 | 8 | ||
| 4 | void led_init_ports(void) { | 9 | This program is distributed in the hope that it will be useful, |
| 5 | // * Set our LED pins as output | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 6 | DDRE |= (1 << 6); | 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. | ||
| 7 | 13 | ||
| 8 | //Set output high, so the capslock led is off | 14 | You should have received a copy of the GNU General Public License |
| 9 | PORTE |= (1 << 6); | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 10 | } | 16 | */ |
| 11 | 17 | ||
| 12 | void led_set_kb(uint8_t usb_led) { | 18 | #include "rev3.h" |
| 13 | led_set_user(usb_led); | ||
| 14 | } | ||
diff --git a/keyboards/evyd13/atom47/rev3/rev3.h b/keyboards/evyd13/atom47/rev3/rev3.h index ad875bb40..aa2e53ba2 100644 --- a/keyboards/evyd13/atom47/rev3/rev3.h +++ b/keyboards/evyd13/atom47/rev3/rev3.h | |||
| @@ -1,23 +1,51 @@ | |||
| 1 | #ifndef ATOM47_REV3_H | 1 | /* |
| 2 | #define ATOM47_REV3_H | 2 | Copyright 2021 Evelien Dekkers |
| 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 | ||
| 3 | 19 | ||
| 4 | #include "quantum.h" | 20 | #include "quantum.h" |
| 5 | 21 | ||
| 6 | // readability | 22 | // readability |
| 7 | #define XXX KC_NO | 23 | #define XXX KC_NO |
| 8 | 24 | ||
| 9 | #define LAYOUT( \ | 25 | #define LAYOUT_all LAYOUT_split_space |
| 10 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \ | 26 | |
| 11 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1c, \ | 27 | #define LAYOUT_split_space( \ |
| 12 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | 28 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \ |
| 13 | k30, k31, k32, k33, k35, k37, k39, k3a, k3b, k3c \ | 29 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1c, \ |
| 30 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | ||
| 31 | k30, k31, k32, k33, k35, k37, k39, k3a, k3b, k3c \ | ||
| 14 | ) \ | 32 | ) \ |
| 15 | { \ | 33 | { \ |
| 16 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \ | 34 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \ |
| 17 | {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, XXX, k1c}, \ | 35 | {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, XXX, k1c}, \ |
| 18 | {k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c}, \ | 36 | {k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c}, \ |
| 19 | {k30, k31, k32, k33, XXX, k35, XXX, k37, XXX, k39, k3a, k3b, k3c} \ | 37 | {k30, k31, k32, k33, XXX, k35, XXX, k37, XXX, k39, k3a, k3b, k3c} \ |
| 20 | } | 38 | } |
| 21 | 39 | ||
| 22 | 40 | #define LAYOUT_full_space( \ | |
| 23 | #endif | 41 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \ |
| 42 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1c, \ | ||
| 43 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | ||
| 44 | k30, k31, k32, k37, k39, k3a, k3b, k3c \ | ||
| 45 | ) \ | ||
| 46 | { \ | ||
| 47 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \ | ||
| 48 | {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, XXX, k1c}, \ | ||
| 49 | {k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c}, \ | ||
| 50 | {k30, k31, k32, XXX, XXX, XXX, XXX, k37, XXX, k39, k3a, k3b, k3c} \ | ||
| 51 | } | ||
diff --git a/keyboards/evyd13/atom47/rev3/rules.mk b/keyboards/evyd13/atom47/rev3/rules.mk index 2df225e38..e69de29bb 100644 --- a/keyboards/evyd13/atom47/rev3/rules.mk +++ b/keyboards/evyd13/atom47/rev3/rules.mk | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | NKRO_ENABLE = no # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 2 | RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality | ||
