Skip to content

Commit 60fb7b7

Browse files
committed
Merge remote-tracking branch 'upstream/master'
* upstream/master: (40 commits) Check for multiple matrix positions assigned to same key (qmk#20039) [Documentation] Pointing device minor rewrite (qmk#19641) Bump actions/stale from 7 to 8 (qmk#20246) Add CannonKeys Bakeneko65 Hotswap ISO PCB to QMK (qmk#20131) [Keyboard]Viktus Minne - Topre variant (qmk#20044) [keyboard] Correcting info.JSON for Viktus Minne (qmk#20244) EC ProX PCB (qmk#20047) EC 23U PCB (qmk#20049) EC 60 PCB (qmk#20050) [jacky_studio/piggy60] warn about incompatible PCB rev (qmk#20232) [Keyboard] Fix tata80 wkl layout (qmk#20195) [Keyboard] Ymd09 config updates (qmk#20124) [Keyboard] Add Geistmaschine Geist (qmk#20117) [Keyboard] Add via support for jotanck keyboard (qmk#20146) fixup: correct filename (qmk#20212) Adding Bad Wings Support (qmk#20153) [Keyboard] update creek70 change rgb num (qmk#20196) [Keyboard] Add tiny board 16 rgb keyboard (qmk#20158) [Keyboard] Olly Orion: Disable SWD and JTAG (qmk#20169) [Keyboard] OSAv2 (qmk#20166) ...
2 parents 5923f28 + d6ce42a commit 60fb7b7

File tree

246 files changed

+10286
-654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+10286
-654
lines changed

.github/workflows/ci_builds.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
strategy:
2121
matrix:
2222
keymap: [default, via]
23-
keyboard_folder: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z]
2423

2524
container: qmkfm/qmk_cli
2625

@@ -35,13 +34,13 @@ jobs:
3534
- name: Install dependencies
3635
run: pip3 install -r requirements.txt
3736

38-
- name: Run `qmk mass-compile` (keyboards ${{ matrix.keyboard_folder }}*, keymap ${{ matrix.keymap }})
39-
run: qmk mass-compile -j $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) -km ${{ matrix.keymap }} -f 'keyboard_folder=${{ matrix.keyboard_folder }}*'
37+
- name: Run `qmk mass-compile` (keymap ${{ matrix.keymap }})
38+
run: qmk mass-compile -j $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) -km ${{ matrix.keymap }}
4039

4140
- name: 'Upload binaries'
4241
uses: actions/upload-artifact@v3
4342
with:
44-
name: binaries-${{ matrix.keyboard_folder }}-${{ matrix.keymap }}
43+
name: binaries-${{ matrix.keymap }}
4544
if-no-files-found: ignore
4645
path: |
4746
*.bin

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
stale:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/stale@v7
16+
- uses: actions/stale@v8
1717
with:
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
1919

docs/cli_commands.md

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ qmk compile [-c] <configuratorExport.json>
2020
qmk compile [-c] [-e <var>=<value>] [-j <num_jobs>] -kb <keyboard_name> -km <keymap_name>
2121
```
2222

23-
**Usage in Keyboard Directory**:
23+
**Usage in Keyboard Directory**:
2424

2525
Must be in keyboard directory with a default keymap, or in keymap directory for keyboard, or supply one with `--keymap <keymap_name>`
2626
```
@@ -44,7 +44,7 @@ $ qmk compile
4444
or with optional keymap argument
4545

4646
```
47-
$ cd ~/qmk_firmware/keyboards/clueboard/66/rev4
47+
$ cd ~/qmk_firmware/keyboards/clueboard/66/rev4
4848
$ qmk compile -km 66_iso
4949
Ψ Compiling keymap with make clueboard/66/rev4:66_iso
5050
...
@@ -58,7 +58,7 @@ $ qmk compile
5858
...
5959
```
6060

61-
**Usage in Layout Directory**:
61+
**Usage in Layout Directory**:
6262

