summaryrefslogtreecommitdiff
path: root/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c
diff options
context:
space:
mode:
authorWilba <Jason.S.Williams@gmail.com>2019-07-21 21:46:22 +1000
committerDanny <nooges@users.noreply.github.com>2019-07-21 07:46:22 -0400
commitbffbb4b42d3167125f54b5aeb7a30fef44ff5dbe (patch)
tree679ba294b68488b74e54300a435654057f09af81 /keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c
parentd686c0ea43d6a9db7768da64ee54c3ba25c018f7 (diff)
Refactoring wilba.tech PCBs, updating Rama Works U80-A (#6272)
* Added WT65-B, WT75-B, minor fixes * Update keyboards/wilba_tech/wt65_b/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/wilba_tech/wt65_b/readme.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/wilba_tech/wt75_b/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com> * Change DEBOUNCING_DELAY to DEBOUNCE * Change DEBOUNCING_DELAY to DEBOUNCE * Move Zeal60/Zeal65 files to keyboards/wilba_tech * Change DEBOUNCING_DELAY to DEBOUNCE * Refactoring zeal60 code to wilba_tech * Moved Rama Works PCBs to wilba_tech * Rename Rama Works files * Cleanup info.json * Cleanup readme.md * Cleanup USB device strings * U80-A RGB matrix, IS31FL3731 driver changes * Fixed #include from keyboards/zeal60
Diffstat (limited to 'keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c')
-rw-r--r--keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c64
1 files changed, 64 insertions, 0 deletions
diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c
new file mode 100644
index 0000000000..b90ca686fb
--- /dev/null
+++ b/keyboards/wilba_tech/rama_works_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;
+}