From b89cab87ce9daed9253126d2af43af1b6d79d54d Mon Sep 17 00:00:00 2001 From: Biacco42 Date: Wed, 6 Feb 2019 01:20:47 +0900 Subject: Add "meishi" keyboard (#5054) * Add meishi keyboard project * Update readme * Fix copyrights * Fix copyright year * Replace include guard with pragma once * Replace KEYMAP with LAYOUT --- keyboards/meishi/keymaps/default/keymap.c | 42 ++++++++++++++++++++++++++++++ keyboards/meishi/keymaps/default/readme.md | 1 + 2 files changed, 43 insertions(+) create mode 100644 keyboards/meishi/keymaps/default/keymap.c create mode 100644 keyboards/meishi/keymaps/default/readme.md (limited to 'keyboards/meishi/keymaps/default') diff --git a/keyboards/meishi/keymaps/default/keymap.c b/keyboards/meishi/keymaps/default/keymap.c new file mode 100644 index 000000000..88f08ee56 --- /dev/null +++ b/keyboards/meishi/keymaps/default/keymap.c @@ -0,0 +1,42 @@ +/* Copyright 2017 Biacco42 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include "meishi.h" + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT( /* Base */ + LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V) \ +), +}; + +const uint16_t PROGMEM fn_actions[] = { + +}; + +void matrix_init_user(void) { + +} + +void matrix_scan_user(void) { + +} + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + return true; +} + +void led_set_user(uint8_t usb_led) { + +} diff --git a/keyboards/meishi/keymaps/default/readme.md b/keyboards/meishi/keymaps/default/readme.md new file mode 100644 index 000000000..a9eb4e9cd --- /dev/null +++ b/keyboards/meishi/keymaps/default/readme.md @@ -0,0 +1 @@ +# The default keymap for meishi \ No newline at end of file -- cgit v1.2.3