forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: jack <[email protected]> Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Drashna Jaelre <[email protected]>
- Loading branch information
1 parent
5fec277
commit 75711f4
Showing
11 changed files
with
333 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_MAX_LAYERS 3 | ||
#define ENCODER_MAP_KEY_DELAY 10 | ||
#define ENCODER_DEFAULT_POS 0x3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
{ | ||
"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, | ||
"layers": { | ||
"enabled": true, | ||
"override_rgb": false | ||
} | ||
}, | ||
"url": "https://github.com/gzowski", | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0x6F64", | ||
"vid": "0x7072" | ||
}, | ||
"ws2812": { | ||
"pin": "GP0", | ||
"driver": "vendor" | ||
}, | ||
"layouts": { | ||
"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} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
VIA_ENABLE = yes | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
VIA_ENABLE = yes | ||
ENCODER_MAP_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}; | ||
|
||
// 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_kb(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 layer_state_set_user(state); | ||
} | ||
|
||
void keyboard_post_init_kb(void) { | ||
rgblight_set_effect_range(4, 17); | ||
rgblight_sethsv_range(HSV_BLACK, 0, 4); | ||
rgblight_layers = set_backlight_mode; | ||
|
||
keyboard_post_init_user(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file intentionally left blank |