diff options
Diffstat (limited to 'keyboards/bpiphany/pegasushoof/2013')
-rw-r--r-- | keyboards/bpiphany/pegasushoof/2013/2013.c | 25 | ||||
-rw-r--r-- | keyboards/bpiphany/pegasushoof/2013/2013.h | 6 | ||||
-rw-r--r-- | keyboards/bpiphany/pegasushoof/2013/config.h | 6 | ||||
-rw-r--r-- | keyboards/bpiphany/pegasushoof/2013/info.json | 8 |
4 files changed, 9 insertions, 36 deletions
diff --git a/keyboards/bpiphany/pegasushoof/2013/2013.c b/keyboards/bpiphany/pegasushoof/2013/2013.c deleted file mode 100644 index c9bd01a997..0000000000 --- a/keyboards/bpiphany/pegasushoof/2013/2013.c +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2016 Daniel Svensson <dsvensson@gmail.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#include "2013.h" - - -extern inline void ph_caps_led_on(void); -extern inline void ph_caps_led_off(void); - -extern inline void ph_sclk_led_on(void); -extern inline void ph_sclk_led_off(void); diff --git a/keyboards/bpiphany/pegasushoof/2013/2013.h b/keyboards/bpiphany/pegasushoof/2013/2013.h index f43fdcf92c..7454c7c860 100644 --- a/keyboards/bpiphany/pegasushoof/2013/2013.h +++ b/keyboards/bpiphany/pegasushoof/2013/2013.h @@ -73,9 +73,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* 6 */ { KC_NO, KC_NO, KC6, KC_NO, KC_NO, KF6, KG6, KC_NO, KI6, KJ6, KK6, KL6, KC_NO, KN6, KO6, KC_NO, KQ6, KC_NO },\ /* 7 */ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KF7, KG7, KH7, KI7, KJ7, KK7, KL7, KK7, KL7, KO7, KP7, KC_NO, KC_NO } \ } - -inline void ph_caps_led_on(void) { DDRC |= (1<<6); PORTC &= ~(1<<6); } -inline void ph_caps_led_off(void) { DDRC &= ~(1<<6); PORTC &= ~(1<<6); } - -inline void ph_sclk_led_on(void) { DDRC |= (1<<5); PORTC &= ~(1<<5); } -inline void ph_sclk_led_off(void) { DDRC &= ~(1<<5); PORTC &= ~(1<<5); } diff --git a/keyboards/bpiphany/pegasushoof/2013/config.h b/keyboards/bpiphany/pegasushoof/2013/config.h index 33762f020d..eb7c2fde13 100644 --- a/keyboards/bpiphany/pegasushoof/2013/config.h +++ b/keyboards/bpiphany/pegasushoof/2013/config.h @@ -21,8 +21,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROWS 8 #define MATRIX_COLS 18 -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 +#define DYNAMIC_KEYMAP_LAYER_COUNT 3 // not enough memory for a 4th layer with VIA diff --git a/keyboards/bpiphany/pegasushoof/2013/info.json b/keyboards/bpiphany/pegasushoof/2013/info.json index a3fdff3338..96f0749735 100644 --- a/keyboards/bpiphany/pegasushoof/2013/info.json +++ b/keyboards/bpiphany/pegasushoof/2013/info.json @@ -1,5 +1,13 @@ { "keyboard_name": "Majestouch TKL \\\\w The Pegasus Hoof 2013", + "diode_direction": "COL2ROW", + "debounce": 5, + "indicators": { + "caps_lock" : "C6", + "scroll_lock": "C5", + "on_state": 0 + }, + "community_layouts": ["tkl_ansi"], "layouts": { "LAYOUT": { "layout": [ |