6363
Must be under `qmk_firmware/layouts/`, and in a keymap folder.
6464
```
@@ -149,6 +149,34 @@ To exit out into the parent shell, simply type `exit`.
149149
qmk cd
150150
```
151151

152+
## `qmk find`
153+
154+
This command allows for searching through keyboard/keymap targets, filtering by specific criteria. `info.json` and `rules.mk` files contribute to the search data, as well as keymap configurations, and the results can be filtered using "dotty" syntax matching the overall `info.json` file format.
155+
156+
For example, one could search for all keyboards using STM32F411:
157+
158+
```
159+
qmk find -f 'processor=STM32F411'
160+
```
161+
162+
...and one can further constrain the list to keyboards using STM32F411 as well as rgb_matrix support:
163+
164+
```
165+
qmk find -f 'processor=STM32F411' -f 'features.rgb_matrix=true'
166+
```
167+
168+
**Usage**:
169+
170+
```
171+
qmk find [-h] [-km KEYMAP] [-f FILTER]
172+
173+
options:
174+
-km KEYMAP, --keymap KEYMAP
175+
The keymap name to build. Default is 'default'.
176+
-f FILTER, --filter FILTER
177+
Filter the list of keyboards based on the supplied value in rules.mk. Matches info.json structure, and accepts the formats 'features.rgblight=true' or 'exists(matrix_pins.direct)'. May be passed multiple times, all filters need to match. Value may include wildcards such as '*' and '?'.
178+
```
179+
152180
## `qmk console`
153181

154182
This command lets you connect to keyboard consoles to get debugging messages. It only works if your keyboard firmware has been compiled with `CONSOLE_ENABLE=yes`.
@@ -269,7 +297,8 @@ qmk json2c [-o OUTPUT] filename
269297

270298
## `qmk c2json`
271299

272-
Creates a keymap.json from a keymap.c.
300+
Creates a keymap.json from a keymap.c.
301+
273302
**Note:** Parsing C source files is not easy, therefore this subcommand may not work with your keymap. In some cases not using the C pre-processor helps.
274303

275304
**Usage**:
@@ -442,7 +471,7 @@ $ qmk import-kbfirmware ~/Downloads/gh62.json
442471

443472
## `qmk format-text`
444473

445-
This command formats text files to have proper line endings.
474+
This command formats text files to have proper line endings.
446475

447476
Every text file in the repository needs to have Unix (LF) line ending.
448477
If you are working on **Windows**, you must ensure that line endings are corrected in order to get your PRs merged.
@@ -453,7 +482,7 @@ qmk format-text
453482

454483
## `qmk format-c`
455484

456-
This command formats C code using clang-format.
485+
This command formats C code using clang-format.
457486

458487
Run it with no arguments to format all core code that has been changed. Default checks `origin/master` with `git diff`, branch can be changed using `-b <branch_name>`
459488

@@ -556,7 +585,7 @@ qmk kle2json [-f] <filename>
556585
**Examples**:
557586

558587
```
559-
$ qmk kle2json kle.txt
588+
$ qmk kle2json kle.txt
560589
☒ File info.json already exists, use -f or --force to overwrite.
561590
```
562591

