Skip to content

Commit 39c22f5

Browse files
committed
Merge remote-tracking branch 'upstream/master' into develop
2 parents d089af8 + 81988cc commit 39c22f5

File tree

10 files changed

+40
-67
lines changed

10 files changed

+40
-67
lines changed

keyboards/latincompass/latinpadble/config.h

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/
3030

3131
#define DIODE_DIRECTION ROW2COL
3232

33-
#define SSD1306OLED
3433
#define RGB_DI_PIN B7
3534

3635
#define RGBLED_NUM 4

keyboards/latincompass/latinpadble/keymaps/default/keymap.c

+2-15
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1515
*/
1616
#include QMK_KEYBOARD_H
17+
1718
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
1819
[0] = LAYOUT_pad(
1920
KC_PGUP,
20-
KC_KP_7, KC_KP_8, KC_KP_9, MO(1),
21+
KC_KP_7, KC_KP_8, KC_KP_9, MO(1),
2122
KC_P4, KC_P5, KC_P6, KC_KP_PLUS,
2223
KC_P1, KC_P2, KC_P3, KC_KP_MINUS,
2324
KC_P0, KC_PDOT,KC_DELETE, KC_KP_ENTER),
@@ -40,17 +41,3 @@ bool oled_task_user(void) {
4041
return false;
4142
}
4243
#endif
43-
44-
bool encoder_update_user(uint8_t index, bool clockwise) {
45-
if (index == 0) { /* First encoder */
46-
if (clockwise) {
47-
tap_code(KC_PGDN);
48-
} else {
49-
tap_code(KC_PGUP);
50-
}
51-
}
52-
return true;
53-
}
54-
55-
56-
void matrix_init_user(void) { render_logo(); }

keyboards/latincompass/latinpadble/keymaps/via/keymap.c

+20-46
Original file line numberDiff line numberDiff line change
@@ -13,49 +13,37 @@
1313
* You should have received a copy of the GNU General Public License
1414
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1515
*/
16-
/* Keymap _0: (Base Layer) Default Layer
17-
18-
* .----.
19-
* |PGUP|
20-
* |-----------------------.
21-
* | 7 | 8 | 9 | MO1 |
22-
* |-----|-----|-----|-----|
23-
* | 4 | 5 | 6 | + |
24-
* |-----|-----|-----|-----|
25-
* | 1 | 2 | 3 | — |
26-
* |-----|-----|-----|-----|
27-
* | 0 | . | DEL |Enter|
28-
* .-----------------------.
29-
*/
30-
/* Keymap _1: (Second Layer) second Layer
31-
32-
* .--------.
33-
* |NUMLOCK|
34-
* |--------------------------------.
35-
* |RGB_TOG|RGB_MOD|RGB_M_K|RGB_M_X |
36-
* |-------|-------|-------|--------|
37-
* |RGB_SAI|RGB_SAD|RGB_HUI|RGB_HUD |
38-
* |-------|-------|-------|--------|
39-
* |RGB_VAI|RGB_VAD|RGB_SPI|RGB_SPD |
40-
* |-------|-------|-------|--------|
41-
* |RGB_SPI|RGB_SPD|RGB_TOG|KC_TRNS |
42-
* .--------------------------------.
43-
*/
44-
4516
#include QMK_KEYBOARD_H
17+
4618
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4719
[0] = LAYOUT_pad(
4820
KC_PGUP,
49-
KC_KP_7, KC_KP_8, KC_KP_9, MO(1),
21+
KC_KP_7, KC_KP_8, KC_KP_9, MO(1),
5022
KC_P4, KC_P5, KC_P6, KC_KP_PLUS,
5123
KC_P1, KC_P2, KC_P3, KC_KP_MINUS,
52-
KC_P0, KC_PDOT,KC_DELETE, KC_KP_ENTER),
24+
KC_P0, KC_PDOT,KC_DELETE, KC_KP_ENTER
25+
),
5326
[1] = LAYOUT_pad(
5427
KC_NUM,
5528
RGB_TOG, RGB_MOD, RGB_M_K, RGB_M_X,
5629
RGB_SAI, RGB_SAD, RGB_HUI, RGB_HUD,
5730
RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD,
58-
RGB_SPI, RGB_SPD, RGB_TOG, KC_TRNS),
31+
RGB_SPI, RGB_SPD, RGB_TOG, KC_TRNS
32+
),
33+
[2] = LAYOUT_pad(
34+
_______,
35+
_______, _______, _______, _______,
36+
_______, _______, _______, _______,
37+
_______, _______, _______, _______,
38+
_______, _______, _______, _______
39+
),
40+
[3] = LAYOUT_pad(
41+
_______,
42+
_______, _______, _______, _______,
43+
_______, _______, _______, _______,
44+
_______, _______, _______, _______,
45+
_______, _______, _______, _______
46+
)
5947
};
6048

