aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/contra/keymaps/dana/config.h
diff options
context:
space:
mode:
authorGravatar adiron <adi@adiron.me>2018-03-09 21:27:31 +0200
committerGravatar Jack Humbert <jack.humb@gmail.com>2018-03-09 14:27:31 -0500
commitfdeb7f7665899cf52e66436a06774eae10646596 (patch)
treeb66fdf2254afe80237e9b151587fbeede40edff9 /keyboards/contra/keymaps/dana/config.h
parent141a52982e9d6d5bc290b831713b6d4f400fbf83 (diff)
downloadqmk_firmware-fdeb7f7665899cf52e66436a06774eae10646596.tar.gz
Added Contra keyboard support (#2501)
* Added Contra keyboard support The configuration came from a source distribution of the firmware on the Contra's official website. I have also included a simple MIDI keymap. (And it works!) * Changes to Contra config and README * Readme has been changed as requested by jackhumbert * Config has been changed to add the Cartel and Contra names to the USB configuration.
Diffstat (limited to 'keyboards/contra/keymaps/dana/config.h')
-rw-r--r--keyboards/contra/keymaps/dana/config.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/contra/keymaps/dana/config.h b/keyboards/contra/keymaps/dana/config.h
new file mode 100644
index 000000000..2846b5791
--- /dev/null
+++ b/keyboards/contra/keymaps/dana/config.h
@@ -0,0 +1,30 @@
+/*
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+
+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"
+
+
+#undef TAPPING_TERM
+#define TAPPING_TERM 190
+
+#define MUSIC_MASK (keycode != KC_NO)
+#define MIDI_ADVANCED
+
+#endif