docs/feature_pointing_device.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ To use the ADNS 5050 sensor, add this to your `rules.mk`
2020
POINTING_DEVICE_DRIVER = adns5050
2121
```
2222

23-
The ADNS 5050 sensor uses a serial type protocol for communication, and requires an additional light source.
23+
The ADNS 5050 sensor uses a serial type protocol for communication, and requires an additional light source.
2424

25-
| Setting | Description | Default |
26-
| ------------------- | ------------------------------------------------------------------ | -------------------------- |
27-
| `ADNS5050_SCLK_PIN` | (Required) The pin connected to the clock pin of the sensor. | `POINTING_DEVICE_SCLK_PIN` |
28-
| `ADNS5050_SDIO_PIN` | (Required) The pin connected to the data pin of the sensor. | `POINTING_DEVICE_SDIO_PIN` |
29-
| `ADNS5050_CS_PIN` | (Required) The pin connected to the Chip Select pin of the sensor. | `POINTING_DEVICE_CS_PIN` |
25+
| Setting (`config.h`) | Description | Default |
26+
| -------------------- | ------------------------------------------------------------------ | -------------------------- |
27+
| `ADNS5050_SCLK_PIN` | (Required) The pin connected to the clock pin of the sensor. | `POINTING_DEVICE_SCLK_PIN` |
28+
| `ADNS5050_SDIO_PIN` | (Required) The pin connected to the data pin of the sensor. | `POINTING_DEVICE_SDIO_PIN` |
29+
| `ADNS5050_CS_PIN` | (Required) The pin connected to the Chip Select pin of the sensor. | `POINTING_DEVICE_CS_PIN` |
3030

3131

3232

@@ -40,9 +40,9 @@ To use the ADNS 9800 sensor, add this to your `rules.mk`
4040
POINTING_DEVICE_DRIVER = adns9800
4141
```
4242

43-
The ADNS 9800 is an SPI driven optical sensor, that uses laser output for surface tracking.
43+
The ADNS 9800 is an SPI driven optical sensor, that uses laser output for surface tracking.
4444

45-
| Setting | Description | Default |
45+
| Setting (`config.h`) | Description | Default |
4646
| ----------------------- | ---------------------------------------------------------------------- | ------------------------ |
4747
| `ADNS9800_CLOCK_SPEED` | (Optional) Sets the clock speed that the sensor runs at. | `2000000` |
4848
| `ADNS9800_SPI_LSBFIRST` | (Optional) Sets the Least/Most Significant Byte First setting for SPI. | `false` |
@@ -63,7 +63,7 @@ POINTING_DEVICE_DRIVER = analog_joystick
6363

6464
The Analog Joystick is an analog (ADC) driven sensor. There are a variety of joysticks that you can use for this.
6565

66-
| Setting | Description | Default |
66+
| Setting (`config.h`) | Description | Default |
6767
| --------------------------------- | -------------------------------------------------------------------------- | ------------- |
6868
| `ANALOG_JOYSTICK_X_AXIS_PIN` | (Required) The pin used for the vertical/X axis. | _not defined_ |
6969
| `ANALOG_JOYSTICK_Y_AXIS_PIN` | (Required) The pin used for the horizontal/Y axis. | _not defined_ |
@@ -153,7 +153,7 @@ Additionally, `POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE` is supported in thi
153153

154154
#### Relative mode gestures
155155

156-
| Gesture Setting | Description | Default |
156+
| Gesture Setting (`config.h`) | Description | Default |
157157
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
158158
| `CIRQUE_PINNACLE_TAP_ENABLE` | (Optional) Enable tap to "left click". Works on both sides of a split keyboard. | _not defined_ |
159159
| `CIRQUE_PINNACLE_SECONDARY_TAP_ENABLE` | (Optional) Tap in upper right corner (half of the finger needs to be outside of the trackpad) of the trackpad will result in "right click". `CIRQUE_PINNACLE_TAP_ENABLE` must be enabled. | _not defined_ |
@@ -172,10 +172,10 @@ POINTING_DEVICE_DRIVER = paw3204
172172

173173
The paw 3204 sensor uses a serial type protocol for communication, and requires an additional light source.
174174

