~ruther/qmk_firmware

ref: 2acb426b8e51acd4ba16475c2132023cbb59b71a qmk_firmware/keyboards/rgbkb/zen/rev2/keymaps/debug/keymap.c -rw-r--r-- 449 bytes
2acb426b — Joel Challis Remove "empty" files (#22603) 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include QMK_KEYBOARD_H
#include <stdio.h>

// extern keymap_config_t keymap_config;

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { { { KC_TRNS } } };

bool process_record_user(uint16_t keycode, keyrecord_t *record) {
    static char buf[10] = " ";

    if (record->event.pressed) {
      snprintf(buf, 10, "C%dR%d ", record->event.key.col, record->event.key.row);

      send_string(buf);
    }
    return false;

  return true;
}
Do not follow this link