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

Added support for keyquest keyboards #17667

Merged
merged 46 commits into from
Aug 6, 2022
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
295f93a
added enclave
Mathiaszmrga Jul 12, 2022
d78ff3f
added rgb to enclave
Mathiaszmrga Jul 12, 2022
a6ae4d1
added enclave rgb
Mathiaszmrga Jul 13, 2022
3367149
Merge remote-tracking branch 'upstream'
Mathiaszmrga Jul 13, 2022
6cc949c
Merge remote-tracking branch 'upstream'
Mathiaszmrga Jul 13, 2022
46dab2e
added enclave rgb support and via
Mathiaszmrga Jul 13, 2022
73b696b
fixed file sturcture
Jul 13, 2022
b3282aa
filestructure fix
Jul 13, 2022
99c6528
Update readme.md
keyquesttech Jul 13, 2022
469a34c
Update readme.md
keyquesttech Jul 13, 2022
8ede992
Update readme.md
keyquesttech Jul 13, 2022
fc1d639
Update readme.md
keyquesttech Jul 13, 2022
469775a
Update readme.md
keyquesttech Jul 13, 2022
36b8886
Update readme.md
keyquesttech Jul 13, 2022
a786856
Update readme.md
keyquesttech Jul 13, 2022
9bcf345
Update readme.md
keyquesttech Jul 13, 2022
953d5b7
Update readme.md
keyquesttech Jul 13, 2022
f32bfab
Update readme.md
keyquesttech Jul 13, 2022
f0a8741
Update readme.md
keyquesttech Jul 13, 2022
0d15aff
Update readme.md
keyquesttech Jul 13, 2022
deecb67
final keyquest commit for enclave support
Jul 13, 2022
316f644
Merge branch 'qmk:master' into master
keyquesttech Jul 14, 2022
330497c
Update readme.md
keyquesttech Jul 14, 2022
348029d
Update readme.md
keyquesttech Jul 14, 2022
ab15f6a
fix
Jul 14, 2022
346be23
changes requested
Jul 14, 2022
6a74f6b
Merge branch 'qmk:master' into master
keyquesttech Jul 14, 2022
4ab200c
Merge remote-tracking branch 'upstream'
Jul 14, 2022
8eb9325
changes requested
Jul 14, 2022
bb88f82
Merge branch 'qmk:master' into master
keyquesttech Jul 15, 2022
117e4ab
Merge branch 'qmk:master' into master
keyquesttech Jul 15, 2022
a8555ca
Merge branch 'qmk:master' into master
keyquesttech Jul 15, 2022
202e61f
Merge branch 'qmk:master' into master
keyquesttech Jul 23, 2022
967af98
Merge branch 'qmk:master' into master
keyquesttech Jul 24, 2022
578fb20
fauxpark fix request
Jul 24, 2022
95a2505
Merge branch 'qmk:master' into master
keyquesttech Jul 27, 2022
912b01c
fixes to rules, info and config
Jul 27, 2022
3145a0d
fixed issue with period in rules
Jul 27, 2022
8802dc1
Merge branch 'qmk:master' into master
keyquesttech Jul 27, 2022
1861af9
Merge branch 'qmk:master' into master
keyquesttech Jul 27, 2022
d3cda34
Merge branch 'qmk:master' into master
keyquesttech Jul 28, 2022
7ce0543
Merge branch 'qmk:master' into master
keyquesttech Aug 1, 2022
6d2d02e
Merge branch 'qmk:master' into master
keyquesttech Aug 2, 2022
eb338f5
Merge branch 'qmk:master' into master
keyquesttech Aug 3, 2022
e2fc7c0
Merge branch 'qmk:master' into master
keyquesttech Aug 6, 2022
1ecff8d
Merge branch 'qmk:master' into master
keyquesttech Aug 6, 2022
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
59 changes: 59 additions & 0 deletions keyboards/keyquest/enclave/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/* Copyright 2021 keyquest
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
keyquesttech marked this conversation as resolved.
Show resolved Hide resolved

/* USB Device descriptor parameter */
#define VENDOR_ID 0x1117
#define PRODUCT_ID 0x0E0E
#define DEVICE_VER 0x0001
#define PRODUCT Enclave-1

keyquesttech marked this conversation as resolved.
Show resolved Hide resolved
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3

/* Keyboard Matrix Assignments*/
#define MATRIX_ROW_PINS { D6, B6, F5 }
#define MATRIX_COL_PINS { B4, B7, C7 }
#define UNUSED_PINS

/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW

/* RGB light setup*/
#define RGB_DI_PIN B5
#define RGBLED_NUM 2
#define RGBLIGHT_SLEEP
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
#define RGBLIGHT_LIMIT_VAL 200

