Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "The Ave." keyboard #10042

Merged
merged 39 commits into from
Nov 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
0dfa294
Add configurator support for "The Ave." keyboard
Aug 14, 2020
7fde558
Update readme.md
Aug 15, 2020
171a17a
update misc nomenclature
Aug 15, 2020
bc37794
add punctuation
Aug 15, 2020
c00114f
fix miss-placed "0"
Aug 15, 2020
b707107
update README.md
Aug 15, 2020
4046187
del. duplicate "F11" in visual layout information
Aug 15, 2020
8eebcf3
Split PCB configurations into subfolders
Aug 17, 2020
04600b2
update layer template to new matrix title
Aug 17, 2020
71f0e33
rm primary <keyboard>.c / <keyboard>.h files
Aug 18, 2020
7a66957
add new end line to both .h subfolder fiels
Aug 18, 2020
8a498fe
Apply suggestions from code review
The-Royal Aug 19, 2020
f9838c0
tested update to RGB code
Aug 19, 2020
7202711
Merge branch 'royal_ave_pr' of https://github.com/The-Royal/qmk_firmw…
Aug 19, 2020
6cbac75
update rgb code
Aug 19, 2020
75f417c
Apply suggestions from code review
The-Royal Aug 19, 2020
73444ef
Apply suggestions from code review
The-Royal Aug 20, 2020
3910832
Apply suggestions from code review
The-Royal Aug 21, 2020
62c58bf
Update rules.mk
The-Royal Aug 22, 2020
5d3444c
Update rules.mk
The-Royal Aug 22, 2020
1d82268
Delete rules.mk
The-Royal Aug 22, 2020
ad203b8
Delete rules.mk
The-Royal Aug 22, 2020
8846ef0
Update rules.mk
The-Royal Aug 22, 2020
127cdc1
Update config.h
The-Royal Oct 13, 2020
b49463f
Update config.h
The-Royal Oct 13, 2020
8cacf9e
Update keymap.c
The-Royal Oct 13, 2020
6d168a2
Update ortho.c
The-Royal Oct 13, 2020
8997b15
Update ortho.h
The-Royal Oct 13, 2020
a5484d0
Update config.h
The-Royal Oct 13, 2020
a49967a
Update keymap.c
The-Royal Oct 13, 2020
8cc1e8a
Update staggered.c
The-Royal Oct 13, 2020
a01d2e1
Update staggered.h
The-Royal Oct 13, 2020
81827fe
Apply suggestions from code review
The-Royal Oct 13, 2020
0abd13a
Update config.h
The-Royal Oct 13, 2020
99e3aa2
Update keymap.c
The-Royal Oct 13, 2020
fd87633
move and duplicate rules.mk file
The-Royal Oct 28, 2020
1282645
Update keyboards/kingly_keys/ave/readme.md
The-Royal Oct 28, 2020
999d412
Update config.h
The-Royal Oct 28, 2020
5eaf700
Update keyboards/kingly_keys/ave/config.h
The-Royal Oct 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions keyboards/kingly_keys/ave/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
Copyright 2020 Garret Gartner

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x4B4B // "KK"
#define PRODUCT_ID 0x1225
#define DEVICE_VER 0x0011
#define MANUFACTURER Kingly-Keys
#define PRODUCT The Ave.

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 13


#define ENCODERS_PAD_A { B2 }
#define ENCODERS_PAD_B { B1 }

#define MATRIX_ROW_PINS { B3, F4, F7, F6, F5 }
#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1, D0}
#define UNUSED_PINS

