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

Addition of Proteus67 keyboard #22439

Merged
merged 85 commits into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
bb2704c
Create file
gzowski Nov 9, 2023
346250a
Add files via upload
gzowski Nov 9, 2023
11eebfc
Create keymap.c
gzowski Nov 9, 2023
8e608ae
Create keymap.c
gzowski Nov 9, 2023
fc34a25
Add files via upload
gzowski Nov 9, 2023
6d898c2
Add files via upload
gzowski Nov 9, 2023
30d754d
Delete keyboards/proteus67/file
gzowski Nov 9, 2023
d52e4b8
Update readme.md
gzowski Nov 9, 2023
d942bec
Update readme.md
gzowski Nov 10, 2023
0b5d845
Update keymap.c
gzowski Nov 10, 2023
1d27b2a
Update keymap.c
gzowski Nov 10, 2023
209390b
Add files via upload
gzowski Nov 10, 2023
4e88685
Add files via upload
gzowski Nov 10, 2023
11d5b39
Add files via upload
gzowski Nov 10, 2023
7ef7159
Add files via upload
gzowski Nov 10, 2023
440bac6
Add files via upload
gzowski Nov 10, 2023
501c964
Add files via upload
gzowski Nov 10, 2023
8d488ba
Delete keyboards/proteus67/proteus67.c
gzowski Nov 10, 2023
6c630e4
Delete keyboards/proteus67/proteus67.h
gzowski Nov 10, 2023
90e1072
Delete keyboards/proteus67/proteus67.json
gzowski Nov 10, 2023
d7bbd31
Add files via upload
gzowski Nov 10, 2023
c3f8b07
Add files via upload
gzowski Nov 10, 2023
bad67f7
Update keyboards/proteus67/readme.md
gzowski Nov 10, 2023
7e5841e
Update keyboards/proteus67/info.json
gzowski Nov 10, 2023
165aadc
Update keyboards/proteus67/keymaps/default/keymap.c
gzowski Nov 10, 2023
dfb0e8d
Update keyboards/proteus67/keymaps/via/keymap.c
gzowski Nov 10, 2023
915e2e4
Update keyboards/proteus67/keymaps/via/config.h
gzowski Nov 10, 2023
36e3df4
Update keyboards/proteus67/keymaps/default/config.h
gzowski Nov 10, 2023
f3a6dad
Update keyboards/proteus67/keymaps/default/rules.mk
gzowski Nov 10, 2023
7bb83eb
Update keyboards/proteus67/info.json
gzowski Nov 10, 2023
12b4840
Update keyboards/proteus67/keymaps/via/rules.mk
gzowski Nov 10, 2023
b7520ce
Update keyboards/proteus67/rules.mk
gzowski Nov 10, 2023
921ba33
Update info.json
gzowski Nov 10, 2023
8391cef
Update keyboards/proteus67/keymaps/default/config.h
gzowski Nov 11, 2023
3adaf13
Update keyboards/proteus67/keymaps/via/config.h
gzowski Nov 11, 2023
db5fdad
Update keyboards/proteus67/readme.md
gzowski Nov 11, 2023
e9e8a86
Update readme.md
gzowski Nov 11, 2023
487c6c2
Update keymap.c
gzowski Nov 11, 2023
0286326
Update keymap.c
gzowski Nov 11, 2023
5e07c02
Update config.h
gzowski Nov 11, 2023
b1dcb26
Update config.h
gzowski Nov 11, 2023
2d66318
Update keymap.c
gzowski Nov 11, 2023
4a7889e
Update keymap.c
gzowski Nov 11, 2023
4bc08d4
Fri Nov 17 02:42:18 AM GMT 2023
gzowski Nov 17, 2023
9b78168
Merge branch 'master' into Proteus67
gzowski Dec 1, 2023
05fa0c1
Update keyboards/proteus67/keymaps/default/keymap.c
gzowski Dec 5, 2023
12871fe
Update keyboards/proteus67/info.json
gzowski Dec 5, 2023
c5f9860
Update keyboards/proteus67/info.json
gzowski Dec 5, 2023
0e06f16
Update keyboards/proteus67/keymaps/via/keymap.c
gzowski Dec 5, 2023
d44494b
Add files via upload
gzowski Dec 5, 2023
f2eb03d
Merge branch 'master' into Proteus67
gzowski Dec 6, 2023
363b6b5
Create proteus67.c
gzowski Dec 13, 2023
289e0b3
Update keymap.c
gzowski Dec 13, 2023
bbb5a05
Update keymap.c
gzowski Dec 13, 2023
033e1bc
Update keymap.c
gzowski Dec 13, 2023
5aadec2
Update keymap.c
gzowski Dec 13, 2023
8735050
Update keymap.c
gzowski Dec 13, 2023
f7d46a0
Update keymap.c
gzowski Dec 13, 2023
6ab4f07
Merge branch 'master' into Proteus67
gzowski Dec 13, 2023
4b0f3fc
Merge branch 'master' into Proteus67
gzowski Dec 13, 2023
b8c1250
Rename config.h to config.h
gzowski Dec 13, 2023
5a1080c
Rename keymap.c to keymap.c
gzowski Dec 13, 2023
fa86fa0
Rename rules.mk to rules.mk
gzowski Dec 13, 2023
833a2b8
Update keyboards/proteus67/proteus67.c
gzowski Dec 13, 2023
5cec002
Update keyboards/proteus67/proteus67.c
gzowski Dec 13, 2023
1a8adfb
Update config.h
gzowski Dec 13, 2023
6d9edf7
Update config.h
gzowski Dec 13, 2023
d83ab88
Update config.h
gzowski Dec 13, 2023
8db2b3b
Update config.h
gzowski Dec 13, 2023
c176ffb
Update config.h
gzowski Dec 13, 2023
03d1201
Update config.h
gzowski Dec 13, 2023
88fba3a
Update config.h
gzowski Dec 13, 2023
b9b4fb5
Update config.h
gzowski Dec 13, 2023
e90b867
Delete keyboards/proteus67/keymaps/colemak/config.h
gzowski Dec 15, 2023
9592f2c
Delete keyboards/proteus67/keymaps/default/config.h
gzowski Dec 15, 2023
2e46edd
Delete keyboards/proteus67/keymaps/via/config.h
gzowski Dec 15, 2023
5b617db
Update keyboards/proteus67/info.json
gzowski Dec 15, 2023
9520542
Update keyboards/proteus67/config.h
gzowski Dec 15, 2023
90bc118
Merge branch 'master' into Proteus67
gzowski Dec 15, 2023
50424ad
Merge branch 'master' into Proteus67
gzowski Dec 20, 2023
7d84ee5
Merge branch 'master' into Proteus67
gzowski Dec 23, 2023
fd77175
Update readme.md
gzowski Dec 25, 2023
13cb2ec
Merge branch 'master' into Proteus67
gzowski Dec 25, 2023
4050541
Merge branch 'master' into Proteus67
gzowski Dec 30, 2023
b68ba46
Merge branch 'master' into Proteus67
gzowski Jan 8, 2024
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
6 changes: 6 additions & 0 deletions keyboards/proteus67/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#define ENCODER_MAP_KEY_DELAY 10
#define ENCODER_DEFAULT_POS 0x3
125 changes: 125 additions & 0 deletions keyboards/proteus67/info.json
gzowski marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"manufacturer": "gzowski",
"keyboard_name": "Proteus67",
"maintainer": "gzowski",
"development_board": "elite_pi",
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "GP21", "pin_b": "GP9"}
]
},
"features": {
"encoder": true,
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true
},
"matrix_pins": {
"cols": ["GP2", "GP3", "GP4", "GP5", "GP6", "GP7", "GP8", "GP23", "GP20", "GP22", "GP26", "GP27", "GP28", "GP29"],
"rows": ["GP12", "GP13", "GP14", "GP15", "GP16"]
},
"rgblight": {
"animations": {
"alternating": true,
"breathing": true,
"christmas": true,
"knight": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"rgb_test": false,
"snake": true,
"static_gradient": true,
"twinkle": true
},
"brightness_steps": 5,
"led_count": 21,
"saturation_steps": 5,
"sleep": true
gzowski marked this conversation as resolved.
Show resolved Hide resolved
},
"url": "https://github.com/gzowski",
"usb": {
"device_version": "1.0.0",
"pid": "0x6F64",
"vid": "0x7072"
},
"ws2812": {
"pin": "GP0",
"driver": "vendor"
},
"layouts": {
gzowski marked this conversation as resolved.
Show resolved Hide resolved
"LAYOUT_ortho_5x14": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [0, 3], "x": 3, "y": 0},
{"matrix": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [0, 9], "x": 9, "y": 0},
{"matrix": [0, 10], "x": 10, "y": 0},
{"matrix": [0, 11], "x": 11, "y": 0},
{"matrix": [0, 12], "x": 12, "y": 0},
{"matrix": [0, 13], "x": 13, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1},
{"matrix": [1, 5], "x": 5, "y": 1},
{"matrix": [1, 6], "x": 6, "y": 1},
{"matrix": [1, 7], "x": 7, "y": 1},
{"matrix": [1, 8], "x": 8, "y": 1},
{"matrix": [1, 9], "x": 9, "y": 1},
{"matrix": [1, 10], "x": 10, "y": 1},
{"matrix": [1, 11], "x": 11, "y": 1},
{"matrix": [1, 12], "x": 12, "y": 1},
{"matrix": [1, 13], "x": 13, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2},
{"matrix": [2, 5], "x": 5, "y": 2},
{"matrix": [2, 6], "x": 6, "y": 2},
{"matrix": [2, 7], "x": 7, "y": 2},
{"matrix": [2, 8], "x": 8, "y": 2},
{"matrix": [2, 9], "x": 9, "y": 2},
{"matrix": [2, 10], "x": 10, "y": 2},
{"matrix": [2, 11], "x": 11, "y": 2},
{"matrix": [2, 12], "x": 12, "y": 2},
{"matrix": [2, 13], "x": 13, "y": 2},
{"matrix": [3, 0], "x": 0, "y": 3},
{"matrix": [3, 1], "x": 1, "y": 3},
{"matrix": [3, 2], "x": 2, "y": 3},
{"matrix": [3, 3], "x": 3, "y": 3},
{"matrix": [3, 4], "x": 4, "y": 3},
{"matrix": [3, 5], "x": 5, "y": 3},
{"matrix": [3, 6], "x": 6, "y": 3},
{"matrix": [3, 7], "x": 7, "y": 3},
{"matrix": [3, 8], "x": 8, "y": 3},
{"matrix": [3, 9], "x": 9, "y": 3},
{"matrix": [3, 10], "x": 10, "y": 3},
{"matrix": [3, 11], "x": 11, "y": 3},
{"matrix": [3, 12], "x": 12, "y": 3},
{"matrix": [3, 13], "x": 13, "y": 3},
{"matrix": [4, 0], "x": 0, "y": 4},
{"matrix": [4, 1], "x": 1, "y": 4},
{"matrix": [4, 2], "x": 2, "y": 4},
{"matrix": [4, 3], "x": 3, "y": 4},
{"matrix": [4, 4], "x": 4, "y": 4},
{"matrix": [4, 5], "x": 5, "y": 4},
{"matrix": [4, 7], "x": 7, "y": 4},
{"matrix": [4, 8], "x": 8, "y": 4},
{"matrix": [4, 9], "x": 9, "y": 4},
{"matrix": [4, 10], "x": 10, "y": 4},
{"matrix": [4, 11], "x": 11, "y": 4}
]
}
}
}
7 changes: 7 additions & 0 deletions keyboards/proteus67/keymaps/colmak/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#define RGBLIGHT_LAYERS
#define RGBLIGHT_MAX_LAYERS 3
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
42 changes: 42 additions & 0 deletions keyboards/proteus67/keymaps/colmak/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// Copyright 2023 James Gzowski
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

