Skip to content

Instantly share code, notes, and snippets.

View koktoh's full-sized avatar

koktoh koktoh

  • Japan
View GitHub Profile
@koktoh
koktoh / lele60.json
Created June 20, 2022 07:08
Lele 60 VIA JSON (unofficial)
{
"name": "Lele 60",
"vendorId": "0xCA21",
"productId": "0x003C",
"lighting": "wt_rgb_backlight",
"matrix": {
"rows": 5,
"cols": 14
},
"layouts": {
@koktoh
koktoh / bs_macro.json
Created August 27, 2020 09:20
bs_macro.json for VIA
{
"name": "BrownSugar Macro",
"vendorId": "0x1716",
"productId": "0x5963",
"lighting": "qmk_rgblight",
"matrix": { "rows": 3, "cols": 3 },
"layouts": {
"labels": [["Implement push switch", "Both", "Right", "Left", "None"]],
"keymap": [
[{ "d": true }, "\n\n\n0,3", { "x": 1, "d": true }, "\n\n\n0,3"],
void Main()
{
var keycordPath = @""; // common\keycode.h
var qkPath = @""; // quantum\quantum_keycodes.h
var kc = keycordPath.ToFileInfo().OpenText().ReadToEnd();
var qk = qkPath.ToFileInfo().OpenText().ReadToEnd();
var parser = new KeycodeDefinitionParser();

BrownSugar Macro ビルドガイド

bs_macro

キット内容

  • PCB x1
  • トッププレート x1
  • ボトムプレート x1
  • OLED カバープレート x1
@koktoh
koktoh / amabie_glcdfont.c
Created April 23, 2020 16:01
アマビエを表示するためだけの glcdfont.c
// This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0.
// See gfxfont.h for newer custom bitmap font info.
#ifndef FONT5X7_H
#define FONT5X7_H
#ifdef __AVR__
#include <avr/io.h>
#include <avr/pgmspace.h>
#elif defined(ESP8266)
@koktoh
koktoh / QmkFirmwarePinMaps.md
Last active March 31, 2024 11:58
QMK Firmware pin maps

QMK Firmware pin maps

Pro Micro

18 pins

              ._|~~|_.
    D3 [Tx0] -|      |- [RAW]
    D2 [Rx1] -|      |- [GND]
       [GND] -|      |- [RST]