summaryrefslogtreecommitdiffstats
path: root/keyboards/rama/m10_b/keymaps/knops
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rama/m10_b/keymaps/knops')
-rw-r--r--keyboards/rama/m10_b/keymaps/knops/config.h24
-rw-r--r--keyboards/rama/m10_b/keymaps/knops/keymap.c64
-rw-r--r--keyboards/rama/m10_b/keymaps/knops/readme.md7
3 files changed, 95 insertions, 0 deletions
diff --git a/keyboards/rama/m10_b/keymaps/knops/config.h b/keyboards/rama/m10_b/keymaps/knops/config.h
new file mode 100644
index 000000000..d150575c1
--- /dev/null
+++ b/keyboards/rama/m10_b/keymaps/knops/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
diff --git a/keyboards/rama/m10_b/keymaps/knops/keymap.c b/keyboards/rama/m10_b/keymaps/knops/keymap.c
new file mode 100644
index 000000000..b90ca686f
--- /dev/null
+++ b/keyboards/rama/m10_b/keymaps/knops/keymap.c
@@ -0,0 +1,64 @@
+#include QMK_KEYBOARD_H
+
+/*KNOPS_MISC*/
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ /*KNOPS_LAYOUT*/
+
+};
+
+// M10-B LEDs are all in parallel and controlled by the QMK backlight
+// functionality. LED functions here are for possible future use
+// as layer indicators, etc. and not implemented yet.
+//
+// To implement LED functions here, QMK backlight functionality
+// will need to be disabled either via rules.mk or config.h
+// or overriding the backlight functions to do nothing.
+//
+// LEDs are driven by a transistor connected to pin C6.
+//
+
+void set_led_state(int ledId, bool state)
+{
+}
+
+void led_init_ports()
+{
+}
+
+void led_set_layer(int layer)
+{
+ led_init_ports();
+
+ led_set_layer(0);
+
+ /*KNOPS_SIMPLELED_STATES*/
+}
+
+void matrix_init_user(void)
+{
+ /*KNOPS_INIT*/
+}
+
+const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
+{
+ /*KNOPS_MACRO*/
+ return NULL;
+}
+
+void matrix_scan_user(void)
+{
+ /*KNOPS_SCAN*/
+}
+
+void led_set_user(uint8_t usb_led)
+{
+ /*KNOPS_FUNCTIONALLED_STATES*/
+}
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record)
+{
+ /*KNOPS_PROCESS_STATE*/
+ return NULL;
+}
diff --git a/keyboards/rama/m10_b/keymaps/knops/readme.md b/keyboards/rama/m10_b/keymaps/knops/readme.md
new file mode 100644
index 000000000..3b3d6c397
--- /dev/null
+++ b/keyboards/rama/m10_b/keymaps/knops/readme.md
@@ -0,0 +1,7 @@
+![RAMA M10-B Layout Image](https://static1.squarespace.com/static/563c788ae4b099120ae219e2/5b4997390e2e72d65f7a8e83/5b49993d6d2a732ab3595146/1531550014142/M10-Layout.jpg)
+
+# Default RAMA M10-B Layout
+
+This is an example layout.
+
+