enum custom_layer {
_LAYERA,
_LAYERB,
_LAYERC,
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_LAYERA] = LAYOUT_ortho_5x14(
KC_ESC , KC_1 ,KC_2 ,KC_3 , KC_4 , KC_5 , KC_PSCR , KC_EQL , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_GRV ,
KC_TAB , KC_Q ,KC_W ,KC_F , KC_P , KC_G , KC_END , KC_HOME , KC_J , KC_L , KC_U , KC_Y , KC_SCLN ,KC_MINUS,
KC_LCTL, KC_A ,KC_R ,KC_S , KC_T , KC_D , KC_PGDN , KC_PGUP , KC_H , KC_N , KC_E , KC_I , KC_O ,KC_QUOT ,
KC_LSFT, KC_Z ,KC_X ,KC_C , KC_V , KC_B , KC_LBRC, KC_RBRC, KC_K , KC_M , KC_COMM , KC_DOT , KC_SLSH, KC_RSFT,
KC_NO , MO(_LAYERB) ,KC_LGUI,KC_LALT, KC_SPC , KC_MUTE, KC_ENT , KC_BSPC , MO(_LAYERC) , KC_INS , KC_DEL
),
[_LAYERB] = LAYOUT_ortho_5x14(
RGB_TOG , RGB_HUD ,RGB_HUI ,RGB_SAD , RGB_SAI , RGB_VAD , RGB_VAI , RGB_M_P , RGB_M_B , RGB_M_R , RGB_M_SW , RGB_M_K , RGB_M_TW , RGB_M_G ,
KC_TRNS , KC_TRNS, KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_BTN1 , KC_MS_U , KC_BTN2 , KC_TRNS ,KC_TRNS,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_MS_L , KC_MS_D , KC_MS_R , KC_SCLN,KC_QUOT ,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_NUBS, KC_TRNS,
KC_TRNS , KC_TRNS ,KC_TRNS,KC_TRNS, KC_TRNS , RGB_RMOD, KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS
),
[_LAYERC] = LAYOUT_ortho_5x14(
KC_TRNS , KC_F1 ,KC_F2 ,KC_F3 , KC_F4 , KC_F5 , KC_TRNS , KC_TRNS , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_GRV ,
KC_TRNS , KC_TRNS, KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS, KC_TRNS , KC_TRNS ,KC_TRNS,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_LEFT , KC_DOWN , KC_UP , KC_RIGHT,KC_QUOT ,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_NUBS, KC_TRNS,
KC_TRNS , KC_TRNS ,KC_TRNS,KC_TRNS, KC_TRNS , RGB_MOD, KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS
)
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_LAYERA] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
[_LAYERB] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI)},
[_LAYERC] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI)}
};
#endif

2 changes: 2 additions & 0 deletions keyboards/proteus67/keymaps/colmak/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
ENCODER_MAP_ENABLE = yes
7 changes: 7 additions & 0 deletions keyboards/proteus67/keymaps/default/config.h
gzowski marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

gzowski marked this conversation as resolved.
Show resolved Hide resolved
#define RGBLIGHT_LAYERS
#define RGBLIGHT_MAX_LAYERS 3
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
41 changes: 41 additions & 0 deletions keyboards/proteus67/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// Copyright 2023 James Gzowski
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

enum custom_layer {
_LAYERA,
_LAYERB,
_LAYERC,
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_LAYERA] = LAYOUT_ortho_5x14(
KC_ESC , KC_1 ,KC_2 ,KC_3 , KC_4 , KC_5 , KC_MINUS , KC_EQL , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_GRV ,
KC_TAB , KC_Q ,KC_W ,KC_E , KC_R , KC_T , KC_END , KC_HOME , KC_Y , KC_U , KC_I , KC_O , KC_P ,KC_MINUS,
KC_LCTL, KC_A ,KC_S ,KC_D , KC_F , KC_G , KC_PGDN , KC_PGUP , KC_H , KC_J , KC_K , KC_L , KC_SCLN,KC_QUOT ,
KC_LSFT, KC_Z ,KC_X ,KC_C , KC_V , KC_B , KC_LBRC, KC_RBRC, KC_N , KC_M , KC_COMM , KC_DOT , KC_SLSH, KC_RSFT,
KC_NO , MO(_LAYERB) ,KC_LGUI,KC_LALT, KC_SPC , KC_MUTE, KC_ENT , KC_BSPC , MO(_LAYERC) , KC_INS , KC_DEL
),
[_LAYERB] = LAYOUT_ortho_5x14(
RGB_TOG , RGB_HUI ,RGB_HUD ,RGB_SAI , RGB_SAD , RGB_VAI , RGB_VAD , RGB_M_P , RGB_M_B , RGB_M_R , RGB_M_SW , RGB_M_K , RGB_M_X , RGB_M_G ,
KC_TRNS , KC_TRNS, KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_BTN1 , KC_MS_U , KC_BTN2 , KC_TRNS ,KC_TRNS,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_MS_L , KC_MS_D , KC_MS_R , KC_SCLN,KC_QUOT ,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_NUBS, KC_TRNS,
KC_TRNS , KC_TRNS ,KC_TRNS,KC_TRNS, KC_TRNS , RGB_RMOD, KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS
),
[_LAYERC] = LAYOUT_ortho_5x14(
KC_TRNS , KC_F1 ,KC_F2 ,KC_F3 , KC_F4 , KC_F5 , KC_TRNS , KC_TRNS , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_GRV ,
KC_TRNS , KC_TRNS, KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_UP , KC_TRNS , KC_TRNS ,KC_TRNS,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_LEFT , KC_DOWN , KC_RIGHT , KC_SCLN,KC_QUOT ,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_NUBS, KC_TRNS,
KC_TRNS , KC_TRNS ,KC_TRNS,KC_TRNS, KC_TRNS , RGB_MOD, KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS
)
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_LAYERA] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
[_LAYERB] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI)},
[_LAYERC] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI)}
};
#endif
1 change: 1 addition & 0 deletions keyboards/proteus67/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ENCODER_MAP_ENABLE = yes
7 changes: 7 additions & 0 deletions keyboards/proteus67/keymaps/via/config.h
gzowski marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

