From 168a63172010924a7a00dc1bc9e6a3c510e8ce5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=91=A3=E7=9D=BF=E7=85=8A?= Date: Mon, 4 Jul 2022 02:07:31 +0800 Subject: Add support for MacroCat Keyboard (#17480) --- keyboards/macrocat/keymaps/default/keymap.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 keyboards/macrocat/keymaps/default/keymap.c (limited to 'keyboards/macrocat/keymaps/default') diff --git a/keyboards/macrocat/keymaps/default/keymap.c b/keyboards/macrocat/keymaps/default/keymap.c new file mode 100644 index 0000000000..b173938b70 --- /dev/null +++ b/keyboards/macrocat/keymaps/default/keymap.c @@ -0,0 +1,19 @@ +// Copyright 2022 catmunch (@catmunch) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = { + {KC_PLUS, KC_9, KC_8, KC_7 }, + {KC_MINS, KC_6, KC_5, KC_4 }, + {KC_DOT, KC_3, KC_2, KC_1 }, + {KC_ENT, KC_SPACE, KC_0, MO(1)} + }, + [1] = { + {KC_ASTR, KC_MPRV, KC_MPLY,KC_MNXT}, + {KC_SLSH, KC_LPRN, KC_UP, KC_RPRN}, + {KC_COMM, KC_LEFT, KC_DOWN,KC_RIGHT}, + {KC_TAB, KC_BSPC, KC_0, KC_TRNS} + } +}; -- cgit v1.2.3