aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Barnachea <jrbarnachea@gmail.com>2018-04-11 10:17:32 -0700
committerDrashna Jaelre <drashna@live.com>2018-04-11 10:17:32 -0700
commit244b1ef79bd0a3f1ff22c312442f86d5716c9c62 (patch)
tree01a17a68619565292d5b0d2ddbaf442f28500759
parent0545428c1485ac67f13cc6d88cc50b77ee8cc81e (diff)
downloadqmk_firmware-244b1ef79bd0a3f1ff22c312442f86d5716c9c62.tar.gz
qmk_firmware-244b1ef79bd0a3f1ff22c312442f86d5716c9c62.zip
Personal keymap added (#2723)
Personal keymap added.
-rw-r--r--keyboards/rama/m6_a/keymaps/naut/config.h24
-rw-r--r--keyboards/rama/m6_a/keymaps/naut/keymap.c18
-rw-r--r--keyboards/rama/m6_a/keymaps/naut/readme.md10
3 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/rama/m6_a/keymaps/naut/config.h b/keyboards/rama/m6_a/keymaps/naut/config.h
new file mode 100644
index 000000000..7f642203a
--- /dev/null
+++ b/keyboards/rama/m6_a/keymaps/naut/config.h
@@ -0,0 +1,24 @@
1/* Copyright 2018 Wilba
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#ifndef CONFIG_USER_H
18#define CONFIG_USER_H
19
20#include "../../config.h"
21
22// place overrides here
23
24#endif \ No newline at end of file
diff --git a/keyboards/rama/m6_a/keymaps/naut/keymap.c b/keyboards/rama/m6_a/keymaps/naut/keymap.c
new file mode 100644
index 000000000..6ef59e01a
--- /dev/null
+++ b/keyboards/rama/m6_a/keymaps/naut/keymap.c
@@ -0,0 +1,18 @@
1#include "../../m6_a.h"
2
3// Define Layers
4#define _BASE 0
5#define _FNX 1
6
7const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
8
9// Base Layer
10 [_BASE] = KEYMAP(
11 TO(1), KC_UP, KC_PGDN,
12 KC_LEFT,KC_DOWN,KC_RGHT),
13
14// Fn Layer
15 [_FNX] = KEYMAP(
16 TO(0),KC_VOLU,KC_MPLY,
17 KC_MRWD,KC_VOLD,KC_MFFD)
18}; \ No newline at end of file
diff --git a/keyboards/rama/m6_a/keymaps/naut/readme.md b/keyboards/rama/m6_a/keymaps/naut/readme.md
new file mode 100644
index 000000000..2166e3783
--- /dev/null
+++ b/keyboards/rama/m6_a/keymaps/naut/readme.md
@@ -0,0 +1,10 @@
1Naut's Keymap
2=======
3
4Arrows for HHKB and Media keys for M65-A.
5
6Keymap Maintainer: [Jason Barnachea](https://github.com/nautxx)
7
8Difference from base layout: Similar.
9
10Intended usage: Arrows and Media Keys.