gzowski marked this conversation as resolved.
Show resolved Hide resolved
#define RGBLIGHT_LAYERS
#define RGBLIGHT_MAX_LAYERS 3
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
41 changes: 41 additions & 0 deletions keyboards/proteus67/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// Copyright 2023 James Gzowski
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

enum custom_layer {
_LAYERA,
_LAYERB,
_LAYERC,
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_LAYERA] = LAYOUT_ortho_5x14(
KC_ESC , KC_1 ,KC_2 ,KC_3 , KC_4 , KC_5 , KC_MINUS , KC_EQL , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_GRV ,
KC_TAB , KC_Q ,KC_W ,KC_E , KC_R , KC_T , KC_END , KC_HOME , KC_Y , KC_U , KC_I , KC_O , KC_P ,KC_MINUS,
KC_LCTL, KC_A ,KC_S ,KC_D , KC_F , KC_G , KC_PGDN , KC_PGUP , KC_H , KC_J , KC_K , KC_L , KC_SCLN,KC_QUOT ,
KC_LSFT, KC_Z ,KC_X ,KC_C , KC_V , KC_B , KC_LBRC, KC_RBRC, KC_N , KC_M , KC_COMM , KC_DOT , KC_SLSH, KC_RSFT,
KC_NO , MO(_LAYERB) ,KC_LGUI,KC_LALT, KC_SPC , KC_MUTE, KC_ENT , KC_BSPC , MO(_LAYERC) , KC_INS , KC_DEL
),
[_LAYERB] = LAYOUT_ortho_5x14(
RGB_TOG , RGB_HUD ,RGB_HUI ,RGB_SAD , RGB_SAI , RGB_VAD , RGB_VAI , RGB_M_P , RGB_M_B , RGB_M_R , RGB_M_SW , RGB_M_K , RGB_M_TW , RGB_M_G ,
KC_TRNS , KC_TRNS, KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_BTN1 , KC_MS_U , KC_BTN2 , KC_TRNS ,KC_TRNS,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_MS_L , KC_MS_D , KC_MS_R , KC_SCLN,KC_QUOT ,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_NUBS, KC_TRNS,
KC_TRNS , KC_TRNS ,KC_TRNS,KC_TRNS, KC_TRNS , RGB_RMOD, KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS
),
[_LAYERC] = LAYOUT_ortho_5x14(
KC_TRNS , KC_F1 ,KC_F2 ,KC_F3 , KC_F4 , KC_F5 , KC_TRNS , KC_TRNS , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_GRV ,
KC_TRNS , KC_TRNS, KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_UP , KC_TRNS , KC_TRNS ,KC_TRNS,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_LEFT , KC_DOWN , KC_RIGHT , KC_SCLN,KC_QUOT ,
KC_TRNS, KC_TRNS ,KC_TRNS ,KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_NUBS, KC_TRNS,
KC_TRNS , KC_TRNS ,KC_TRNS,KC_TRNS, KC_TRNS , RGB_MOD, KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS , KC_TRNS
)
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_LAYERA] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
[_LAYERB] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI)},
[_LAYERC] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI)}
};
#endif
2 changes: 2 additions & 0 deletions keyboards/proteus67/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
ENCODER_MAP_ENABLE = yes
38 changes: 38 additions & 0 deletions keyboards/proteus67/proteus67.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// Copyright 2023 James Gzowski
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