6149
static void render_logo(void) {
@@ -69,17 +57,3 @@ bool oled_task_user(void) {
6957
return false;
7058
}
7159
#endif
72-
73-
bool encoder_update_user(uint8_t index, bool clockwise) {
74-
if (index == 0) { /* First encoder */
75-
if (clockwise) {
76-
tap_code(KC_PGDN);
77-
} else {
78-
tap_code(KC_PGUP);
79-
}
80-
}
81-
return true;
82-
}
83-
84-
85-
void matrix_init_user(void) { render_logo(); }
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
VIA_ENABLE = yes
2-
LTO_ENABLE = yes

keyboards/latincompass/latinpadble/latinpadble.c

+9
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,12 @@
1515
*/
1616
#include "latinpadble.h"
1717

18+
bool encoder_update_kb(uint8_t index, bool clockwise) {
19+
if (!encoder_update_user(index, clockwise)) { return false; }
20+
if (clockwise) {
21+
tap_code(KC_PGDN);
22+
} else {
23+
tap_code(KC_PGUP);
24+
}
25+
return true;
26+
}

keyboards/latincompass/latinpadble/rules.mk

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ NKRO_ENABLE = no # Enable N-Key Rollover
1919
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
2020
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
2121
AUDIO_ENABLE = no # Audio output
22+
LTO_ENABLE = yes
2223

2324
BLUETOOTH_ENABLE = yes
2425
BLUETOOTH_DRIVER = BluefruitLE

keyboards/sofle/keymaps/keyhive_via/readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
![SofleKeyboard version 2.1 RGB Keyhive](https://i.imgur.com/Oa6spvZ.png)
44

5-
# Configuring VIA / Vial App
5+
# Configuring VIA
66

77
This firmware will not auto-recognize until [PR #1060](https://github.com/the-via/keyboards/pull/1060) is accepted to the VIA keyboard database. For now you must install the new layout:
88

99
1. Download [keyhive_sofle_rgb.json](https://raw.githubusercontent.com/the-via/keyboards/48372baae5ab451d752988121fa4f1dd47b2c1ce/src/sofle/keyhive_sofle_rgb.json).
1010
2. In the VIA app, select `File > Import Keymap` from the menu.
1111
3. Open the file you just downloaded.
1212

13-
**You'll have to do this every time you use VIA or Vial until the PR is accepted.**
13+
**You'll have to do this every time you use VIA until the PR is accepted.**
1414

1515
# Using with VIA
1616
* The default layouts should be loaded automatically.

keyboards/wavtype/p01_ultra/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Enter the bootloader in 3 ways:
2020

2121
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
2222
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
23-
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available (this can be set in vial!)
23+
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Copyright 2022 QMK
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#pragma once
5+
#undef RGBLIGHT_EFFECT_TWINKLE
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
VIA_ENABLE = yes
22
ENCODER_MAP_ENABLE = yes
3-
LTO_ENABLE = yes

0 commit comments

Comments
 (0)