fix pegasushoof caps light, add via keymap (#19649)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Fucong Wang <wangfuco@Fucongs-Mac-mini.local>
This commit is contained in:
parent
ad817a71a3
commit
f1b5659ba8
17 changed files with 85 additions and 143 deletions
|
@ -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 "2015.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);
|
|
@ -93,10 +93,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* 6 */ { ___ , KB6 , KC6 , ___ , KE6 , KF6 , KG6 , KH6 , ___ , KJ6 , KK6 , ___ , ___ , ___ , KO6 , ___ , ___ , KR6 }, \
|
||||
/* 7 */ { KA7 , KB7 , KC7 , KD7 , KE7 , KF7 , KG7 , KH7 , KI7 , KJ7 , ___ , ___ , ___ , ___ , KO7 , ___ , KQ7 , KR7 } \
|
||||
}
|
||||
|
||||
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); }
|
||||
|
||||
|
|
|
@ -21,9 +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
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
{
|
||||
"keyboard_name": "Majestouch TKL \\\\w The Pegasus Hoof 2015",
|
||||
"diode_direction": "COL2ROW",
|
||||
"debounce": 5,
|
||||
"indicators": {
|
||||
"caps_lock" : "C6",
|
||||
"scroll_lock": "C5",
|
||||
"on_state": 0
|
||||
},
|
||||
"community_layouts": ["tkl_ansi"],
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue