[Keyboard] Refactor deltasplit75 to use split_common (#8083)
* Refactor deltasplit75 to use split_common * Refactor deltasplit75 to use split_common - small tidy up
This commit is contained in:
parent
a6b0a74d95
commit
a557a5b2c5
16 changed files with 29 additions and 1083 deletions
|
@ -15,8 +15,7 @@ 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 CONFIG_V2_H
|
||||
#define CONFIG_V2_H
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
|
@ -40,6 +39,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/*
|
||||
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
|
||||
*/
|
||||
#define SOFT_SERIAL_PIN D0
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
|
@ -76,5 +80,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
//#define NO_ACTION_ONESHOT
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,14 +1 @@
|
|||
#include "deltasplit75.h"
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
// // green led on
|
||||
// DDRD |= (1<<5);
|
||||
// PORTD &= ~(1<<5);
|
||||
|
||||
// // orange led on
|
||||
// DDRB |= (1<<0);
|
||||
// PORTB &= ~(1<<0);
|
||||
|
||||
matrix_init_user();
|
||||
};
|
||||
|
||||
#include "v2.h"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef V2_H
|
||||
#define V2_H
|
||||
#pragma once
|
||||
|
||||
#include "deltasplit75.h"
|
||||
|
||||
|
@ -56,5 +55,3 @@
|
|||
{ K120, K121, K122, K123, KC_NO, KC_NO, K126, K127}, \
|
||||
{ KC_NO, KC_NO, K132, K133, K134, K135, K136, K137} \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue