From 9a4db7a860ecb35ed6d1402955cc169512a8ba74 Mon Sep 17 00:00:00 2001 From: Fred Silberberg Date: Sun, 5 Aug 2018 08:42:16 -0700 Subject: 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. --- layouts/community/ergodox/333fred/config.h | 6 +----- layouts/community/ergodox/333fred/keymap.c | 10 ++-------- layouts/community/ergodox/333fred/rules.mk | 2 -- 3 files changed, 3 insertions(+), 15 deletions(-) (limited to 'layouts/community') 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 - - -- cgit v1.2.3-24-g4f1b