diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2021-06-19 22:50:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-19 13:50:54 +0100 |
commit | 4379afca2877fc9b62916b9c30cce1d8ca258655 (patch) | |
tree | f2a299c9609120e1d8c0201a9fdafb67c233da0b | |
parent | 939ce6a4867fa0829f60ed6eb8e432337fa01a4a (diff) |
[Keyboard Update] Trinity XT TKL fix license and add forgotten indicators (#13202)
-rw-r--r-- | keyboards/xelus/trinityxttkl/config.h | 35 | ||||
-rw-r--r-- | keyboards/xelus/trinityxttkl/trinityxttkl.c | 16 | ||||
-rw-r--r-- | keyboards/xelus/trinityxttkl/trinityxttkl.h | 16 |
3 files changed, 51 insertions, 16 deletions
diff --git a/keyboards/xelus/trinityxttkl/config.h b/keyboards/xelus/trinityxttkl/config.h index e2a4d23905..12745c54dc 100644 --- a/keyboards/xelus/trinityxttkl/config.h +++ b/keyboards/xelus/trinityxttkl/config.h @@ -1,19 +1,18 @@ -/* -Copyright 2015 Jun Wako <wakojun@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/>. -*/ +/* Copyright 2021 Harrison Chan (Xelus) + * + * 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/>. + */ #pragma once @@ -42,3 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE + +#define LED_CAPS_LOCK_PIN A1 +#define LED_SCROLL_LOCK_PIN A13 +#define LED_PIN_ON_STATE 1 diff --git a/keyboards/xelus/trinityxttkl/trinityxttkl.c b/keyboards/xelus/trinityxttkl/trinityxttkl.c index c548a10cf0..79d3df949d 100644 --- a/keyboards/xelus/trinityxttkl/trinityxttkl.c +++ b/keyboards/xelus/trinityxttkl/trinityxttkl.c @@ -1,3 +1,19 @@ +/* Copyright 2021 Harrison Chan (Xelus) + * + * 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 "trinityxttkl.h" // Tested and verified working on Trinity XT TKL diff --git a/keyboards/xelus/trinityxttkl/trinityxttkl.h b/keyboards/xelus/trinityxttkl/trinityxttkl.h index 7cb7d590fd..df0540bab6 100644 --- a/keyboards/xelus/trinityxttkl/trinityxttkl.h +++ b/keyboards/xelus/trinityxttkl/trinityxttkl.h @@ -1,3 +1,19 @@ +/* Copyright 2021 Harrison Chan (Xelus) + * + * 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/>. + */ + #pragma once #include "quantum.h" |