summaryrefslogtreecommitdiff
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)
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 0000000000..7f642203aa
--- /dev/null
+++ b/keyboards/rama/m6_a/keymaps/naut/config.h
@@ -0,0 +1,24 @@
+/* Copyright 2018 Wilba
+ *
+ * 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.h"
+
+// place overrides here
+
+#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 0000000000..6ef59e01a9
--- /dev/null
+++ b/keyboards/rama/m6_a/keymaps/naut/keymap.c
@@ -0,0 +1,18 @@
+#include "../../m6_a.h"
+
+// Define Layers
+#define _BASE 0
+#define _FNX 1
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+// Base Layer
+ [_BASE] = KEYMAP(
+ TO(1), KC_UP, KC_PGDN,
+ KC_LEFT,KC_DOWN,KC_RGHT),
+
+// Fn Layer
+ [_FNX] = KEYMAP(
+ TO(0),KC_VOLU,KC_MPLY,
+ KC_MRWD,KC_VOLD,KC_MFFD)
+}; \ 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 0000000000..2166e37831
--- /dev/null
+++ b/keyboards/rama/m6_a/keymaps/naut/readme.md
@@ -0,0 +1,10 @@
+Naut's Keymap
+=======
+
+Arrows for HHKB and Media keys for M65-A.
+
+Keymap Maintainer: [Jason Barnachea](https://github.com/nautxx)
+
+Difference from base layout: Similar.
+
+Intended usage: Arrows and Media Keys.