diff options
author | Danny <nooges@users.noreply.github.com> | 2018-08-15 12:27:34 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-15 09:27:34 -0700 |
commit | 89838d0939f3370635b8f1c7068641430a6552ca (patch) | |
tree | d747eb69b3b2d0d57ff8bb19f7c978843612b612 /keyboards/quefrency/rev1 | |
parent | ad2bb529c795be066b279f52bebec03257992fc2 (diff) |
Keyboard: Migrate Quefrency to use split common files (#3642)
Diffstat (limited to 'keyboards/quefrency/rev1')
-rw-r--r-- | keyboards/quefrency/rev1/config.h | 33 | ||||
-rw-r--r-- | keyboards/quefrency/rev1/rev1.c | 2 | ||||
-rw-r--r-- | keyboards/quefrency/rev1/rev1.h | 7 |
3 files changed, 5 insertions, 37 deletions
diff --git a/keyboards/quefrency/rev1/config.h b/keyboards/quefrency/rev1/config.h index c24cf5ab34..895ee03789 100644 --- a/keyboards/quefrency/rev1/config.h +++ b/keyboards/quefrency/rev1/config.h @@ -16,10 +16,9 @@ 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 REV1_CONFIG_H -#define REV1_CONFIG_H +#pragma once -#include "../config.h" +#include QMK_KEYBOARD_CONFIG_H /* USB Device descriptor parameter */ #define VENDOR_ID 0xCB10 @@ -37,9 +36,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // wiring of each half #define MATRIX_ROW_PINS { F4, D4, D7, E6, B4 } #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6, C6 } - -/* define if matrix has ghost */ -//#define MATRIX_HAS_GHOST +#define SPLIT_HAND_PIN D2 /* Set 0 if debouncing isn't needed */ #define DEBOUNCING_DELAY 5 @@ -56,29 +53,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* ws2812 RGB LED */ #define RGB_DI_PIN D3 -#define RGBLIGHT_TIMER #define RGBLIGHT_ANIMATIONS #define RGBLED_NUM 16 // Number of LEDs -#define ws2812_PORTREG PORTD -#define ws2812_DDRREG DDRD - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -// #define NO_DEBUG - -/* disable print */ -// #define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT -//#define NO_ACTION_MACRO -//#define NO_ACTION_FUNCTION - - -#endif diff --git a/keyboards/quefrency/rev1/rev1.c b/keyboards/quefrency/rev1/rev1.c index 06fbfa25e1..a690a7eff7 100644 --- a/keyboards/quefrency/rev1/rev1.c +++ b/keyboards/quefrency/rev1/rev1.c @@ -1,7 +1,5 @@ #include "quefrency.h" - void matrix_init_kb(void) { matrix_init_user(); }; - diff --git a/keyboards/quefrency/rev1/rev1.h b/keyboards/quefrency/rev1/rev1.h index 44476354b9..14e0f9bbf5 100644 --- a/keyboards/quefrency/rev1/rev1.h +++ b/keyboards/quefrency/rev1/rev1.h @@ -1,7 +1,6 @@ -#ifndef REV1_H -#define REV1_H +#pragma once -#include "../quefrency.h" +#include "quefrency.h" #include "quantum.h" @@ -33,5 +32,3 @@ { RD1, RD2, RD3, RD4, KC_NO, RD6, RD7, RD8 }, \ { RE1, KC_NO, KC_NO, RE4, RE5, RE6, RE7, RE8 } \ } - -#endif |