Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into sjb/all-keyboard
Browse files Browse the repository at this point in the history
* upstream/master: (41 commits)
  Add missing DD mapping for RGB_MATRIX_DRIVER (qmk#18160)
  Refactor pianoforte for configurator (qmk#18159)
  Fix use of encoder map in mechlovin/zed65/retro66 (qmk#18158)
  Fix use of encoder map in mechlovin/foundation (qmk#18157)
  Update invalid pip install flag (qmk#18146)
  Fix use of encoder map in mechwild/clunker (qmk#18156)
  [Keyboard] Add Plywrks Lune (qmk#17057)
  [Keyboard] Add Clunker (qmk#18141)
  Use correct board files for cantor (qmk#18144)
  [Keyboard] Enable VIA - ALF X1.1 (qmk#18140)
  [Keyboard] add rgb animation handwired/swiftrax/glacier (qmk#18121)
  Update Tap Dance Example 4 (qmk#18138)
  Remove USB IDs and strings from `fungo/rev1` (qmk#18133)
  Move keyboard USB IDs and strings to data driven, pass 3 (qmk#18111)
  Add pcewing Speedo v3 keymap (qmk#18118)
  [Keymap] Add new keymap to nasu (qmk#18024)
  [Keyboard] Add ai macropad (qmk#17722)
  added keymap for kprepublic/jj40:brdlf (qmk#17961)
  [Keyboard] Add yandrstudio/nz67v2 keyboard. (qmk#17591)
  Format code according to conventions (qmk#18119)
  ...
  • Loading branch information
SjB committed Aug 27, 2022
2 parents 86704e4 + fc0bf67 commit f3c6ce9
Show file tree
Hide file tree
Showing 1,259 changed files with 8,678 additions and 3,006 deletions.
1 change: 1 addition & 0 deletions data/mappings/info_rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"MOUSE_SHARED_EP": {"info_key": "usb.shared_endpoint.mouse", "value_type": "bool"},
"LAYOUTS": {"info_key": "community_layouts", "value_type": "list"},
"LED_MATRIX_DRIVER": {"info_key": "led_matrix.driver"},
"RGB_MATRIX_DRIVER": {"info_key": "rgb_matrix.driver"},
"LTO_ENABLE": {"info_key": "build.lto", "value_type": "bool"},
"MCU": {"info_key": "processor", "warn_duplicate": false},
"MOUSEKEY_ENABLE": {"info_key": "mouse_key.enabled", "value_type": "bool"},
Expand Down
2 changes: 1 addition & 1 deletion data/templates/keyboard/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Enter the bootloader in 3 ways:

* **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 - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
2 changes: 1 addition & 1 deletion docs/data_driven_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You will then need to add support for your new configuration to `info.json`. The

1. Add it to the schema in `data/schemas/keyboards.jsonschema`
1. Add a mapping in `data/maps`
1. (optional and discoraged) Add code to extract/generate it to:
1. (optional and discouraged) Add code to extract/generate it to:
* `lib/python/qmk/info.py`
* `lib/python/qmk/cli/generate/config_h.py`
* `lib/python/qmk/cli/generate/rules_mk.py`
Expand Down
8 changes: 5 additions & 3 deletions docs/feature_tap_dance.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ void x_finished(qk_tap_dance_state_t *state, void *user_data) {
// Last case is for fast typing. Assuming your key is `f`:
// For example, when typing the word `buffer`, and you want to make sure that you send `ff` and not `Esc`.
// In order to type `ff` when typing fast, the next character will have to be hit within the `TAPPING_TERM`, which by default is 200ms.
case TD_DOUBLE_SINGLE_TAP: tap_code(KC_X); register_code(KC_X);
case TD_DOUBLE_SINGLE_TAP: tap_code(KC_X); register_code(KC_X); break;
default: break;
}
}

Expand All @@ -314,8 +315,9 @@ void x_reset(qk_tap_dance_state_t *state, void *user_data) {
case TD_SINGLE_TAP: unregister_code(KC_X); break;
case TD_SINGLE_HOLD: unregister_code(KC_LCTL); break;
case TD_DOUBLE_TAP: unregister_code(KC_ESC); break;
case TD_DOUBLE_HOLD: unregister_code(KC_LALT);
case TD_DOUBLE_SINGLE_TAP: unregister_code(KC_X);
case TD_DOUBLE_HOLD: unregister_code(KC_LALT); break;
case TD_DOUBLE_SINGLE_TAP: unregister_code(KC_X); break;
default: break;
}
xtap_state.state = TD_NONE;
}
Expand Down
5 changes: 4 additions & 1 deletion docs/squeezing_avr.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ If you've done all of this, and your firmware is still too large, then it's time
That said, there are a number of Pro Micro replacements with ARM controllers:
* [Proton C](https://qmk.fm/proton-c/) (out of stock)
* [Bonsai C](https://github.com/customMK/Bonsai-C) (Open Source, DIY/PCBA)
* [Raspberry Pi 2040](https://www.sparkfun.com/products/18288) (not currently supported, no ETA)
* [STeMCell](https://github.com/megamind4089/STeMCell) (Open Source, DIY/PCBA)
* [Adafruit KB2040](https://learn.adafruit.com/adafruit-kb2040)
* [SparkFun Pro Micro - RP2040](https://www.sparkfun.com/products/18288)
* [Blok](https://boardsource.xyz/store/628b95b494dfa308a6581622)

There are other, non-Pro Micro compatible boards out there. The most popular being:
* [WeAct Blackpill F411](https://www.aliexpress.com/item/1005001456186625.html) (~$6 USD)
2 changes: 1 addition & 1 deletion keyboards/0xc7/61key/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Enter the bootloader in 3 ways:

* **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 - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
2 changes: 1 addition & 1 deletion keyboards/1upkeyboards/super16v2/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ Enter the bootloader in 3 ways:

* **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 - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
2 changes: 1 addition & 1 deletion keyboards/40percentclub/polyandry/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the top left key of the keyboard (top right or bottom left in horizontal configuration)
* **Physical reset**: Briefly press the button on the bottom of the microcontroller or, if not present short the pin marked RST to a GND.
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

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).
2 changes: 1 addition & 1 deletion keyboards/a_dux/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the top left key on the left half (or the top right right key on the right half) and plug in the controller on that side.
* **Physical reset pins**: Briefly short the RST and GND pins on the microcontroller using tweezers, a paperclip, or any other conductive material.
* **Keycode in layout**: Press the key mapped to `RESET` if it is configured.
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is configured.

2 changes: 1 addition & 1 deletion keyboards/acheron/apollo/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The DFU state in the bootloader can be accessed in 3 ways:

* **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**: press the physical button on the back of the PCB for at least five seconds
* **Keycode in layout**: Press the key mapped to `RESET` if it is available (ESC key at layer 1 in the default layout)
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available (ESC key at layer 1 in the default layout)

### Step 2: compile firmware

Expand Down
2 changes: 1 addition & 1 deletion keyboards/acheron/elongate/beta/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The DFU state in the bootloader can be accessed in 3 ways:

* **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**: press the button on the front of the PCB.
* **Keycode in layout**: Press the key mapped to `RESET` if it is available.
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available.

## Compile firmware

Expand Down
2 changes: 1 addition & 1 deletion keyboards/acheron/elongate/delta/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The DFU state in the bootloader can be accessed in 3 ways:

* **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**: press the button on the front of the PCB, next to caps lock, for at least five seconds
* **Keycode in layout**: Press the key mapped to `RESET` if it is available (escape key at layer 2 in the default firmware)
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available (escape key at layer 2 in the default firmware)

## Compile firmware

Expand Down
4 changes: 2 additions & 2 deletions keyboards/acheron/shark/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ The DFU state in the bootloader can be accessed in 2 ways:

* **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**: press the button on the back of the PCB
* **Keycode in layout**: press the key mapped to `RESET` if it is available (ESC key at layer 1 in the default layout)
* **Keycode in layout**: press the key mapped to `QK_BOOT` if it is available (ESC key at layer 1 in the default layout)

### Release Beta:

The DFU state in the bootloader can be accessed in 3 ways:

* **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**: press the button on the back of the PCB, for at least five seconds
* **Keycode in layout**: press the key mapped to `RESET` if it is available (ESC key at layer 1 in the default layout)
* **Keycode in layout**: press the key mapped to `QK_BOOT` if it is available (ESC key at layer 1 in the default layout)

## Compile firmware

Expand Down
2 changes: 1 addition & 1 deletion keyboards/ada/ada1800mini/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Enter the bootloader in 3 ways:

* **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
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
2 changes: 1 addition & 1 deletion keyboards/ada/infinity81/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Enter the bootloader in 3 ways:

* **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
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
2 changes: 1 addition & 1 deletion keyboards/adm42/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to

Enter the bootloader in 3 ways:

* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (the top left key) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB
2 changes: 1 addition & 1 deletion keyboards/adpenrose/kintsugi/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Enter the bootloader in 3 ways:

* **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 front of the Elite-C microcontroller _**before soldering**_ it to the PCB- some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
20 changes: 20 additions & 0 deletions keyboards/ai/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright 2022 Louis Dalibard (@make42)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
51 changes: 51 additions & 0 deletions keyboards/ai/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"manufacturer": "Louis Dalibard",
"keyboard_name": "ai",
"maintainer": "make42",
"bootloader": "caterina",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1"],
"rows": ["D0", "D4", "C6", "D7", "D1"]
},
"processor": "atmega32u4",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT_ai_5x4_1": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0.5 },
{ "matrix": [0, 1], "x": 1, "y": 0 },
{ "matrix": [0, 2], "x": 2, "y": 0.3 },
{ "matrix": [0, 3], "x": 3, "y": 0.7 },
{ "matrix": [1, 0], "x": 0, "y": 1.5 },
{ "matrix": [1, 1], "x": 1, "y": 1 },
{ "matrix": [1, 2], "x": 2, "y": 1.3 },
{ "matrix": [1, 3], "x": 3, "y": 1.7 },
{ "matrix": [2, 0], "x": 0, "y": 2.5 },
{ "matrix": [2, 1], "x": 1, "y": 2 },
{ "matrix": [2, 2], "x": 2, "y": 2.3 },
{ "matrix": [2, 3], "x": 3, "y": 2.7 },
{ "matrix": [3, 0], "x": 0, "y": 3.5 },
{ "matrix": [3, 1], "x": 1, "y": 3 },
{ "matrix": [3, 2], "x": 2, "y": 3.3 },
{ "matrix": [3, 3], "x": 3, "y": 3.7 },
{ "matrix": [4, 1], "x": 2.5, "y": 5 },
{ "matrix": [4, 2], "x": 3.5, "y": 4.8 },
{ "matrix": [4, 3], "x": 4.5, "y": 4.6 }
]
}
}
}
24 changes: 24 additions & 0 deletions keyboards/ai/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┐
* │Tab│ Q │ W │ E │
* ├───┼───┼───┼───┤
* │Bsp│ R │ T │ A │
* ├───┼───┼───┼───┤
* │Sft│ S │ D │ F │
* ├───┼───┼───┼───┤
* │Ctl│ Z │ X │ C │
* ├───┼───┼───┼───┤
* │NaN│App│GUI│Alt│
* └───┴───┴───┴───┘
*/
[0] = LAYOUT_ai_5x4_1(
KC_TAB, KC_Q, KC_W, KC_E,
KC_BSPC, KC_R, KC_T, KC_A,
KC_LSFT, KC_S, KC_D, KC_F,
KC_LCTL, KC_Z, KC_X, KC_C,
KC_MENU, KC_LGUI, KC_LALT
)
};
34 changes: 34 additions & 0 deletions keyboards/ai/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# ai

![ai](https://i.imgur.com/4l6BzRh.png)

This is a small open source 5x4-1 macropad powered by QMK

* Keyboard Maintainer: [Louis Dalibard](https://github.com/make42)
* Hardware Supported: The PCB for ai is located here: [ai](https://github.com/make42/ai)
* Hardware Availability: Here is a complete BOM with links to where you can find parts:
* PCB (I personally used JLCPCB)
* Arduino Pro Micro ([Aliexpress](https://fr.aliexpress.com/item/32768308647.html?spm=a2g0o.order_list.0.0.3ccc5e5bU64POK&gatewayAdapt=glo2fra))
* Female pin rows ([Aliexpress]https://fr.aliexpress.com/item/4001122376295.html?spm=a2g0o.order_list.0.0.23845e5bTBt8sp&gatewayAdapt=glo2fra))
* Gateron hotswap sockets ([Aliexpress](https://fr.aliexpress.com/item/1005003129613578.html?spm=a2g0o.order_list.0.0.23845e5bTBt8sp&gatewayAdapt=glo2fra))
* Zener diodes ([Aliexpress](https://fr.aliexpress.com/item/1005003276184193.html?spm=a2g0o.order_list.0.0.23845e5bTBt8sp&gatewayAdapt=glo2fra))
* Keyswitches (use a compatible MX switch)
* Keycaps (Duh)

Make example for this keyboard (after setting up your build environment):

make ai:default

Flashing example for this keyboard:

make ai: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

Enter the bootloader in 3 ways:

- **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 - some may have pads you must short instead
- **Keycode in layout**: Press the key mapped to `RESET` if it is available
1 change: 1 addition & 0 deletions keyboards/ai/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
2 changes: 1 addition & 1 deletion keyboards/ai03/jp60/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Enter the bootloader in 3 ways:

* **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 - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
2 changes: 1 addition & 1 deletion keyboards/akb/ogr/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Enter the bootloader in 3 ways:

* **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 - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
2 changes: 1 addition & 1 deletion keyboards/akb/ogrn/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Enter the bootloader in 3 ways:

* **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 - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
8 changes: 4 additions & 4 deletions keyboards/alf/x11/info.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"keyboard_name": "x11",
"manufacturer": "Alf",
"keyboard_name": "X1.1",
"manufacturer": "ALF",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0xFEED",
"pid": "0x0000",
"vid": "0x4146",
"pid": "0x0001",
"device_version": "0.0.1"
},
"layouts": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/alf/x11/keymaps/default/readme.md

This file was deleted.

Loading

0 comments on commit f3c6ce9

Please sign in to comment.