モチベ
-
Quick17 を買った
- PowerToys の登場で、複数の修飾キーを押しながらのショートカットが増えたため
- Gateron Ink Blue と DSA 青 でクリアな青に揃えてみたが中々いい
-
Mill-Max ソケット とか使ってみればよかったかも
- エンコーダ周辺は回しにくかったためキャップを外した
-
組めたが、デフォでLEDがピカピカ光ってとてもうるさい
- 修飾キーを押したり、レイヤを切り替えている間の"状態"として一部が光るのはいいと思うが、常時全体が光っているのはやかましい
- 最近の「ゲーミング」ブームは何なのだろうか?
対処
- 深く調べずに適当にやっているので、間違っていたり、効率の悪い方法かもしれない
Try 1.
-
rules.mk
のRGB_MATRIX_ENABLE = yes
をRGB_MATRIX_ENABLE = no
にしたら消えるんじゃないか? - 消えない……
Try 2.
-
rules.mk
でRGB_MATRIX_CUSTOM_KB = yes
になっているので、カスタム関数が動いているらしい - 確かにそうなってる
qmk_firmware/keyboards/yushakobo/quick17/rgb_matrix_kb.inc
RGB_MATRIX_EFFECT(quick17_rgbm_effect)
-
RGB_MATRIX_CUSTOM_KB
が機能しないようにする- 返り値は分からん、どっちでも動く
13 diff --git a/keyboards/yushakobo/quick17/rgb_matrix_kb.inc b/keyboards/yushakobo/quick17/rgb_matrix_kb.inc
14 index 0232b05ab9..0da503e2e0 100644
15 --- a/keyboards/yushakobo/quick17/rgb_matrix_kb.inc
16 +++ b/keyboards/yushakobo/quick17/rgb_matrix_kb.inc
17 @@ -2,6 +2,7 @@ RGB_MATRIX_EFFECT(quick17_rgbm_effect)
18
19 #ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS
20
21 +#if 0
22 #include "quick17_prefs.h"
23
24 #define LED_LAYOUT(\
25 @@ -113,5 +114,12 @@ static bool quick17_rgbm_effect (effect_params_t* params) {
26 }
27 return rgb_matrix_check_finished_leds(led_max);
28 }
29 +#endif /* if 0 */
30 +
31 +static bool quick17_rgbm_effect (effect_params_t* params) {
32 + return false;
33 +}
34 +
35 +
36
37 #endif
- やっと LED が静かになった……
その他
- レイヤの名前定義は
keyboards/yushakobo/quick17/quick17_prefs.h
qmk_firmware/keyboards/yushakobo/quick17/quick17_prefs.h
1 /* Copyright 2021 yushakobo
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17 enum layer_names { <---- これ
18 _DEFAULT, <---- enum の最初のレイヤが初期レイヤになるので、末尾に追加した後 keymaps.c でそれ以外のレイヤを削除すると反応しなくなる
19 _CONTROL,
20 _EDIT1,
21 _EDIT2,
22 _FN
23 };
24
25 #define _HSV(H, S, V) (HSV){ .h = H, .s = S, .v = V }
26 #define _RGB(rgb) rgb.r, rgb.g, rgb.b
27
28 bool input_mode(void);
29 void set_input_mode(bool _mode_jaen);