1
0
Fork 0
qmk_firmware/keyboards/handwired/onekey/keymaps/console/keymap.c

21 lines
436 B
C
Raw Permalink Normal View History

2021-07-30 17:10:05 +00:00
#include QMK_KEYBOARD_H
enum custom_keycodes {
KC_HELLO = SAFE_RANGE,
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_ortho_1x1(KC_HELLO)
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case KC_HELLO:
if (record->event.pressed) {
2021-07-30 21:00:14 +00:00
println("Hello world!");
2021-07-30 17:10:05 +00:00
}
return false;
}
return true;
}