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 ProtoKeeb keyboard request #23991

Open
wants to merge 94 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
94 commits
Select commit Hold shift click to select a range
d226b65
Protokeeb v1.0 QMK Firmware
atechofficials Feb 16, 2024
45364e2
Merge branch 'dev_branch' of github.com:atechofficials/qmk_firmware i…
atechofficials Feb 17, 2024
ab22f12
Merge branch 'qmk:master' into dev_branch
atechofficials Mar 28, 2024
7f75644
Merge branch 'master' of github.com:atechofficials/qmk_firmware into …
atechofficials Mar 28, 2024
a0e599e
Merge branch 'qmk:master' into dev_branch
atechofficials Apr 17, 2024
0fc220b
Protokeeb Rev1 QMK Firmware
atechofficials Apr 19, 2024
c73284d
Merge branch 'dev_branch' of github.com:atechofficials/qmk_firmware i…
atechofficials Apr 19, 2024
f9b30e9
Merge branch 'qmk:master' into dev_branch
atechofficials Apr 19, 2024
84d8ce0
Added ProtoKeeb Via Support
atechofficials Apr 20, 2024
f312c68
Merge branch 'qmk:master' into dev_branch
atechofficials Apr 24, 2024
c3fdc65
Protokeeb midi keymap files updated
atechofficials Apr 24, 2024
c6ed373
Protokeeb readme file updated
atechofficials Apr 24, 2024
1bb1f56
Protokeeb readme file updated
atechofficials Apr 24, 2024
858add1
Merge branch 'qmk:master' into dev_branch
atechofficials Apr 26, 2024
5a46bde
Merge branch 'master' of https://github.com/qmk/qmk_firmware into dev…
atechofficials Apr 26, 2024
79cc1e5
Merge branch 'dev_branch' of github.com:atechofficials/qmk_firmware i…
atechofficials Apr 26, 2024
0053e8c
Protokeeb QMK Firmware file changes
atechofficials Apr 26, 2024
d01884f
Merge branch 'qmk:master' into dev_branch
atechofficials May 4, 2024
e0651ba
Merge branch 'qmk:master' into dev_branch
atechofficials May 9, 2024
cd1514d
Merge branch 'qmk:master' into dev_branch
atechofficials May 24, 2024
db98afd
Merge branch 'dev_branch' of github.com:atechofficials/qmk_firmware i…
atechofficials May 31, 2024
d799a26
Merge branch 'master' of github.com:atechofficials/qmk_firmware into …
atechofficials Jun 22, 2024
c1290ce
Added more features, changes in the Protokeeb firmware files accordin…
atechofficials Jun 22, 2024
254090e
Slight changes in the readme.md file and rules.mk file
atechofficials Jun 22, 2024
bfa809e
slight changes in the config.h file
atechofficials Jun 22, 2024
d84ba68
Removed unsused configuration options. Reviewed files and made some c…
atechofficials Jun 23, 2024
af874df
Merge branch 'master' of https://github.com/qmk/qmk_firmware into dev…
atechofficials Jun 24, 2024
bb827d7
Created a new rules.mk file inside the keyboard's root folder and add…
atechofficials Jun 24, 2024
78aa8b7
Update keyboards/protokeeb/keymaps/default/keymap.c
atechofficials Jun 24, 2024
4bc3045
Update keyboards/protokeeb/keymaps/default/keymap.c
atechofficials Jun 24, 2024
7ea5d71
Update keyboards/protokeeb/keymaps/midi/keymap.c
atechofficials Jun 24, 2024
0fcde68
Update keyboards/protokeeb/rev1/rev1.c
atechofficials Jun 24, 2024
e4feb53
Update keyboards/protokeeb/keymaps/midi/keymap.c
atechofficials Jun 24, 2024
a219438
Update keyboards/protokeeb/keymaps/via/keymap.c
atechofficials Jun 24, 2024
8a47fba
Update keyboards/protokeeb/rev1/keyboard.json
atechofficials Jun 24, 2024
3506a4c
Update keyboards/protokeeb/keymaps/via/keymap.c
atechofficials Jun 24, 2024
fe38f5f
Update keyboards/protokeeb/keymaps/via/keymap.c
atechofficials Jun 24, 2024
3ba5b88
Update keyboards/protokeeb/keymaps/via/keymap.c
atechofficials Jun 24, 2024
27eefb3
Update keyboards/protokeeb/keymaps/via/keymap.c
atechofficials Jun 24, 2024
e5ce704
Update keyboards/protokeeb/keymaps/via/rules.mk
atechofficials Jun 24, 2024
0cae39f
Update keyboards/protokeeb/rev1/config.h
atechofficials Jun 24, 2024
6898fb0
Update keyboards/protokeeb/rev1/keyboard.json
atechofficials Jun 24, 2024
71dd193
Update keyboards/protokeeb/rev1/keyboard.json
atechofficials Jun 24, 2024
842cf93
Update keyboards/protokeeb/rev1/keyboard.json
atechofficials Jun 24, 2024
d230e71
Removed debug keymap directory as requested by QMK member in pull req…
atechofficials Jun 24, 2024
1f93dbc
Removed via keymap config.h file as requested by QMK member in pull r…
atechofficials Jun 24, 2024
2144302
Removed Protokeeb keyboard's halconf.h file as requested by QMK membe…
atechofficials Jun 24, 2024
d1c29a4
Removed the tri-layer functionality from via keymap. Also, removed th…
atechofficials Jun 24, 2024
5c70850
Done some slight changes in keyboard.json file according to QMK membe…
atechofficials Jun 24, 2024
03d66d9
Update keyboards/protokeeb/rev1/mcuconf.h
atechofficials Jun 24, 2024
58c2102
Removed the unused SPI driver configuration in mcuconf.h file as requ…
atechofficials Jun 24, 2024
8930af7
Update keyboards/protokeeb/rev1/readme.md
atechofficials Jun 24, 2024
50be79c
Update keyboards/protokeeb/rev1/rev1.c
atechofficials Jun 24, 2024
d9063a6
Successfully formatted the rev1.c file using qmk format-c command as …
atechofficials Jun 24, 2024
b95c4ed
Removed rev1.h file as requested by QMK member in pull request
atechofficials Jun 25, 2024
a520b48
Removed rules.mk file in rev1 directory as requested by QMK member in…
atechofficials Jun 25, 2024
953d6ca
Changed the layout name from LAYOUT_midi to LAYOUT_ortho_4x4 in the m…
atechofficials Jun 25, 2024
0238181
Fixed the qmk firmware compilation issues occured due to recent chang…
atechofficials Jun 25, 2024
c6d1aa0
Removed the the default_ortho_4x4 keymap as requested by QMK maintain…
atechofficials Jun 25, 2024
09ba000
Added custom switch matrix and Changed the encoder built-in push butt…
atechofficials Jun 26, 2024
34fdc58
Update keyboards/protokeeb/rules.mk
atechofficials Jun 27, 2024
2277711
Update keyboards/protokeeb/rev1/keyboard.json
atechofficials Jun 27, 2024
50919d8
Update keyboards/protokeeb/keymaps/default/rules.mk
atechofficials Jun 27, 2024
59d28ad
Update keyboards/protokeeb/keymaps/midi/rules.mk
atechofficials Jun 27, 2024
4c18c88
Update keyboards/protokeeb/keymaps/via/rules.mk
atechofficials Jun 27, 2024
f38ca58
Layout name changed in all the keymap files according to the keyboard…
atechofficials Jun 27, 2024
586836b
Added the QMK's Tri-Layer functionality to the default keymap
atechofficials Jun 27, 2024
99ae294
Merge branch 'master' into dev_branch
atechofficials Jun 29, 2024
e4aad10
Update keyboards/protokeeb/rev1/config.h
atechofficials Jul 5, 2024
1e9e69f
Update keyboards/protokeeb/rev1/config.h
atechofficials Jul 5, 2024
3f06af2
Merge branch 'qmk:master' into dev_branch
atechofficials Jul 10, 2024
739ff79
Update keyboards/protokeeb/rev1/rev1.c
atechofficials Jul 10, 2024
f51e881
Update keyboards/protokeeb/keymaps/via/rules.mk
atechofficials Jul 10, 2024
ead296f
Update keyboards/protokeeb/keymaps/midi/rules.mk
atechofficials Jul 10, 2024
b696d78
Update keyboards/protokeeb/keymaps/default/rules.mk
atechofficials Jul 10, 2024
4c606fe
Deleted Protokeeb keyboard main/root directory's rules.mk file, consi…
atechofficials Jul 10, 2024
f2831a0
qmk format-json -i on keyboard.json file as requested by QMK Maintain…
atechofficials Jul 10, 2024
cdf87c0
Improved the encoder push button functionality code to address/fix th…
atechofficials Jul 13, 2024
cb54da6
Changed readPin function to gpio_read_pin function in rev1.c file bec…
atechofficials Jul 13, 2024
c81487c
Removed WS2812 Driver's WS2812_BYTE_ORDER_RGB because it was not disp…
atechofficials Jul 13, 2024
654f507
Replaced deprecated keycodes in all the keymaps and using short keyco…
atechofficials Jul 14, 2024
23a98c7
Update keyboards/protokeeb/rev1/keyboard.json
atechofficials Sep 4, 2024
785afea
Update keyboards/protokeeb/rev1/keyboard.json
atechofficials Sep 4, 2024
0926a8d
Update keyboards/protokeeb/rev1/keyboard.json
atechofficials Sep 4, 2024
9587842
Merge branch 'qmk:master' into dev_branch
atechofficials Sep 4, 2024
423d5e1
Merge branch 'qmk:master' into dev_branch
atechofficials Dec 15, 2024
7a279d6
Removed via keymap directory, qmk/qmk_firmware is no longer accepting…
atechofficials Dec 15, 2024
fbfcda2
Update keyboards/protokeeb/rev1/config.h
atechofficials Dec 15, 2024
f7aba09
Update keyboards/protokeeb/rev1/config.h
atechofficials Dec 15, 2024
0390e2f
Update keyboards/protokeeb/info.json
atechofficials Dec 15, 2024
3b82c08
Update keyboards/protokeeb/rev1/rev1.c
atechofficials Dec 15, 2024
035ec5e
Update keyboards/protokeeb/keymaps/default/rules.mk
atechofficials Dec 15, 2024
f18d3e9
Removed RP2040 I2C Driver Functionality as it is not required.
atechofficials Dec 15, 2024
1ce77dd
Deleted mcuconf.h file as it is no longer needed.
atechofficials Dec 17, 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
11 changes: 11 additions & 0 deletions keyboards/protokeeb/info.json
Original file line number Diff line number Diff line change
@@ -0,0 1,11 @@
{
"keyboard_name": "Protokeeb",
"manufacturer": "A-Tech Officials",
"maintainer": "atechofficials",
"url": "https://github.com/atechofficials/protokeeb",
"bootloader_instructions": "Press and hold the FN Key (row-4, column-1) then press the key mapped to `QK_BOOT` i.e ENTER Key (row-4, column-4) to enter the bootloader mode.",
atechofficials marked this conversation as resolved.
Show resolved Hide resolved
"tags": ["rgb", "4x4"],
"usb": {
"vid": "0x419A"
}
}
52 changes: 52 additions & 0 deletions keyboards/protokeeb/keymaps/debug/keymap.c
atechofficials marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 1,52 @@
/* Protokeeb Copyright 2024 A-Tech Officials
* 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 3 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 <https://www.gnu.org/licenses/gpl-3.0.html>.
*/

