diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-04-24 09:00:22 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-04-24 09:00:22 -0700 |
commit | fda23af2810b6ec5dd0c7f32dafc555681e7979f (patch) | |
tree | 3cd2e3f7d5e498290c86fcb806277e324f7aa156 /keyboards/meme/keymaps/default | |
parent | 70101cf6112d74d4dddcda6d2f0ae64991b7a4e6 (diff) | |
download | firmware-fda23af2810b6ec5dd0c7f32dafc555681e7979f.tar.gz firmware-fda23af2810b6ec5dd0c7f32dafc555681e7979f.tar.bz2 firmware-fda23af2810b6ec5dd0c7f32dafc555681e7979f.zip |
Support for new keyboard: Meme (#2797)
* initial commit for meme keyboard
* Fix that row by column
* Fix those dimensions
* work in progress commit
* got that switch matrix to work
* add all supported layouts
* add info.json for QMK configurator support
* let my name be known
Diffstat (limited to 'keyboards/meme/keymaps/default')
-rw-r--r-- | keyboards/meme/keymaps/default/config.h | 24 | ||||
-rw-r--r-- | keyboards/meme/keymaps/default/keymap.c | 27 | ||||
-rw-r--r-- | keyboards/meme/keymaps/default/readme.md | 1 |
3 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/meme/keymaps/default/config.h b/keyboards/meme/keymaps/default/config.h new file mode 100644 index 000000000..2c852d181 --- /dev/null +++ b/keyboards/meme/keymaps/default/config.h @@ -0,0 +1,24 @@ +/* Copyright 2018 MechMerlin + * + * 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 <http://www.gnu.org/licenses/>. + */ + +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "config_common.h" + +// place overrides here + +#endif diff --git a/keyboards/meme/keymaps/default/keymap.c b/keyboards/meme/keymaps/default/keymap.c new file mode 100644 index 000000000..6c4cb6cf5 --- /dev/null +++ b/keyboards/meme/keymaps/default/keymap.c @@ -0,0 +1,27 @@ +/* Copyright 2018 MechMerlin + * + * 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 <http://www.gnu.org/licenses/>. + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +[0] = LAYOUT_all(\ + KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_INS, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_RCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT + ) +}; diff --git a/keyboards/meme/keymaps/default/readme.md b/keyboards/meme/keymaps/default/readme.md new file mode 100644 index 000000000..59aa078d7 --- /dev/null +++ b/keyboards/meme/keymaps/default/readme.md @@ -0,0 +1 @@ +# The default keymap for Meme |