/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
183 changes: 183 additions & 0 deletions keyboards/kingly_keys/ave/ortho/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
{
"keyboard_name": "The Ave. (Ortholinear Ed. PCB)",
"url": "",
"maintainer": "the-royal",
"width": 13.5,
"height": 5.5,
"layouts": {
"LAYOUT_ortho_all": {
"layout": [
{"label":"k001", "x":0.00, "y":0.00},
{"label":"k002", "x":1.50, "y":0.00},
{"label":"k011", "x":10.5, "y":0.00},
{"label":"k012", "x":11.5, "y":0.00},
{"label":"k013", "x":12.5, "y":0.00},
{"label":"k101", "x":0.00, "y":1.50},
{"label":"k102", "x":1.50, "y":1.50},
{"label":"k103", "x":2.50, "y":1.50},
{"label":"k104", "x":3.50, "y":1.50},
{"label":"k105", "x":4.50, "y":1.50},
{"label":"k106", "x":5.50, "y":1.50},
{"label":"k107", "x":6.50, "y":1.50},
{"label":"k108", "x":7.50, "y":1.50},
{"label":"k109", "x":8.50, "y":1.50},
{"label":"k110", "x":9.50, "y":1.50},
{"label":"k111", "x":10.5, "y":1.50},
{"label":"k112", "x":11.5, "y":1.50},
{"label":"k113", "x":12.5, "y":1.50},
{"label":"k201", "x":0.00, "y":2.50},
{"label":"k202", "x":1.50, "y":2.50},
{"label":"k203", "x":2.50, "y":2.50},
{"label":"k204", "x":3.50, "y":2.50},
{"label":"k205", "x":4.50, "y":2.50},
{"label":"k206", "x":5.50, "y":2.50},
{"label":"k207", "x":6.50, "y":2.50},
{"label":"k208", "x":7.50, "y":2.50},
{"label":"k209", "x":8.50, "y":2.50},
{"label":"k210", "x":9.50, "y":2.50},
{"label":"k211", "x":10.5, "y":2.50},
{"label":"k212", "x":11.5, "y":2.50},
{"label":"k213", "x":12.5, "y":2.50},
{"label":"k301", "x":0.00, "y":3.50},
{"label":"k302", "x":1.50, "y":3.50},
{"label":"k303", "x":2.50, "y":3.50},
{"label":"k304", "x":3.50, "y":3.50},
{"label":"k305", "x":4.50, "y":3.50},
{"label":"k306", "x":5.50, "y":3.50},
{"label":"k307", "x":6.50, "y":3.50},
{"label":"k308", "x":7.50, "y":3.50},
{"label":"k309", "x":8.50, "y":3.50},
{"label":"k310", "x":9.50, "y":3.50},
{"label":"k311", "x":10.5, "y":3.50},
{"label":"k312", "x":11.5, "y":3.50},
{"label":"k313", "x":12.5, "y":3.50},
{"label":"k401", "x":0.00, "y":4.50},
{"label":"k402", "x":1.50, "y":4.50},
{"label":"k403", "x":2.50, "y":4.50},
{"label":"k404", "x":3.50, "y":4.50},
{"label":"k405", "x":4.50, "y":4.50},
{"label":"k406", "x":5.50, "y":4.50},
{"label":"k407", "x":6.50, "y":4.50},
{"label":"k408", "x":7.50, "y":4.50},
{"label":"k409", "x":8.50, "y":4.50},
{"label":"k410", "x":9.50, "y":4.50},
{"label":"k411", "x":10.5, "y":4.50},
{"label":"k412", "x":11.5, "y":4.50},
{"label":"k413", "x":12.5, "y":4.50}
]
},
"LAYOUT_ortho_2x2u": {
"layout": [
{"label":"k001", "x":0.00, "y":0.00},
{"label":"k002", "x":1.50, "y":0.00},
{"label":"k011", "x":10.5, "y":0.00},
{"label":"k012", "x":11.5, "y":0.00},
{"label":"k013", "x":12.5, "y":0.00},
{"label":"k101", "x":0.00, "y":1.50},
{"label":"k102", "x":1.50, "y":1.50},
{"label":"k103", "x":2.50, "y":1.50},
{"label":"k104", "x":3.50, "y":1.50},
{"label":"k105", "x":4.50, "y":1.50},
{"label":"k106", "x":5.50, "y":1.50},
{"label":"k107", "x":6.50, "y":1.50},
{"label":"k108", "x":7.50, "y":1.50},
{"label":"k109", "x":8.50, "y":1.50},
{"label":"k110", "x":9.50, "y":1.50},
{"label":"k111", "x":10.5, "y":1.50},
{"label":"k112", "x":11.5, "y":1.50},
{"label":"k113", "x":12.5, "y":1.50},
{"label":"k201", "x":0.00, "y":2.50},
{"label":"k202", "x":1.50, "y":2.50},
{"label":"k203", "x":2.50, "y":2.50},
{"label":"k204", "x":3.50, "y":2.50},
{"label":"k205", "x":4.50, "y":2.50},
{"label":"k206", "x":5.50, "y":2.50},
{"label":"k207", "x":6.50, "y":2.50},
{"label":"k208", "x":7.50, "y":2.50},
{"label":"k209", "x":8.50, "y":2.50},
{"label":"k210", "x":9.50, "y":2.50},
{"label":"k211", "x":10.5, "y":2.50},
{"label":"k212", "x":11.5, "y":2.50},
{"label":"k213", "x":12.5, "y":2.50},
{"label":"k301", "x":0.00, "y":3.50},
{"label":"k302", "x":1.50, "y":3.50},
{"label":"k303", "x":2.50, "y":3.50},
{"label":"k304", "x":3.50, "y":3.50},
{"label":"k305", "x":4.50, "y":3.50},
{"label":"k306", "x":5.50, "y":3.50},
{"label":"k307", "x":6.50, "y":3.50},
{"label":"k308", "x":7.50, "y":3.50},
{"label":"k309", "x":8.50, "y":3.50},
{"label":"k310", "x":9.50, "y":3.50},
{"label":"k311", "x":10.5, "y":3.50},
{"label":"k312", "x":11.5, "y":3.50},
{"label":"k313", "x":12.5, "y":3.50},
{"label":"k401", "x":0.00, "y":4.50},
{"label":"k402", "x":1.50, "y":4.50},
{"label":"k403", "x":2.50, "y":4.50},
{"label":"k404", "x":3.50, "y":4.50},
{"label":"k405", "x":4.50, "y":4.50},
{"label":"k406", "x":5.50, "y":4.50, "w":2.00},
{"label":"k409", "x":7.50, "y":4.50, "w":2.00},
{"label":"k410", "x":9.50, "y":4.50},
{"label":"k411", "x":10.5, "y":4.50},
{"label":"k412", "x":11.5, "y":4.50},
{"label":"k413", "x":12.5, "y":4.50}
]
},
"LAYOUT_ortho_big_boy": {
"layout": [
{"label":"k001", "x":0.00, "y":0.00},
{"label":"k002", "x":1.50, "y":0.00},
{"label":"k011", "x":10.5, "y":0.00},
{"label":"k012", "x":11.5, "y":0.00},
{"label":"k013", "x":12.5, "y":0.00},
{"label":"k101", "x":0.00, "y":1.50},
{"label":"k102", "x":1.50, "y":1.50},
{"label":"k103", "x":2.50, "y":1.50},
{"label":"k104", "x":3.50, "y":1.50},
{"label":"k105", "x":4.50, "y":1.50},
{"label":"k106", "x":5.50, "y":1.50},
{"label":"k107", "x":6.50, "y":1.50},
{"label":"k108", "x":7.50, "y":1.50},
{"label":"k109", "x":8.50, "y":1.50},
{"label":"k110", "x":9.50, "y":1.50},
{"label":"k111", "x":10.5, "y":1.50},
{"label":"k112", "x":11.5, "y":1.50},
{"label":"k113", "x":12.5, "y":1.50},
{"label":"k201", "x":0.00, "y":2.50},
{"label":"k202", "x":1.50, "y":2.50},
{"label":"k203", "x":2.50, "y":2.50},
{"label":"k204", "x":3.50, "y":2.50},
{"label":"k205", "x":4.50, "y":2.50},
{"label":"k206", "x":5.50, "y":2.50},
{"label":"k207", "x":6.50, "y":2.50},
{"label":"k208", "x":7.50, "y":2.50},
{"label":"k209", "x":8.50, "y":2.50},
{"label":"k210", "x":9.50, "y":2.50},
{"label":"k211", "x":10.5, "y":2.50},
{"label":"k212", "x":11.5, "y":2.50},
{"label":"k213", "x":12.5, "y":2.50},
{"label":"k301", "x":0.00, "y":3.50},
{"label":"k302", "x":1.50, "y":3.50},
{"label":"k303", "x":2.50, "y":3.50},
{"label":"k304", "x":3.50, "y":3.50},
{"label":"k305", "x":4.50, "y":3.50},
{"label":"k306", "x":5.50, "y":3.50},
{"label":"k307", "x":6.50, "y":3.50},
{"label":"k308", "x":7.50, "y":3.50},
{"label":"k309", "x":8.50, "y":3.50},
{"label":"k310", "x":9.50, "y":3.50},
{"label":"k311", "x":10.5, "y":3.50},
{"label":"k312", "x":11.5, "y":3.50},
{"label":"k313", "x":12.5, "y":3.50},
{"label":"k401", "x":0.00, "y":4.50},
{"label":"k402", "x":1.50, "y":4.50},
{"label":"k403", "x":2.50, "y":4.50, "w":1.50},
{"label":"k404", "x":4.00, "y":4.50, "w":7.00},
{"label":"k405", "x":11.0, "y":4.50, "w":1.50},
{"label":"k413", "x":12.5, "y":4.50}
]
}
}
}
32 changes: 32 additions & 0 deletions keyboards/kingly_keys/ave/ortho/keymaps/default/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
Copyright 2020 Garret Gartner

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define TAPPING_TERM_PER_KEY

#ifdef RGBLIGHT_ENABLE
/* ws2812 RGB LED */
#define RGB_DI_PIN B7
#define RGBLED_NUM 2 // Number of LEDs

#define RGBLIGHT_EFFECT_BREATHING
/* #define RGBLIGHT_HUE_STEP 6
* #define RGBLIGHT_SAT_STEP 4
* #define RGBLIGHT_VAL_STEP 4
*/
#endif
Loading