175-
| Setting | Description | Default |
176-
| ------------------ |--------------------------------------------------------------- | -------------------------- |
177-
| `PAW3204_SCLK_PIN` | (Required) The pin connected to the clock pin of the sensor. | `POINTING_DEVICE_SCLK_PIN` |
178-
| `PAW3204_SDIO_PIN` | (Required) The pin connected to the data pin of the sensor. | `POINTING_DEVICE_SDIO_PIN` |
175+
| Setting (`config.h`) | Description | Default |
176+
| -------------------- |--------------------------------------------------------------- | -------------------------- |
177+
| `PAW3204_SCLK_PIN` | (Required) The pin connected to the clock pin of the sensor. | `POINTING_DEVICE_SCLK_PIN` |
178+
| `PAW3204_SDIO_PIN` | (Required) The pin connected to the data pin of the sensor. | `POINTING_DEVICE_SDIO_PIN` |
179179

180180
The CPI range is 400-1600, with supported values of (400, 500, 600, 800, 1000, 1200 and 1600). Defaults to 1000 CPI.
181181

@@ -189,7 +189,7 @@ POINTING_DEVICE_DRIVER = pimoroni_trackball
189189

190190
The Pimoroni Trackball module is a I2C based breakout board with an RGB enable trackball.
191191

192-
| Setting | Description | Default |
192+
| Setting (`config.h`) | Description | Default |
193193
| ------------------------------------ | ---------------------------------------------------------------------------------- | ------- |
194194
| `PIMORONI_TRACKBALL_ADDRESS` | (Required) Sets the I2C Address for the Pimoroni Trackball. | `0x0A` |
195195
| `PIMORONI_TRACKBALL_TIMEOUT` | (Optional) The timeout for i2c communication with the trackball in milliseconds. | `100` |
@@ -220,7 +220,7 @@ The CPI range is 50-16000, in increments of 50. Defaults to 2000 CPI.
220220
Both PMW 3360 and PMW 3389 are SPI driven optical sensors, that use a built in IR LED for surface tracking.
221221
If you have different CS wiring on each half you can use `PMW33XX_CS_PIN_RIGHT` or `PMW33XX_CS_PINS_RIGHT` in combination with `PMW33XX_CS_PIN` or `PMW33XX_CS_PINS` to configure both sides independently. If `_RIGHT` values aren't provided, they default to be the same as the left ones.
222222

223-
| Setting | Description | Default |
223+
| Setting (`config.h`) | Description | Default |
224224
| ---------------------------- | ------------------------------------------------------------------------------------------- | ------------------------ |
225225
| `PMW33XX_CS_PIN` | (Required) Sets the Chip Select pin connected to the sensor. | `POINTING_DEVICE_CS_PIN` |
226226
| `PMW33XX_CS_PINS` | (Alternative) Sets the Chip Select pins connected to multiple sensors. | `{PMW33XX_CS_PIN}` |

keyboards/1upkeyboards/pi40/config.h

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,14 @@
33

44
#pragma once
55

6-
7-
#define DYNAMIC_KEYMAP_LAYER_COUNT 10
8-
9-
#ifdef OLED_ENABLE
10-
# define OLED_DISPLAY_128X32
6+
#define OLED_DISPLAY_128X32
117
#define I2C1_SCL_PIN GP17
128
#define I2C1_SDA_PIN GP16
139
#define I2C_DRIVER I2CD0
1410
#define OLED_BRIGHTNESS 128
1511
#define OLED_FONT_H "keyboards/1upkeyboards/pi40/lib/glcdfont.c"
16-
#endif
17-
18-
#define DIODE_DIRECTION COL2ROW
19-
20-
#define MATRIX_ROW_PINS { GP21, GP20, GP19, GP18 }
21-
#define MATRIX_COL_PINS { GP1, GP2, GP3, GP4, GP5, GP6, GP7, GP8, GP9, GP10, GP11, GP12 }
2212

2313
#define RGB_DI_PIN GP0
24-
#define RGB_MATRIX_LED_COUNT 47
25-
#define RGBLED_NUM 47
2614
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
2715
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
2816
# define RGBLIGHT_LIMIT_VAL 150
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright 2022 ziptyze (@ziptyze)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#pragma once
5+
6+
#define RGB_MATRIX_LED_COUNT 48

0 commit comments

Comments
 (0)