/* Protokeeb v1.0
* Keymap: Debug
*/

#include QMK_KEYBOARD_H
#include "quantum.h"

enum protokeeb_keymap_layers {
LAYER_BASE = 0,
LAYER_LOWER = 1,
};

#define LOWER MO(LAYER_LOWER)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[LAYER_BASE] = LAYOUT( /* Base */
KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_SLASH,
KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_ASTERISK,
KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_MINUS,
LOWER, KC_KP_0, KC_KP_PLUS, KC_KP_ENTER
),

[LAYER_LOWER] = LAYOUT( /* RGB Control */
RGB_MODE_PLAIN, RGB_MODE_FORWARD, RGB_MODE_REVERSE, RGB_TOG,
RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD,
RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD,
KC_TRNS, RGB_MODE_SWIRL, QK_DEBUG_TOGGLE, QK_BOOT
),
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[LAYER_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[LAYER_LOWER] = { ENCODER_CCW_CW(KC_BRIGHTNESS_DOWN, KC_BRIGHTNESS_UP) },
};
#endif
8 changes: 8 additions & 0 deletions keyboards/protokeeb/keymaps/debug/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 1,8 @@
# Build Options
# Change yes to no to diable feature

# Console for keyboard debug
CONSOLE_ENABLE = yes

# Commands for debug and configuration
COMMAND_ENABLE = yes
62 changes: 62 additions & 0 deletions keyboards/protokeeb/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 1,62 @@
/* Protokeeb Copyright 2024 A-Tech Officials
* 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 3 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 <https://www.gnu.org/licenses/gpl-3.0.html>.
*/

/* Protokeeb v1.0
* Keymap: Default
*/

#include QMK_KEYBOARD_H
#include "os_detection.h"
#include "quantum.h"
atechofficials marked this conversation as resolved.
Show resolved Hide resolved

enum protokeeb_keymap_layers {
LAYER_BASE = 0,
LAYER_LOWER = 1,
atechofficials marked this conversation as resolved.
Show resolved Hide resolved
};

#define LOWER MO(LAYER_LOWER)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[LAYER_BASE] = LAYOUT( /* Base */
KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_SLASH,
KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_ASTERISK,
KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_MINUS,
LOWER, KC_KP_0, KC_KP_PLUS, KC_KP_ENTER
),

[LAYER_LOWER] = LAYOUT( /* RGB Control */
RGB_MODE_PLAIN, RGB_MODE_FORWARD, RGB_MODE_REVERSE, RGB_TOG,
RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD,
RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD,
KC_TRNS, RGB_MODE_SWIRL, QK_DEBUG_TOGGLE, QK_BOOT
),
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[LAYER_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[LAYER_LOWER] = { ENCODER_CCW_CW(KC_BRIGHTNESS_DOWN, KC_BRIGHTNESS_UP) },
};
#endif

/*
#if defined(DIP_SWITCH_MAP_ENABLE)
const uint16_t PROGMEM dip_switch_map[NUM_DIP_SWITCHES][NUM_DIP_STATES] = {
DIP_SWITCH_OFF_ON(DF(0), DF(1)),
DIP_SWITCH_OFF_ON(KC_MUTE, KC_MUTE)
};
#endif
*/
8 changes: 8 additions & 0 deletions keyboards/protokeeb/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 1,8 @@
# Build Options Protokeeb rev1
# Change yes to no to diable features

