diff options
author | Danny <nooges@users.noreply.github.com> | 2018-08-15 18:27:34 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-15 18:27:34 +0200 |
commit | 89838d0939f3370635b8f1c7068641430a6552ca (patch) | |
tree | d747eb69b3b2d0d57ff8bb19f7c978843612b612 /keyboards/quefrency/rev1 | |
parent | ad2bb529c795be066b279f52bebec03257992fc2 (diff) | |
download | qmk_firmware-89838d0939f3370635b8f1c7068641430a6552ca.tar.gz qmk_firmware-89838d0939f3370635b8f1c7068641430a6552ca.tar.xz |
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 c24cf5ab3..895ee0378 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 06fbfa25e..a690a7eff 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 44476354b..14e0f9bbf 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 |