summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio')
-rw-r--r--keyboards/keebio/bamfk1/config.h8
-rw-r--r--keyboards/keebio/bamfk1/info.json16
-rw-r--r--keyboards/keebio/bamfk1/keymaps/default/keymap.c27
-rw-r--r--keyboards/keebio/bamfk1/keymaps/default/rules.mk1
-rw-r--r--keyboards/keebio/bamfk1/keymaps/via/keymap.c25
-rw-r--r--keyboards/keebio/bamfk1/keymaps/via/rules.mk1
-rw-r--r--keyboards/keebio/bamfk1/rules.mk6
-rw-r--r--keyboards/keebio/bamfk4/config.h7
-rw-r--r--keyboards/keebio/bamfk4/info.json6
-rw-r--r--keyboards/keebio/bdn9/rev1/config.h5
-rw-r--r--keyboards/keebio/bdn9/rev1/info.json6
-rw-r--r--keyboards/keebio/bdn9/rev2/config.h9
-rw-r--r--keyboards/keebio/bdn9/rev2/info.json9
-rw-r--r--keyboards/keebio/bdn9/rev2/rules.mk2
-rw-r--r--keyboards/keebio/bfo9000/config.h4
-rw-r--r--keyboards/keebio/bfo9000/info.json4
-rw-r--r--keyboards/keebio/cepstrum/rev1/config.h1
-rw-r--r--keyboards/keebio/cepstrum/rev1/info.json3
-rw-r--r--keyboards/keebio/choconum/rules.mk2
-rw-r--r--keyboards/keebio/chocopad/config.h4
-rw-r--r--keyboards/keebio/chocopad/info.json5
-rw-r--r--keyboards/keebio/dilly/config.h5
-rw-r--r--keyboards/keebio/dilly/info.json5
-rw-r--r--keyboards/keebio/dsp40/rev1/config.h7
-rw-r--r--keyboards/keebio/dsp40/rev1/info.json9
-rw-r--r--keyboards/keebio/encoder_actions.c63
-rw-r--r--keyboards/keebio/encoder_actions.h23
-rw-r--r--keyboards/keebio/ergodicity/config.h5
-rw-r--r--keyboards/keebio/ergodicity/info.json6
-rw-r--r--keyboards/keebio/foldkb/rev1/config.h3
-rw-r--r--keyboards/keebio/foldkb/rev1/info.json5
-rw-r--r--keyboards/keebio/fourier/config.h2
-rw-r--r--keyboards/keebio/fourier/info.json4
-rw-r--r--keyboards/keebio/iris/keymaps/nstickney/keymap.c10
-rw-r--r--keyboards/keebio/iris/rev1/config.h1
-rw-r--r--keyboards/keebio/iris/rev1/info.json3
-rw-r--r--keyboards/keebio/iris/rev1_led/config.h1
-rw-r--r--keyboards/keebio/iris/rev1_led/info.json3
-rw-r--r--keyboards/keebio/iris/rev2/config.h2
-rw-r--r--keyboards/keebio/iris/rev2/info.json4
-rw-r--r--keyboards/keebio/iris/rev3/config.h2
-rw-r--r--keyboards/keebio/iris/rev3/info.json4
-rw-r--r--keyboards/keebio/iris/rev4/config.h2
-rw-r--r--keyboards/keebio/iris/rev4/info.json4
-rw-r--r--keyboards/keebio/iris/rev5/config.h2
-rw-r--r--keyboards/keebio/iris/rev5/info.json4
-rw-r--r--keyboards/keebio/iris/rev6/config.h8
-rw-r--r--keyboards/keebio/iris/rev6/info.json7
-rw-r--r--keyboards/keebio/iris/rev7/config.h8
-rw-r--r--keyboards/keebio/iris/rev7/info.json7
-rw-r--r--keyboards/keebio/kbo5000/rev1/config.h3
-rw-r--r--keyboards/keebio/kbo5000/rev1/info.json5
-rw-r--r--keyboards/keebio/laplace/config.h3
-rw-r--r--keyboards/keebio/laplace/info.json3
-rw-r--r--keyboards/keebio/levinson/rev1/config.h4
-rw-r--r--keyboards/keebio/levinson/rev1/info.json4
-rw-r--r--keyboards/keebio/levinson/rev2/config.h4
-rw-r--r--keyboards/keebio/levinson/rev2/info.json4
-rw-r--r--keyboards/keebio/levinson/rev3/config.h4
-rw-r--r--keyboards/keebio/levinson/rev3/info.json4
-rw-r--r--keyboards/keebio/nyquist/keymaps/bramver/keymap.c6
-rw-r--r--keyboards/keebio/nyquist/rev1/config.h4
-rw-r--r--keyboards/keebio/nyquist/rev1/info.json4
-rw-r--r--keyboards/keebio/nyquist/rev2/config.h4
-rw-r--r--keyboards/keebio/nyquist/rev2/info.json4
-rw-r--r--keyboards/keebio/nyquist/rev3/config.h2
-rw-r--r--keyboards/keebio/nyquist/rev3/info.json4
-rw-r--r--keyboards/keebio/quefrency/keymaps/bramver/README.md6
-rw-r--r--keyboards/keebio/quefrency/keymaps/bramver/keymap.c6
-rw-r--r--keyboards/keebio/quefrency/rev1/config.h2
-rw-r--r--keyboards/keebio/quefrency/rev1/info.json4
-rw-r--r--keyboards/keebio/quefrency/rev2/config.h3
-rw-r--r--keyboards/keebio/quefrency/rev2/info.json5
-rw-r--r--keyboards/keebio/quefrency/rev3/config.h3
-rw-r--r--keyboards/keebio/quefrency/rev3/info.json5
-rw-r--r--keyboards/keebio/quefrency/rev4/config.h3
-rw-r--r--keyboards/keebio/quefrency/rev4/info.json5
-rw-r--r--keyboards/keebio/quefrency/rev5/config.h3
-rw-r--r--keyboards/keebio/quefrency/rev5/info.json5
-rw-r--r--keyboards/keebio/rorschach/rev1/config.h4
-rw-r--r--keyboards/keebio/rorschach/rev1/info.json5
-rw-r--r--keyboards/keebio/sinc/rev1/config.h2
-rw-r--r--keyboards/keebio/sinc/rev1/info.json1
-rw-r--r--keyboards/keebio/sinc/rev2/config.h2
-rw-r--r--keyboards/keebio/sinc/rev2/info.json1
-rw-r--r--keyboards/keebio/stick/config.h9
-rw-r--r--keyboards/keebio/stick/info.json6
-rw-r--r--keyboards/keebio/tukey/config.h4
-rw-r--r--keyboards/keebio/tukey/info.json5
-rw-r--r--keyboards/keebio/viterbi/rev1/config.h4
-rw-r--r--keyboards/keebio/viterbi/rev1/info.json4
-rw-r--r--keyboards/keebio/viterbi/rev2/config.h4
-rw-r--r--keyboards/keebio/viterbi/rev2/info.json4
-rw-r--r--keyboards/keebio/wavelet/config.h3
-rw-r--r--keyboards/keebio/wavelet/info.json3
-rw-r--r--keyboards/keebio/wtf60/config.h5
-rw-r--r--keyboards/keebio/wtf60/info.json6
97 files changed, 244 insertions, 304 deletions
diff --git a/keyboards/keebio/bamfk1/config.h b/keyboards/keebio/bamfk1/config.h
index c8587e1efb..5c9d9b741d 100644
--- a/keyboards/keebio/bamfk1/config.h
+++ b/keyboards/keebio/bamfk1/config.h
@@ -8,14 +8,6 @@
# define STARTUP_SONG SONG(STARTUP_SOUND)
#endif
-#define ENCODERS_CW_KEY { { 1, 1 }, { 3, 1 } }
-#define ENCODERS_CCW_KEY { { 0, 1 }, { 2, 1 } }
-
-# define RGBLED_NUM 16
-# define RGBLIGHT_HUE_STEP 8
-# define RGBLIGHT_SAT_STEP 8
-# define RGBLIGHT_VAL_STEP 8
-# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/keebio/bamfk1/info.json b/keyboards/keebio/bamfk1/info.json
index 77dcc1f7dd..042f8555af 100644
--- a/keyboards/keebio/bamfk1/info.json
+++ b/keyboards/keebio/bamfk1/info.json
@@ -8,6 +8,12 @@
"pid": "0x1111",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
+ "led_count": 16,
+ "sleep": true
+ },
"ws2812": {
"pin": "D3"
},
@@ -21,8 +27,7 @@
"bootloader": "atmel-dfu",
"matrix_pins": {
"direct": [
- ["E6", "B6", "D6", null],
- [null, null, null, null]
+ ["E6", "B6", "D6"]
]
},
"layouts": {
@@ -30,12 +35,7 @@
"layout": [
{"x": 1.5, "y": 0, "h": 2, "w": 2, "matrix": [0, 0]},
{"x": 0.5, "y": 2.25, "matrix": [0, 1]},
- {"x": 3.5, "y": 2.25, "matrix": [0, 2]},
-
- {"x": 0, "y": 3.5, "matrix": [1, 0]},
- {"x": 1, "y": 3.5, "matrix": [1, 1]},
- {"x": 3, "y": 3.5, "matrix": [1, 2]},
- {"x": 4, "y": 3.5, "matrix": [1, 3]}
+ {"x": 3.5, "y": 2.25, "matrix": [0, 2]}
]
}
}
diff --git a/keyboards/keebio/bamfk1/keymaps/default/keymap.c b/keyboards/keebio/bamfk1/keymaps/default/keymap.c
index aa0780eafc..8ff3f794a5 100644
--- a/keyboards/keebio/bamfk1/keymaps/default/keymap.c
+++ b/keyboards/keebio/bamfk1/keymaps/default/keymap.c
@@ -13,27 +13,28 @@ enum layer_names {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_MAIN] = LAYOUT(
- KC_A, // Big Switch
- MO(1), KC_MUTE, // Encoder presses
- KC_DOWN, KC_UP, // Left encoder turns
- KC_VOLD, KC_VOLU // Right encoder turns
+ RGB_MOD, // Big Switch
+ TL_LOWR, KC_MUTE // Encoder presses
),
[_FN1] = LAYOUT(
KC_B, // Big Switch
- _______, KC_C, // Encoder presses
- KC_PGDN, KC_PGUP, // Left encoder turns
- KC_VOLU, KC_VOLD // Right encoder turns
+ _______, KC_C // Encoder presses
),
[_FN2] = LAYOUT(
_______, // Big Switch
- _______, _______, // Encoder presses
- _______, _______, // Left encoder turns
- _______, _______ // Right encoder turns
+ _______, _______ // Encoder presses
),
[_FN3] = LAYOUT(
_______, // Big Switch
- _______, _______, // Encoder presses
- _______, _______, // Left encoder turns
- _______, _______ // Right encoder turns
+ _______, _______ // Encoder presses
)
};
+
+#ifdef ENCODER_MAP_ENABLE
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+ [0] = { ENCODER_CCW_CW(KC_DOWN, KC_UP), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+ [1] = { ENCODER_CCW_CW(KC_PGDN, KC_PGUP), ENCODER_CCW_CW(_______, _______) },
+ [2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
+ [3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }
+};
+#endif
diff --git a/keyboards/keebio/bamfk1/keymaps/default/rules.mk b/keyboards/keebio/bamfk1/keymaps/default/rules.mk
new file mode 100644
index 0000000000..ee32568148
--- /dev/null
+++ b/keyboards/keebio/bamfk1/keymaps/default/rules.mk
@@ -0,0 +1 @@
+ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/keebio/bamfk1/keymaps/via/keymap.c b/keyboards/keebio/bamfk1/keymaps/via/keymap.c
index 80ada5d8aa..8ff3f794a5 100644
--- a/keyboards/keebio/bamfk1/keymaps/via/keymap.c
+++ b/keyboards/keebio/bamfk1/keymaps/via/keymap.c
@@ -14,26 +14,27 @@ enum layer_names {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_MAIN] = LAYOUT(
RGB_MOD, // Big Switch
- TL_LOWR, KC_MUTE, // Encoder presses
- KC_DOWN, KC_UP, // Left encoder turns
- KC_VOLD, KC_VOLU // Right encoder turns
+ TL_LOWR, KC_MUTE // Encoder presses
),
[_FN1] = LAYOUT(
KC_B, // Big Switch
- _______, KC_C, // Encoder presses
- KC_PGDN, KC_PGUP, // Left encoder turns
- KC_VOLU, KC_VOLD // Right encoder turns
+ _______, KC_C // Encoder presses
),
[_FN2] = LAYOUT(
_______, // Big Switch
- _______, _______, // Encoder presses
- _______, _______, // Left encoder turns
- _______, _______ // Right encoder turns
+ _______, _______ // Encoder presses
),
[_FN3] = LAYOUT(
_______, // Big Switch
- _______, _______, // Encoder presses
- _______, _______, // Left encoder turns
- _______, _______ // Right encoder turns
+ _______, _______ // Encoder presses
)
};
+
+#ifdef ENCODER_MAP_ENABLE
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+ [0] = { ENCODER_CCW_CW(KC_DOWN, KC_UP), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+ [1] = { ENCODER_CCW_CW(KC_PGDN, KC_PGUP), ENCODER_CCW_CW(_______, _______) },
+ [2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
+ [3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }
+};
+#endif
diff --git a/keyboards/keebio/bamfk1/keymaps/via/rules.mk b/keyboards/keebio/bamfk1/keymaps/via/rules.mk
index 36b7ba9cbc..1189f4ad19 100644
--- a/keyboards/keebio/bamfk1/keymaps/via/rules.mk
+++ b/keyboards/keebio/bamfk1/keymaps/via/rules.mk
@@ -1,2 +1,3 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
+ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/keebio/bamfk1/rules.mk b/keyboards/keebio/bamfk1/rules.mk
index 514d88831a..21df40039e 100644
--- a/keyboards/keebio/bamfk1/rules.mk
+++ b/keyboards/keebio/bamfk1/rules.mk
@@ -2,9 +2,9 @@
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
+MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
+CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
@@ -12,5 +12,3 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = yes # Audio output
ENCODER_ENABLE = yes
LTO_ENABLE = yes
-
-SRC += encoder_actions.c
diff --git a/keyboards/keebio/bamfk4/config.h b/keyboards/keebio/bamfk4/config.h
index a28636c8b6..2be2b02e6e 100644
--- a/keyboards/keebio/bamfk4/config.h
+++ b/keyboards/keebio/bamfk4/config.h
@@ -3,11 +3,6 @@
#pragma once
-# define RGBLED_NUM 32
-# define RGBLIGHT_HUE_STEP 8