enum custom_layer {
_LAYERA,
_LAYERB,
_LAYERC,
};

// MO(_LAYERB)
const rgblight_segment_t PROGMEM backlight_layer_layerb[] = RGBLIGHT_LAYER_SEGMENTS(
{0, 4, HSV_GOLD}
);
// MO(_LAYERC)
const rgblight_segment_t PROGMEM backlight_layer_layerc[] = RGBLIGHT_LAYER_SEGMENTS(
{0, 4, HSV_CYAN}
);
const rgblight_segment_t PROGMEM backlight_layer_layera[] = RGBLIGHT_LAYER_SEGMENTS(
{0, 4, HSV_BLACK}
);
const rgblight_segment_t* const PROGMEM set_backlight_mode[] = RGBLIGHT_LAYERS_LIST(
backlight_layer_layerb,
backlight_layer_layerc,
backlight_layer_layera
);

layer_state_t layer_state_set_user(layer_state_t state) {
rgblight_set_layer_state(0, layer_state_cmp(state, _LAYERB));
rgblight_set_layer_state(1, layer_state_cmp(state, _LAYERC));
rgblight_set_layer_state(2, layer_state_cmp(state, _LAYERA));
return state;
}
gzowski marked this conversation as resolved.
Show resolved Hide resolved
void keyboard_post_init_user(void) {
rgblight_set_effect_range(4, 17);
rgblight_sethsv_range(HSV_BLACK, 0, 4);
rgblight_layers = set_backlight_mode;
}
gzowski marked this conversation as resolved.
Show resolved Hide resolved
25 changes: 25 additions & 0 deletions keyboards/proteus67/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# proteus67

![proteus67](https://i.imgur.com/mYhl7Jah.png)

*67 key ortholinear layout with rotary encoder*
gzowski marked this conversation as resolved.
Show resolved Hide resolved

* Keyboard Maintainer: [James Gzowski](https://github.com/gzowski)
* Hardware Supported: Elite-Pi or equivilent RP2040 controller with additional I/O along bottom.
* Build Guide: [Proteus67](https://github.com/gzowski/Proteus67)

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

make proteus67:default

Flashing example for this keyboard:

make proteus67:default:flash

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).

## Bootloader

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB, if using a RP2040 press repeatidly to enter boot mode.
* **Hold down boot loader button on MCU** Hold down the boot loader button on the MCU while plugging in the keyboard
1 change: 1 addition & 0 deletions keyboards/proteus67/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank