Keyboard: Migrate Quefrency to use split common files (#3642)

This commit is contained in:
Danny
2018-08-15 12:27:34 -04:00
committed by Drashna Jaelre
parent ad2bb529c7
commit 89838d0939
13 changed files with 10 additions and 1117 deletions
+3 -30
View File
@@ -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
-2
View File
@@ -1,7 +1,5 @@
#include "quefrency.h"
void matrix_init_kb(void) {
matrix_init_user();
};
+2 -5
View File
@@ -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