aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorGravatar Fred Silberberg <fred@silberberg.xyz>2018-08-05 08:42:16 -0700
committerGravatar Drashna Jaelre <drashna@live.com>2018-08-05 08:42:16 -0700
commit9a4db7a860ecb35ed6d1402955cc169512a8ba74 (patch)
tree636775298097afdd1f052759d8d389d86a9795bb /layouts
parenta6e1cb08c657e5fe1d355a662b6cbd2e613d5f9b (diff)
downloadqmk_firmware-9a4db7a860ecb35ed6d1402955cc169512a8ba74.tar.gz
Keymap: Adds zen layout for 333fred (#3563)
* Initial commit of zen keymap * Added RGB control for my zen * Fixed ergodox layout. * Reduce brightness. * PR feedback.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/community/ergodox/333fred/config.h6
-rw-r--r--layouts/community/ergodox/333fred/keymap.c10
-rw-r--r--layouts/community/ergodox/333fred/rules.mk2
3 files changed, 3 insertions, 15 deletions
diff --git a/layouts/community/ergodox/333fred/config.h b/layouts/community/ergodox/333fred/config.h
index d886bf821..82255e05e 100644
--- a/layouts/community/ergodox/333fred/config.h
+++ b/layouts/community/ergodox/333fred/config.h
@@ -1,11 +1,7 @@
-#ifndef CONFIG_H_
-#define CONFIG_H_
+#pragma once
#include QMK_KEYBOARD_CONFIG_H
#include "333fred_config.h"
#undef TAPPING_TERM
#define TAPPING_TERM 200
-
-
-#endif
diff --git a/layouts/community/ergodox/333fred/keymap.c b/layouts/community/ergodox/333fred/keymap.c
index 479e4702c..d7728a5bd 100644
--- a/layouts/community/ergodox/333fred/keymap.c
+++ b/layouts/community/ergodox/333fred/keymap.c
@@ -363,15 +363,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-
-};
-
-
// Runs constantly in the background, in a loop.
-void matrix_scan_user(void) {
+void matrix_scan_user_keyboard(void) {
ergodox_board_led_on();
ergodox_led_all_on();
-};
+}
diff --git a/layouts/community/ergodox/333fred/rules.mk b/layouts/community/ergodox/333fred/rules.mk
index 2a522112e..1549bcfc8 100644
--- a/layouts/community/ergodox/333fred/rules.mk
+++ b/layouts/community/ergodox/333fred/rules.mk
@@ -5,5 +5,3 @@ NKRO_ENABLE = yes
KEY_LOCK_ENABLE = yes
TAP_DANCE_ENABLE = yes
CONSOLE_ENABLE = no
-
-