PlanckyのBLE化
CONFIG.JSNを作ればいいはず。
screenでCLI接続できる。デバッグ情報が出る
code:CONFIG.JSon
{"config":{"version":2,
"device_info":{"vid":"0x4654","pid":"0x8881","name":"Plancky","manufacture":"arai-ta","description":"hand-made 40percent ortholiner keyboard"},
"matrix":{"rows":4,"cols":12,"device_rows":4,"device_cols":12,"debounce":1,"is_left_hand":1,"diode_direction":0,"row_pins":13,14,15,16,"col_pins":17,18,19,20,12,11,10,9,8,7,6,5, "layout":[
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0,
13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 0,
25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 0,
37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48]},
"mode":"SINGLE","startup":1,
"peripheral":{"max_interval":30,"min_interval":30,"slave_latency":16},
"central":{"max_interval":30,"min_interval":30,"slave_latency":0},
"led":{"pin":1,"num":12},
"keymap":{"locale":"US","use_ascii":0},
code:KEYMAP.JSon
{"keyboard":"Plancky",
"keymap":"",
"layout":"LAYOUT",
"layers":
[["KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_MINS",
"LCTL_T(KC_ESC)","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT",
"LSFT_T(KC_BSPC)","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_BSPC",
"KC_LGUI","LT(1,KC_LANG2)","KC_SPC","LT(1,KC_ENT)","LT(2,KC_LANG1)","KC_RALT"],
["KC_TRNS","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_MINS",
"KC_TRNS","LGUI(KC_1)","LGUI(KC_2)","SGUI(KC_3)","SGUI(KC_4)","KC_NO","KC_LEFT","KC_DOWN","KC_UP","KC_RGHT","KC_NO","KC_NO",
"KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC__MUTE","KC__VOLDOWN","KC__VOLUP","KC_NO","KC_BSPC",
"KC_LGUI","KC_TRNS","KC_SPC","KC_ENT","MO(3)","KC_RALT"],
["KC_TRNS","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_CIRC","KC_AMPR","KC_ASTR","KC_LPRN","KC_RPRN","KC_TILD",
"KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_MINS","KC_EQL","KC_LBRC","KC_RBRC","KC_BSLS","KC_GRV",
"KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_UNDS","KC_PLUS","KC_LCBR","KC_RCBR","KC_PIPE","KC_BSPC",
"KC_LGUI","MO(3)","KC_SPC","KC_ENT","KC_TRNS","KC_RALT"],
["KC_TRNS","KC_F1","KC_F2","KC_F3","KC_F4","KC_NO","KC_NO","RGB_TOG","RGB_MOD","RGB_RMOD","KC_NO","KC_NO",
"KC_TRNS","KC_F5","KC_F6","KC_F7","KC_F8","KC_NO","KC_NO","RGB_HUI","RGB_SAI","RGB_VAI","KC_NO","KC_NO",
"KC_TRNS","KC_F9","KC_F10","KC_F11","KC_F12","KC_NO","KC_NO","RGB_HUD","RGB_SAD","RGB_VAD","KC_NO","KC_NO",
"KC_LGUI","KC_TRNS","KC_SPC","KC_ENT","KC_NO","KC_RALT"]]}