qmk_userspace/keyboards/tutte_coxeter_36e/keymaps/default/keymap.c
Peter J. A. Cock ceb1306308 Setup new keyboard definition for tutte_coxeter_36e
❯ qmk new-keyboard -kbtutte_coxeter_c36e -n "Peter J. A. Cock" -u peterjc -t RP2040 -l split_3x5_3
Ψ Generating a new QMK keyboard directory
Ψ Created a new keyboard called tutte_coxeter_36e.
Ψ Build Command: qmk compile -kb tutte_coxeter_36e -km default.
Ψ Project Location: /Users/peterjc/repositories/qmk_firmware/keyboards/tutte_coxeter_36e.
Ψ Now update the config files to match the hardware!

❯ mv ~/repositories/qmk_firmware/keyboardstutte_coxeter_36e  ~/repositories/qmk_userspace/keyboards

Note it did not want to accept hyphens, so used underscores.

Then define sparse 13x13 scanning matrix of 36 edge / 26 vertice graph,
using the RP2040 GPIO pin names.

i.e. The partial Tutte-Coxeter graph, using RP2040 GPIO pin names.
2025-06-13 22:43:50 +09:00

27 lines
1.8 KiB
C

// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
* │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │
* ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
* │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │
* ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
* │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │
* └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
* ┌───┐ ┌───┐
* │GUI├───┐ ┌───┤Alt│
* └───┤Bsp├───┐ ┌───┤Ent├───┘
* └───┤ │ │ ├───┘
* └───┘ └───┘
*/
[0] = LAYOUT_split_3x5_3(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
KC_LGUI, KC_BSPC, KC_SPC, KC_SPC, KC_ENT, KC_RALT
)
};