mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-17 07:03:23 +00:00
20 lines
449 B
C
20 lines
449 B
C
|
#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;
|
||
|
}
|