# Rotary Encoder Keymap support
ENCODER_MAP_ENABLE = yes

# DIP Switch Keymap support
DIP_SWITCH_MAP_ENABLE = no
19 changes: 19 additions & 0 deletions keyboards/protokeeb/keymaps/midi/config.h
Original file line number Diff line number Diff line change
@@ -0,0 1,19 @@
/* Protokeeb Copyright 2024 A-Tech Officials (@atechofficials)
* 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 3 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 <https://www.gnu.org/licenses/gpl-3.0.html>.
*/

#pragma once

#define MIDI_ADVANCED
53 changes: 53 additions & 0 deletions keyboards/protokeeb/keymaps/midi/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 1,53 @@
/* Protokeeb Copyright 2024 A-Tech Officials
* 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 3 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 <https://www.gnu.org/licenses/gpl-3.0.html>.
*/

/* Protokeeb v1.0
* Keymap: MIDI
*/

#include QMK_KEYBOARD_H
#include "os_detection.h"
#include "quantum.h"
atechofficials marked this conversation as resolved.
Show resolved Hide resolved

enum protokeeb_keymap_layers {
LAYER_BASE = 0,
LAYER_LOWER = 1,
};

#define LOWER MO(LAYER_LOWER)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[LAYER_BASE] = LAYOUT( /* MIDI Control */
MI_C, MI_Cs, MI_D, MI_Ds,
MI_E, MI_F, MI_Fs, MI_G,
MI_Gs, MI_A, MI_As, MI_B,
LOWER, MI_C1, MI_Cs1, MI_D1
),

