summaryrefslogtreecommitdiffstats
path: root/keyboards/orthodox/keymaps/rfvizarra/config.h
diff options
context:
space:
mode:
authorrfvizarra <rfvizarra@gmail.com>2018-05-22 16:04:53 +0200
committerDrashna Jaelre <drashna@live.com>2018-05-22 16:04:53 +0200
commit5018892fa80ae1f68ea1b8924b840b7b160adad1 (patch)
treeda2544a7f0285b9e3ab585c158858913285b5e04 /keyboards/orthodox/keymaps/rfvizarra/config.h
parentddbe60dc3652a4130fdf8167e06897e2c88d8e42 (diff)
downloadqmk_firmware-5018892fa80ae1f68ea1b8924b840b7b160adad1.tar.gz
qmk_firmware-5018892fa80ae1f68ea1b8924b840b7b160adad1.tar.xz
A personal layout for the orthodox keyboard (#3006)
* A personal layout for the orthodox keyboard * Added layout readme.md * Consolidated inclues with #include QMK_KEYBOARD_H * Moved layer tones setup to config.h * Replace persistent_default_layer_set calls with set_single_persistent_default_layer * Simplified the process_record_user function using layer_state_set_user function and MO() to set the lower, raise, nav and media layers * Removed AUDIO_ENABLE ifdefs and persistent_default_layer_set() as they are not needed any more
Diffstat (limited to 'keyboards/orthodox/keymaps/rfvizarra/config.h')
-rw-r--r--keyboards/orthodox/keymaps/rfvizarra/config.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/orthodox/keymaps/rfvizarra/config.h b/keyboards/orthodox/keymaps/rfvizarra/config.h
new file mode 100644
index 000000000..7ac207f0d
--- /dev/null
+++ b/keyboards/orthodox/keymaps/rfvizarra/config.h
@@ -0,0 +1,45 @@
+/*
+This is the c configuration file for the keymap
+
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2015 Jack Humbert
+Copyright 2017 Art Ortenburger
+
+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"
+
+#ifdef AUDIO_ENABLE
+#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
+ SONG(COLEMAK_SOUND), \
+ SONG(DVORAK_SOUND) \
+}
+#endif
+
+/* Use I2C or Serial, not both */
+
+// #define USE_SERIAL
+#define USE_I2C
+
+/* Select hand configuration */
+
+// #define MASTER_LEFT
+// #define MASTER_RIGHT
+#define EE_HANDS
+
+#endif