https://api.qmk.fm/v1/keyboards
にアクセスするとキーボードのリストが返ってくる。
// コード例
fetch('https://api.qmk.fm/v1/keyboards')
.then(response => {
if (!response.ok) {
throw new Error('Response not success.');
}
return response.text();
https://api.qmk.fm/v1/keyboards
にアクセスするとキーボードのリストが返ってくる。
// コード例
fetch('https://api.qmk.fm/v1/keyboards')
.then(response => {
if (!response.ok) {
throw new Error('Response not success.');
}
return response.text();
npm run start
コマンドを実行したら以下のエラーが発生した。
> docs@1.0.0 start /Users/shimizu/mon-shin-dialog-sample/docs
> webpack-cli serve --open --mode development
(node:53807) UnhandledPromiseRejectionWarning: Error: No valid exports main found for '/Users/shimizu/mon-shin-dialog-sample/docs/node_modules/colorette'
at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)
at applyExports (internal/modules/cjs/loader.js:502:14)
at resolveExports (internal/modules/cjs/loader.js:551:12)
最初に問題のジャンルを尋ねて、適切な先に振り分ける
キーボード設計 #development-チャンネルに案内する
キーボード組み立て・動作
質問のURL | キーボード | BMP使用の有無 | 問題内容 | 解決に至った理由 |
---|---|---|---|---|
https://discord.com |
/* | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
Title: 選択した文字列を'('等で囲む | |
Usage: 文字列を選択→ctrl-,を押す→続けて入力した文字で囲む | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
*/ | |
^,:: | |
backup = ClipboardAll | |
Clipboard = | |
Send, ^c |
# This file contains common pin mappings for the BIGTREETECH SKR mini | |
# E3 v2.0. To use this config, the firmware should be compiled for the | |
# STM32F103 with a "28KiB bootloader" and USB communication. Also, | |
# select "Enable extra low-level configuration options" and configure | |
# "GPIO pins to set at micro-controller startup" to "!PA14". | |
# The "make flash" command does not work on the SKR mini E3. Instead, | |
# after running "make", copy the generated "out/klipper.bin" file to a | |
# file named "firmware.bin" on an SD card and then restart the SKR | |
# mini E3 with that SD card. |
Stats 89989.1: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000008 mcu_task_stddev=0.000008 bytes_write=12060 bytes_read=81434 bytes_retransmit=9 bytes_invalid=0 send_seq=1129 receive_seq=1129 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=71997543 heater_bed: target=0 temp=21.3 pwm=0.000 sysload=0.79 cputime=429.019 memavail=1687116 print_time=626.252 buffer_time=0.208 print_stall=0 extruder: target=0 temp=20.2 pwm=0.000 | |
Stats 89990.1: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000008 mcu_task_stddev=0.000008 bytes_write=12066 bytes_read=81540 bytes_retransmit=9 bytes_invalid=0 send_seq=1130 receive_seq=1130 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=71997543 heater_bed: target=0 temp=21.3 pwm=0.000 sysload=0.79 cputime=429.045 memavail=1686872 print_time=626.252 buffer_time=0.000 print_stall=0 extruder: target=0 temp=20.2 pwm=0.000 | |
Stats 89991.1: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000008 mcu_task_stddev=0.0000 |
settings.json
に以下の設定を追加する。なお、"javascript": "javascriptreact"
は、jsx
でも Emmet を使うようにするための設定。
"emmet.excludeLanguages": [],
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"markdown": "html"
},
"[markdown]": {
"editor.quickSuggestions": true
QMK Firmware は US 配列を前提にしたファームウェアのため、JIS キーキャップを使う場合や OS のキーボード配列を JIS に設定した状態で使う場合、何らかの処理が必要になる。
その方法として qmk_firmware/keymap_japanese.h at master · qmk/qmk_firmware を使う方法と koktoh/jtu_custom_keycodes: Keycodes to use jis keycode in us keymap を使う方法の2つがあるので、2つの方法の違いを整理した。
OS のキーボード配列を JIS に設定している状態で、