[LAYER_LOWER] = LAYOUT( /* RGB Control */
RGB_MODE_PLAIN, RGB_MODE_FORWARD, RGB_MODE_REVERSE, RGB_TOG,
RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD,
RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD,
KC_TRNS, RGB_MODE_SWIRL, QK_DEBUG_TOGGLE, QK_BOOT
),
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[LAYER_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[LAYER_LOWER] = { ENCODER_CCW_CW(KC_BRIGHTNESS_DOWN, KC_BRIGHTNESS_UP) },
};
#endif
10 changes: 10 additions & 0 deletions keyboards/protokeeb/keymaps/midi/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 1,10 @@
# Build Options
# Change yes to no to diable feature

MIDI_ENABLE = yes

# Rotary Encoder Keymap support
ENCODER_MAP_ENABLE = yes

# DIP Switch Keymap support
DIP_SWITCH_MAP_ENABLE = no
atechofficials marked this conversation as resolved.
Show resolved Hide resolved
21 changes: 21 additions & 0 deletions keyboards/protokeeb/keymaps/via/config.h
atechofficials marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 1,21 @@
/* Protokeeb Copyright 2024 A-Tech Officials (@atechofficials)
* 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 3 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 <https://www.gnu.org/licenses/gpl-3.0.html>.
*/

#pragma once

#define DYNAMIC_KEYMAP_LAYER_COUNT 4 // default value 4-layers
// #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 1 // default value 1-byte
// #define VIA_EEPROM_CUSTOM_CONFIG_SIZE 0 // default value 0-bytes
70 changes: 70 additions & 0 deletions keyboards/protokeeb/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 1,70 @@
/* Protokeeb Copyright 2024 A-Tech Officials
* 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 3 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 <https://www.gnu.org/licenses/gpl-3.0.html>.
*/

/* Protokeeb v1.0
* Keymap: Via
*/

#include QMK_KEYBOARD_H
#include "quantum.h"
atechofficials marked this conversation as resolved.
Show resolved Hide resolved

enum protokeeb_keymap_layers {
LAYER_BASE = 0,
LAYER_LOWER = 1,
DYNAMIC_LAYER1 = 2,
DYNAMIC_LAYER2 = 3
atechofficials marked this conversation as resolved.
Show resolved Hide resolved
};

#define LOWER MO(LAYER_LOWER)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[LAYER_BASE] = LAYOUT( /* Base */
KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_SLASH,
KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_ASTERISK,
KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_MINUS,
LOWER, KC_KP_0, KC_KP_PLUS, KC_KP_ENTER
),

[LAYER_LOWER] = LAYOUT( /* RGB Control */
RGB_MODE_PLAIN, RGB_MODE_FORWARD, RGB_MODE_REVERSE, RGB_TOG,
RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD,
RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD,
KC_TRNS, RGB_MODE_SWIRL, QK_DEBUG_TOGGLE, QK_BOOT
),

[DYNAMIC_LAYER1] = LAYOUT( /* Empty for dynamic keymaps */
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
),

[DYNAMIC_LAYER2] = LAYOUT( /* Empty for dynamic keymaps */
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
),
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[LAYER_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[LAYER_LOWER] = { ENCODER_CCW_CW(KC_BRIGHTNESS_DOWN, KC_BRIGHTNESS_UP) },
[DYNAMIC_LAYER1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
[DYNAMIC_LAYER2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
};
#endif
16 changes: 16 additions & 0 deletions keyboards/protokeeb/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 1,16 @@
# Build Options Protokeeb rev1
# Change yes to no to diable features

# Enable Via support
VIA_ENABLE = yes

# Rotary Encoder Keymap support
ENCODER_MAP_ENABLE = yes

# DIP Switch Keymap support
DIP_SWITCH_MAP_ENABLE = no

# To reduce firmware size, consider turning on link time optimization
# Note: This may have unexpected side effects on keyboards
# using ARM processors, so test thoroughly with it enabled and disabled.
# LTO_ENABLE = yes
Loading