aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorHund <Hund@users.noreply.github.com>2020-05-13 20:43:28 +0200
committerGitHub <noreply@github.com>2020-05-13 19:43:28 +0100
commit30a6f231bfc6b447e9b2c45b39527f0c0b9c909f (patch)
tree3b667fea20f9b7b426672866de3c37500319448b /keyboards
parent44ff14f290833a72f32c06901826f014d22ea810 (diff)
downloadqmk_firmware-30a6f231bfc6b447e9b2c45b39527f0c0b9c909f.tar.gz
qmk_firmware-30a6f231bfc6b447e9b2c45b39527f0c0b9c909f.zip
[Keyboard] Added support for Aves 65 (#8880)
* First commit. * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-Authored-By: Ryan <fauxpark@gmail.com> * Update keyboards/aves65/rules.mk Co-Authored-By: Joel Challis <git@zvecr.com> * Update keyboards/aves65/aves65.h Co-Authored-By: Joel Challis <git@zvecr.com> * Update keyboards/aves65/keymaps/default/keymap.c Co-Authored-By: Joel Challis <git@zvecr.com> * Update keyboards/aves65/rules.mk Co-Authored-By: Joel Challis <git@zvecr.com> * Changes. * Changes * Changes * Update keyboards/aves65/rules.mk Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Hund <hund@ubuntu.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/aves65/aves65.c1
-rw-r--r--keyboards/aves65/aves65.h19
-rw-r--r--keyboards/aves65/config.h61
-rw-r--r--keyboards/aves65/info.json85
-rw-r--r--keyboards/aves65/keymaps/default/keymap.c18
-rw-r--r--keyboards/aves65/readme.md15
-rw-r--r--keyboards/aves65/rules.mk34
7 files changed, 233 insertions, 0 deletions
diff --git a/keyboards/aves65/aves65.c b/keyboards/aves65/aves65.c
new file mode 100644
index 000000000..35b93f7ae
--- /dev/null
+++ b/keyboards/aves65/aves65.c
@@ -0,0 +1 @@
#include "aves65.h"
diff --git a/keyboards/aves65/aves65.h b/keyboards/aves65/aves65.h
new file mode 100644
index 000000000..ee35909ef
--- /dev/null
+++ b/keyboards/aves65/aves65.h
@@ -0,0 +1,19 @@
1#pragma once
2#include "quantum.h"
3
4// readability
5#define ___ KC_NO
6#define LAYOUT_65_iso_blocker( \
7 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
8 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1e, \
9 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, \
10 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, \
11 k40, k41, k42, k46, k4a, k4b, k4c, k4d, k4e \
12) \
13{ \
14 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \
15 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, ___, k1e }, \
16 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e }, \
17 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e }, \
18 { k40, k41, k42, ___, ___, ___, k46, ___, ___, ___, k4a, k4b, k4c, k4d, k4e } \
19}
diff --git a/keyboards/aves65/config.h b/keyboards/aves65/config.h
new file mode 100644
index 000000000..033100b54
--- /dev/null
+++ b/keyboards/aves65/config.h
@@ -0,0 +1,61 @@
1/*
2Copyright 2019 I/O Keyboards <hello@iokeyboards.eu>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along 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 0x9991
24#define PRODUCT_ID 0x9038
25#define DEVICE_VER 0x0001
26#define MANUFACTURER I/O Keyboards
27#define PRODUCT Aves65
28#define DESCRIPTION A 65% keyboard with underglow.
29
30/* key matrix size */
31#define MATRIX_ROWS 5
32#define MATRIX_COLS 15
33
34// ROWS: Top to bottom, COLS: Left to right
35
36#define MATRIX_ROW_PINS {D4,D6,D7,B4,E6}
37#define MATRIX_COL_PINS {D0,D1,D2,D3,D5,B5,F0,F1,F4,F5,F6,F7,C7,C6,B6}
38#define UNUSED_PINS {B7,B1,B2,B3}
39
40/* COL2ROW or ROW2COL */
41#define DIODE_DIRECTION COL2ROW
42
43/* define if matrix has ghost */
44//#define MATRIX_HAS_GHOST
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/* Locking resynchronize hack */
52#define LOCKING_RESYNC_ENABLE
53
54/* Backlight configuration
55 */
56#define RGB_DI_PIN B0
57#define RGBLIGHT_ANIMATIONS
58#define RGBLED_NUM 9
59
60#define QMK_ESC_OUTPUT D0 // usually COL
61#define QMK_ESC_INPUT D4 // usually ROW
diff --git a/keyboards/aves65/info.json b/keyboards/aves65/info.json
new file mode 100644
index 000000000..9454f1183
--- /dev/null
+++ b/keyboards/aves65/info.json
@@ -0,0 +1,85 @@
1{
2 "keyboard_name": "Aves65",
3 "url": "",
4 "maintainer": "Hund",
5 "width": 16,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_65_iso_blocker": {
9 "layout": [
10 {"label":"k00", "x":0, "y":0},
11 {"label":"k01", "x":1, "y":0},
12 {"label":"k02", "x":2, "y":0},
13 {"label":"k03", "x":3, "y":0},
14 {"label":"k04", "x":4, "y":0},
15 {"label":"k05", "x":5, "y":0},
16 {"label":"k06", "x":6, "y":0},
17 {"label":"k07", "x":7, "y":0},
18 {"label":"k08", "x":8, "y":0},
19 {"label":"k09", "x":9, "y":0},
20 {"label":"k0a", "x":10, "y":0},
21 {"label":"k0b", "x":11, "y":0},
22 {"label":"k0c", "x":12, "y":0},
23 {"label":"k0d", "x":13, "y":0, "w":2},
24 {"label":"k0e", "x":15, "y":0},
25
26 {"label":"k10", "x":0, "y":1, "w":1.5},
27 {"label":"k11", "x":1.5, "y":1},
28 {"label":"k12", "x":2.5, "y":1},
29 {"label":"k13", "x":3.5, "y":1},
30 {"label":"k14", "x":4.5, "y":1},
31 {"label":"k15", "x":5.5, "y":1},
32 {"label":"k16", "x":6.5, "y":1},
33 {"label":"k17", "x":7.5, "y":1},
34 {"label":"k18", "x":8.5, "y":1},
35 {"label":"k19", "x":9.5, "y":1},
36 {"label":"k1a", "x":10.5, "y":1},
37 {"label":"k1b", "x":11.5, "y":1},
38 {"label":"k1c", "x":12.5, "y":1},
39 {"label":"k1e", "x":15, "y":1},
40
41 {"label":"k20", "x":0, "y":2, "w":1.75},
42 {"label":"k21", "x":1.75, "y":2},
43 {"label":"k22", "x":2.75, "y":2},
44 {"label":"k23", "x":3.75, "y":2},
45 {"label":"k24", "x":4.75, "y":2},
46 {"label":"k25", "x":5.75, "y":2},
47 {"label":"k26", "x":6.75, "y":2},
48 {"label":"k27", "x":7.75, "y":2},
49 {"label":"k28", "x":8.75, "y":2},
50 {"label":"k29", "x":9.75, "y":2},
51 {"label":"k2a", "x":10.75, "y":2},
52 {"label":"k2b", "x":11.75, "y":2},
53 {"label":"k2c", "x":12.75, "y":2},
54 {"label":"k2d", "x":13.75, "y":1, "w":1.25, "h":2},
55 {"label":"k2e", "x":15, "y":2},
56
57 {"label":"k30", "x":0, "y":3, "w":1.25},
58 {"label":"k31", "x":1.25, "y":3},
59 {"label":"k32", "x":2.25, "y":3},
60 {"label":"k33", "x":3.25, "y":3},
61 {"label":"k34", "x":4.25, "y":3},
62 {"label":"k35", "x":5.25, "y":3},
63 {"label":"k36", "x":6.25, "y":3},
64 {"label":"k37", "x":7.25, "y":3},
65 {"label":"k38", "x":8.25, "y":3},
66 {"label":"k39", "x":9.25, "y":3},
67 {"label":"k3a", "x":10.25, "y":3},
68 {"label":"k3b", "x":11.25, "y":3},
69 {"label":"k3c", "x":12.25, "y":3, "w":1.75},
70 {"label":"k3d", "x":14, "y":3},
71 {"label":"k3e", "x":15, "y":3},
72
73 {"label":"k40", "x":0, "y":4, "w":1.25},
74 {"label":"k41", "x":1.25, "y":4, "w":1.25},
75 {"label":"k42", "x":2.5, "y":4, "w":1.25},
76 {"label":"k46", "x":3.75, "y":4, "w":6.25},
77 {"label":"k4a", "x":10, "y":4, "w":1.25},
78 {"label":"k4b", "x":11.25, "y":4, "w":1.25},
79 {"label":"k4c", "x":13, "y":4},
80 {"label":"k4d", "x":14, "y":4},
81 {"label":"k4e", "x":15, "y":4}
82 ]
83 }
84 }
85}
diff --git a/keyboards/aves65/keymaps/default/keymap.c b/keyboards/aves65/keymaps/default/keymap.c
new file mode 100644
index 000000000..3b093cad0
--- /dev/null
+++ b/keyboards/aves65/keymaps/default/keymap.c
@@ -0,0 +1,18 @@
1#include QMK_KEYBOARD_H
2
3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
5// Layer names don't all need to be of the same length, obviously, and you can also skip them
6// entirely and just use numbers.
7#define _MA 0
8
9const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
10
11[_MA] = LAYOUT_65_iso_blocker(
12 KC_ESC, 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_GRV,
13 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_DEL,
14 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGUP,
15 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
16 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTRL, KC_LEFT, KC_DOWN, KC_RGHT)
17
18};
diff --git a/keyboards/aves65/readme.md b/keyboards/aves65/readme.md
new file mode 100644
index 000000000..a4cd4e6ee
--- /dev/null
+++ b/keyboards/aves65/readme.md
@@ -0,0 +1,15 @@
1# Aves65
2
3![Aves65](https://i.imgur.com/H7x8an7l.jpg)
4
5A 65% hotswap keyboard with RGB underglow.
6
7* Keyboard Maintainer: [Hund](https://github.com/Hund)
8* Hardware Supported: Aves65
9* Hardware Availability: none (yet)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make aves65:default
14
15See 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/aves65/rules.mk b/keyboards/aves65/rules.mk
new file mode 100644
index 000000000..911c1d95a
--- /dev/null
+++ b/keyboards/aves65/rules.mk
@@ -0,0 +1,34 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = qmk-dfu
13
14# Build Options
15# change yes to no to disable
16#
17BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = no # Console for debug
21COMMAND_ENABLE = no # Commands for debug and configuration
22# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
23SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
24# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
25NKRO_ENABLE = no # USB Nkey Rollover
26BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
27RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
28MIDI_ENABLE = no # MIDI support
29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
30AUDIO_ENABLE = no # Audio output on port C6
31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32HD44780_ENABLE = no # Enable support for HD44780 based LCDs
33
34LAYOUTS = 65_iso_blocker