From 244b1ef79bd0a3f1ff22c312442f86d5716c9c62 Mon Sep 17 00:00:00 2001 From: Jason Barnachea Date: Wed, 11 Apr 2018 10:17:32 -0700 Subject: [PATCH] Personal keymap added (#2723) Personal keymap added. --- keyboards/rama/m6_a/keymaps/naut/config.h | 24 ++++++++++++++++++++++ keyboards/rama/m6_a/keymaps/naut/keymap.c | 18 ++++++++++++++++ keyboards/rama/m6_a/keymaps/naut/readme.md | 10 +++++++++ 3 files changed, 52 insertions(+) create mode 100644 keyboards/rama/m6_a/keymaps/naut/config.h create mode 100644 keyboards/rama/m6_a/keymaps/naut/keymap.c create mode 100644 keyboards/rama/m6_a/keymaps/naut/readme.md 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 00000000..7f642203 --- /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 . + */ + +#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 00000000..6ef59e01 --- /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 00000000..2166e378 --- /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.