/* RGB light animations*/
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_SNAKE
#define RGBLIGHT_EFFECT_KNIGHT
#define RGBLIGHT_EFFECT_CHRISTMAS
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5

/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST
22 changes: 22 additions & 0 deletions keyboards/keyquest/enclave/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"manufacturer": "keyquest",
"keyboard_name": "Enclave-1",
"maintainer": "the keyquest team",
keyquesttech marked this conversation as resolved.
Show resolved Hide resolved
"layouts": {
"LAYOUT": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0 },
{ "matrix": [0, 1], "x": 1, "y": 0 },
{ "matrix": [0, 2], "x": 2, "y": 0 },

{ "matrix": [1, 0], "x": 0, "y": 1 },
{ "matrix": [1, 1], "x": 1, "y": 1 },
{ "matrix": [1, 2], "x": 2, "y": 1 },

{ "matrix": [2, 0], "x": 0, "y": 2 },
{ "matrix": [2, 1], "x": 1, "y": 2 },
{ "matrix": [2, 2], "x": 2, "y": 2 }
]
}
}
}
51 changes: 51 additions & 0 deletions keyboards/keyquest/enclave/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/* Copyright 2021 keyquest
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/>.
*/

#include QMK_KEYBOARD_H

/* what each layer does */
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* M = Macro
* ┌────┬────┬────┐
* │ M1 │ M2 │ M3 │
* ├────┼────┼────┤
* │ M4 │ M5 │ M6 │
* ├────┼────┼────┤
* │ M7 │ M8 │ M9 │
* └────┴────┴────┘
*/
[0] = LAYOUT(
KC_MEDIA_PREV_TRACK, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_NEXT_TRACK,
C(KC_C), C(KC_V), G(KC_V),
KC_AUDIO_VOL_UP, KC_AUDIO_VOL_DOWN, MO(1)
),

[1] = LAYOUT(
_______, _______, _______,
_______, _______, _______,
_______, MO(2), _______
),

[2] = LAYOUT(
_______, _______, _______,
_______, _______, _______,
MO(3), _______, _______
),

[3] = LAYOUT(
RGB_TOG, RGB_MODE_PLAIN, RGB_MODE_BREATHE,
RGB_MODE_RAINBOW, RGB_MODE_SWIRL, RGB_MODE_GRADIENT,
_______, _______, _______
)
};
50 changes: 50 additions & 0 deletions keyboards/keyquest/enclave/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/* Copyright 2021 keyquest
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/>.
*/

#include QMK_KEYBOARD_H
keyquesttech marked this conversation as resolved.
Show resolved Hide resolved

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* M = Macro
* ┌────┬────┬────┐
* │ M1 │ M2 │ M3 │
* ├────┼────┼────┤
* │ M4 │ M5 │ M6 │
* ├────┼────┼────┤
* │ M7 │ M8 │ M9 │
* └────┴────┴────┘
*/
[0] = LAYOUT(
KC_MEDIA_PREV_TRACK, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_NEXT_TRACK,
KC_AUDIO_VOL_UP, KC_AUDIO_MUTE, KC_AUDIO_VOL_DOWN,
_______, _______, _______
),

[1] = LAYOUT(
_______, _______, _______,
_______, _______, _______,
_______, _______, _______
),

[2] = LAYOUT(
_______, _______, _______,
_______, _______, _______,
_______, _______, _______
),

[3] = LAYOUT(
_______, _______, _______,
_______, _______, _______,
_______, _______, _______
)
};
1 change: 1 addition & 0 deletions keyboards/keyquest/enclave/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
16 changes: 16 additions & 0 deletions keyboards/keyquest/enclave/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Enclave-1

![ok](https://i.imgur.com/67HZEJBh.jpg)

Enclave 1 is a fully programmable 9-key macropad + usb hub ideal for those constantly on the move that need to adapt to any situation. Besides being a full-fledged macropad, it can also be used as the main hub for all your other devices such as keyboards, dongles, drives, etc.

* Keyboard Maintainer: [KeyQuest](https://github.com/KeyQuest)

Compile example for this keyboard (after setting up your build environment):

make keyquest/enclave:default

Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the top left key and plug in the keyboard.
* **Physical reset button**: Briefly press the button on the back of the PCB.
19 changes: 19 additions & 0 deletions keyboards/keyquest/enclave/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# Change yes to no to disable

keyquesttech marked this conversation as resolved.
Show resolved Hide resolved
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underlight.
keyquesttech marked this conversation as resolved.
Show resolved Hide resolved
AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes
4 changes: 4 additions & 0 deletions keyboards/keyquest/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
![](https://i.imgur.com/Z7J7H8F.png)


[instagram](https://www.instagram.com/keyquest.tech/)