summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/feature_rgblight.md2
-rw-r--r--docs/ja/_summary.md4
-rw-r--r--docs/ja/custom_matrix.md114
-rw-r--r--keyboards/ai03/polaris/info.json142
-rw-r--r--keyboards/ai03/polaris/polaris.h30
-rw-r--r--keyboards/ai03/polaris/rules.mk2
-rw-r--r--keyboards/choco60/keymaps/default/keymap.c20
-rw-r--r--keyboards/flx/lodestone/config.h70
-rw-r--r--keyboards/flx/lodestone/info.json84
-rw-r--r--keyboards/flx/lodestone/keymaps/default/keymap.c20
-rw-r--r--keyboards/flx/lodestone/keymaps/default/readme.md1
-rw-r--r--keyboards/flx/lodestone/keymaps/via/keymap.c37
-rw-r--r--keyboards/flx/lodestone/keymaps/via/readme.md1
-rw-r--r--keyboards/flx/lodestone/keymaps/via/rules.mk1
-rw-r--r--keyboards/flx/lodestone/lodestone.c (renamed from keyboards/m0lly/keymaps/default/config.h)11
-rw-r--r--keyboards/flx/lodestone/lodestone.h37
-rw-r--r--keyboards/flx/lodestone/readme.md13
-rw-r--r--keyboards/flx/lodestone/rules.mk33
-rw-r--r--keyboards/handwired/onekey/keymaps/i2c_scanner/config.h6
-rw-r--r--keyboards/handwired/onekey/keymaps/i2c_scanner/keymap.c66
-rw-r--r--keyboards/handwired/onekey/keymaps/i2c_scanner/readme.md36
-rw-r--r--keyboards/handwired/onekey/keymaps/i2c_scanner/rules.mk3
-rw-r--r--keyboards/handwired/sick68/config.h254
-rw-r--r--keyboards/handwired/sick68/info.json86
-rw-r--r--keyboards/handwired/sick68/keymaps/default/keymap.c81
-rw-r--r--keyboards/handwired/sick68/keymaps/default/readme.md1
-rw-r--r--keyboards/handwired/sick68/readme.md15
-rw-r--r--keyboards/handwired/sick68/rules.mk34
-rw-r--r--keyboards/handwired/sick68/sick68.c17
-rw-r--r--keyboards/handwired/sick68/sick68.h62
-rw-r--r--keyboards/keebio/iris/keymaps/fsck/config.h28
-rw-r--r--keyboards/keebio/iris/keymaps/fsck/keymap.c40
-rw-r--r--keyboards/keebio/iris/keymaps/fsck/readme.md3
-rw-r--r--keyboards/kyria/keymaps/corodiak/config.h45
-rw-r--r--keyboards/kyria/keymaps/corodiak/keymap.c321
-rw-r--r--keyboards/kyria/keymaps/corodiak/rules.mk4
-rw-r--r--keyboards/lazydesigners/dimple/config.h2
-rw-r--r--keyboards/lazydesigners/dimple/keymaps/via/keymap.c23
-rw-r--r--keyboards/lazydesigners/dimple/keymaps/via/rules.mk10
-rw-r--r--keyboards/lazydesigners/the30/config.h2
-rw-r--r--keyboards/lazydesigners/the50/config.h2
-rw-r--r--keyboards/lazydesigners/the60/config.h2
-rw-r--r--keyboards/m0lly/config.h5
-rw-r--r--keyboards/m0lly/i2c.c166
-rw-r--r--keyboards/m0lly/i2c.h49
-rw-r--r--keyboards/m0lly/keymaps/default/keymap.c101
-rw-r--r--keyboards/m0lly/rules.mk8
-rw-r--r--keyboards/massdrop/alt/keymaps/emptyflask/README.md14
-rw-r--r--keyboards/massdrop/alt/keymaps/emptyflask/config.h3
-rw-r--r--keyboards/massdrop/alt/keymaps/emptyflask/keymap.c292
-rw-r--r--keyboards/projectkb/alice/config.h3
-rw-r--r--keyboards/projectkb/alice/keymaps/via/keymap.c56
-rw-r--r--keyboards/projectkb/alice/keymaps/via/rules.mk1
-rw-r--r--keyboards/splitreus62/config.h77
-rw-r--r--keyboards/splitreus62/info.json12
-rw-r--r--keyboards/splitreus62/keymaps/default/keymap.c50
-rw-r--r--keyboards/splitreus62/readme.md13
-rw-r--r--keyboards/splitreus62/rules.mk35
-rw-r--r--keyboards/splitreus62/splitreus62.c1
-rw-r--r--keyboards/splitreus62/splitreus62.h26
-rw-r--r--keyboards/tkc1800/config.h4
-rw-r--r--keyboards/tkc1800/keymaps/via/config.h1
-rw-r--r--keyboards/tkc1800/keymaps/via/keymap.c159
-rw-r--r--keyboards/tkc1800/keymaps/via/rules.mk1
-rw-r--r--keyboards/tkc1800/rules.mk6
-rw-r--r--keyboards/uranuma/config.h236
-rw-r--r--keyboards/uranuma/info.json63
-rw-r--r--keyboards/uranuma/keymaps/default/keymap.c65
-rw-r--r--keyboards/uranuma/readme.md15
-rw-r--r--keyboards/uranuma/rules.mk36
-rw-r--r--keyboards/uranuma/uranuma.c1
-rw-r--r--keyboards/uranuma/uranuma.h26
-rw-r--r--keyboards/wheatfield/blocked65/blocked65.c1
-rw-r--r--keyboards/wheatfield/blocked65/blocked65.h18
-rw-r--r--keyboards/wheatfield/blocked65/config.h61
-rw-r--r--keyboards/wheatfield/blocked65/info.json12
-rw-r--r--keyboards/wheatfield/blocked65/keymaps/default/keymap.c31
-rw-r--r--keyboards/wheatfield/blocked65/readme.md13
-rw-r--r--keyboards/wheatfield/blocked65/rules.mk35
-rwxr-xr-xlib/python/qmk/cli/json/keymap.py2
-rw-r--r--quantum/keymap_extras/keymap_dvp.h181
-rw-r--r--quantum/keymap_extras/keymap_uk.h339
-rw-r--r--quantum/keymap_extras/sendstring_dvp.h80
-rw-r--r--quantum/keymap_extras/sendstring_uk.h4
-rw-r--r--tmk_core/avr.mk24
-rw-r--r--tmk_core/chibios.mk24
-rw-r--r--users/alfrdmalr/alfrdmalr.h8
87 files changed, 3512 insertions, 611 deletions
diff --git a/docs/feature_rgblight.md b/docs/feature_rgblight.md
index a000241f8b..cf54dddfb7 100644
--- a/docs/feature_rgblight.md
+++ b/docs/feature_rgblight.md
@@ -228,6 +228,8 @@ bool led_update_user(led_t led_state) {
}
```
+Note: For split keyboards with two controllers, both sides need to be flashed when updating the contents of rgblight_layers.
+
## Functions
If you need to change your RGB lighting in code, for example in a macro to change the color whenever you switch layers, QMK provides a set of functions to assist you. See [`rgblight.h`](https://github.com/qmk/qmk_firmware/blob/master/quantum/rgblight.h) for the full list, but the most commonly used functions include:
diff --git a/docs/ja/_summary.md b/docs/ja/_summary.md
index 8091781e8a..6f4c14f4c7 100644
--- a/docs/ja/_summary.md
+++ b/docs/ja/_summary.md
@@ -78,7 +78,7 @@
* [キーロック](ja/feature_key_lock.md)
* [レイアウト](ja/feature_layouts.md)
* [リーダー キー](ja/feature_leader_key.md)
- * [LED マトリクス](ja/feature_led_matrix.md)
+ * [LED マトリックス](ja/feature_led_matrix.md)
* [マクロ](ja/feature_macros.md)
* [マウスキー](ja/feature_mouse_keys.md)
* [OLED ドライバ](ja/feature_oled_driver.md)
@@ -86,7 +86,7 @@
* [ポインティング デバイス](ja/feature_pointing_device.md)
* [PS/2 マウス](ja/feature_ps2_mouse.md)
* [RGB ライト](ja/feature_rgblight.md)
- * [RGB マトリクス](ja/feature_rgb_matrix.md)
+ * [RGB マトリックス](ja/feature_rgb_matrix.md)
* [Space Cadet](ja/feature_space_cadet.md)
* [分割キーボード](ja/feature_split_keyboard.md)
* [Stenography](ja/feature_stenography.md)
diff --git a/docs/ja/custom_matrix.md b/docs/ja/custom_matrix.md
new file mode 100644
index 0000000000..f333711e63
--- /dev/null
+++ b/docs/ja/custom_matrix.md
@@ -0,0 +1,114 @@
+# カスタムマトリックス
+
+<!---
+ grep --no-filename "^[ ]*git diff" docs/ja/*.md | sh
+ original document: 0.8.46:docs/custom_matrix.md
+ git diff 0.8.46 HEAD -- docs/custom_matrix.md | cat
+-->
+
+QMKは、デフォルトのマトリックススキャンルーチンを独自のコードで部分的に入れ替えたり全部入れ替えたりしたりするメカニズムを提供します。
+
+この機能を使用する理由は次のとおりです:
+
+* キーボードのスイッチと MCU ピンの間に追加のハードウェアがある場合
+ * I/O マルチプレクサ
+ * ラインデコーダー
+* 一般的ではないキースイッチマトリックス
+ * `COL2ROW` と `ROW2COL` の同時使用
+
+## 前提条件
+
+カスタムマトリックスの実装には、通常、追加のソースファイルのコンパイルが含まれます。
+一貫性を保つために、このソースファイルのファイル名は `matrix.c` とすることをお勧めします。
+
+あなたのキーボードディレクトリに新しいファイルを追加します:
+```text
+keyboards/<keyboard>/matrix.c
+```
+
+そして、新しいファイルのコンパイルを指定するため、以下を `rules.mk` に追加します
+```make
+SRC += matrix.c
+```
+
+## マトリックスコードの部分置き換え
+
+カスタムマトリックスを実装する際、定型コードを書かなくてすむように、さまざまなスキャン関数のデフォルト実装を提供しています。
+
+設定するには、以下を `rules.mk` に追加します:
+```make
+CUSTOM_MATRIX = lite
+```
+
+そして、キーボードディレクトリの `matrix.c` ファイルに次の関数を実装します。
+
+```c
+void matrix_init_custom(void) {
+ // TODO: ここでハードウェアの初期化をする
+}
+
+bool matrix_scan_custom(matrix_row_t current_matrix[]) {
+ bool matrix_has_changed = false;
+
+ // TODO: ここで、マトリックススキャンを行なう
+
+ return matrix_has_changed;
+}
+```
+
+## マトリックスコードの全面置き換え
+
+スキャンルーチンをさらに変更する必要がある場合は、完全なスキャンルーチンを実装することを選択できます。
+
+設定するには、以下を `rules.mk` に追加します:
+```make
+CUSTOM_MATRIX = yes
+```
+
+そして、キーボードディレクトリの `matrix.c` ファイルに次の関数を実装します。
+
+```c
+matrix_row_t matrix_get_row(uint8_t row) {
+ // TODO: 要求された行データを返します
+}
+
+void matrix_print(void) {
+ // TODO: printf() を使って現在のマトリックスの状態をコンソールにダンプします
+}
+
+void matrix_init(void) {
+ // TODO: ここでハードウェアとグローバルマトリックスの状態を初期化します
+
+ // ハードウェアによるデバウンスがない場合 - 設定されているデバウンスルーチンを初期化します
+ debounce_init(MATRIX_ROWS);
+
+ // 正しいキーボード動作のためにこれを呼び出す*必要があります*
+ matrix_init_quantum();
+}
+
+uint8_t matrix_scan(void) {
+ bool matrix_has_changed = false;
+
+ // TODO: ここにマトリックススキャンルーチンを追加します
+
+ // ハードウェアによるデバウンスがない場合 - 設定されているデバウンスルーチンを使用します
+ debounce(raw_matrix, matrix, MATRIX_ROWS, changed);
+
+ // 正しいキーボード動作のためにこれを呼び出す*必要があります*
+ matrix_scan_quantum();
+
+ return matrix_has_changed;
+}
+```
+
+また、次のコールバックのデフォルトも提供します。
+
+```c
+__attribute__((weak)) void matrix_init_kb(void) { matrix_init_user(); }
+
+__attribute__((weak)) void matrix_scan_kb(void) { matrix_scan_user(); }
+
+__attribute__((weak)) void matrix_init_user(void) {}
+
+__attribute__((weak)) void matrix_scan_user(void) {}
+```
diff --git a/keyboards/ai03/polaris/info.json b/keyboards/ai03/polaris/info.json
index 59a24e2e59..13b7e8de4c 100644
--- a/keyboards/ai03/polaris/info.json
+++ b/keyboards/ai03/polaris/info.json
@@ -1,9 +1,9 @@
{
- "keyboard_name": "Polaris",
- "url": "https://kb.ai03.me/projects/polaris.html",
- "maintainer": "ai03",
- "width": 15,
- "height": 5,
+ "keyboard_name": "Polaris",
+ "url": "https://kb.ai03.me/projects/polaris.html",
+ "maintainer": "ai03",
+ "width": 15,
+ "height": 5,
"layouts": {
"LAYOUT_all": {
"layout": [
@@ -75,6 +75,138 @@
{"label":"Ctrl", "x":13.75, "y":4, "w":1.25}
]
},
+ "LAYOUT_60_ansi": {
+ "layout": [
+ {"label":"~", "x":0, "y":0},
+ {"label":"!", "x":1, "y":0},
+ {"label":"@", "x":2, "y":0},
+ {"label":"#", "x":3, "y":0},
+ {"label":"$", "x":4, "y":0},
+ {"label":"%", "x":5, "y":0},
+ {"label":"^", "x":6, "y":0},
+ {"label":"&", "x":7, "y":0},
+ {"label":"*", "x":8, "y":0},
+ {"label":"(", "x":9, "y":0},
+ {"label":")", "x":10, "y":0},
+ {"label":"_", "x":11, "y":0},
+ {"label":"+", "x":12, "y":0},
+ {"label":"Backspace", "x":13, "y":0, "w":2},
+ {"label":"Tab", "x":0, "y":1, "w":1.5},
+ {"label":"Q", "x":1.5, "y":1},
+ {"label":"W", "x":2.5, "y":1},
+ {"label":"E", "x":3.5, "y":1},
+ {"label":"R", "x":4.5, "y":1},
+ {"label":"T", "x":5.5, "y":1},
+ {"label":"Y", "x":6.5, "y":1},
+ {"label":"U", "x":7.5, "y":1},
+ {"label":"I", "x":8.5, "y":1},
+ {"label":"O", "x":9.5, "y":1},
+ {"label":"P", "x":10.5, "y":1},
+ {"label":"{", "x":11.5, "y":1},
+ {"label":"}", "x":12.5, "y":1},
+ {"label":"|", "x":13.5, "y":1, "w":1.5},
+ {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
+ {"label":"A", "x":1.75, "y":2},
+ {"label":"S", "x":2.75, "y":2},
+ {"label":"D", "x":3.75, "y":2},
+ {"label":"F", "x":4.75, "y":2},
+ {"label":"G", "x":5.75, "y":2},
+ {"label":"H", "x":6.75, "y":2},
+ {"label":"J", "x":7.75, "y":2},
+ {"label":"K", "x":8.75, "y":2},
+ {"label":"L", "x":9.75, "y":2},
+ {"label":":", "x":10.75, "y":2},
+ {"label":"\"", "x":11.75, "y":2},
+ {"label":"Enter", "x":12.75, "y":2, "w":2.25},
+ {"label":"Shift", "x":0, "y":3, "w":2.25},
+ {"label":"Z", "x":2.25, "y":3},
+ {"label":"X", "x":3.25, "y":3},
+ {"label":"C", "x":4.25, "y":3},
+ {"label":"V", "x":5.25, "y":3},
+ {"label":"B", "x":6.25, "y":3},
+ {"label":"N", "x":7.25, "y":3},
+ {"label":"M", "x":8.25, "y":3},
+ {"label":"<", "x":9.25, "y":3},
+ {"label":">", "x":10.25, "y":3},
+ {"label":"?", "x":11.25, "y":3},
+ {"label":"Shift", "x":12.25, "y":3, "w":2.75},
+ {"label":"Ctrl", "x":0, "y":4, "w":1.25},
+ {"label":"Win", "x":1.25, "y":4, "w":1.25},
+ {"label":"Alt", "x":2.5, "y":4, "w":1.25},
+ {"x":3.75, "y":4, "w":6.25},
+ {"label":"Alt", "x":10, "y":4, "w":1.25},
+ {"label":"Win", "x":11.25, "y":4, "w":1.25},
+ {"label":"Menu", "x":12.5, "y":4, "w":1.25},
+ {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}
+ ]
+ },
+ "LAYOUT_60_ansi_split_bs_rshift": {
+ "layout": [
+ {"label":"~", "x":0, "y":0},
+ {"label":"!", "x":1, "y":0},
+ {"label":"@", "x":2, "y":0},
+ {"label":"#", "x":3, "y":0},
+ {"label":"$", "x":4, "y":0},
+ {"label":"%", "x":5, "y":0},
+ {"label":"^", "x":6, "y":0},
+ {"label":"&", "x":7, "y":0},
+ {"label":"*", "x":8, "y":0},
+ {"label":"(", "x":9, "y":0},
+ {"label":")", "x":10, "y":0},
+ {"label":"_", "x":11, "y":0},
+ {"label":"+", "x":12, "y":0},
+ {"label":"Backspace", "x":13, "y":0},
+ {"label":"Delete", "x":14, "y":0},
+ {"label":"Tab", "x":0, "y":1, "w":1.5},
+ {"label":"Q", "x":1.5, "y":1},
+ {"label":"W", "x":2.5, "y":1},
+ {"label":"E", "x":3.5, "y":1},
+ {"label":"R", "x":4.5, "y":1},
+ {"label":"T", "x":5.5, "y":1},
+ {"label":"Y", "x":6.5, "y":1},
+ {"label":"U", "x":7.5, "y":1},
+ {"label":"I", "x":8.5, "y":1},
+ {"label":"O", "x":9.5, "y":1},
+ {"label":"P", "x":10.5, "y":1},
+ {"label":"{", "x":11.5, "y":1},
+ {"label":"}", "x":12.5, "y":1},
+ {"label":"|", "x":13.5, "y":1, "w":1.5},
+ {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
+ {"label":"A", "x":1.75, "y":2},
+ {"label":"S", "x":2.75, "y":2},
+ {"label":"D", "x":3.75, "y":2},
+ {"label":"F", "x":4.75, "y":2},
+ {"label":"G", "x":5.75, "y":2},
+ {"label":"H", "x":6.75, "y":2},
+ {"label":"J", "x":7.75, "y":2},
+ {"label":"K", "x":8.75, "y":2},
+ {"label":"L", "x":9.75, "y":2},