summaryrefslogtreecommitdiffstats
path: root/keyboards/contra/contra.h
diff options
context:
space:
mode:
authoradiron <adi@adiron.me>2018-03-09 21:27:31 +0200
committerJack Humbert <jack.humb@gmail.com>2018-03-09 14:27:31 -0500
commitfdeb7f7665899cf52e66436a06774eae10646596 (patch)
treeb66fdf2254afe80237e9b151587fbeede40edff9 /keyboards/contra/contra.h
parent141a52982e9d6d5bc290b831713b6d4f400fbf83 (diff)
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/contra.h')
-rwxr-xr-xkeyboards/contra/contra.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/contra/contra.h b/keyboards/contra/contra.h
new file mode 100755
index 0000000000..e9f9c5418d
--- /dev/null
+++ b/keyboards/contra/contra.h
@@ -0,0 +1,18 @@
+#ifndef KB_H
+#define KB_H
+
+#include "quantum.h"
+
+#define KEYMAP( \
+ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
+ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
+ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
+ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 \
+) { \
+ { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
+ { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
+ { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
+ { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 } \
+}
+
+#endif \ No newline at end of file