summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/mechlovin/kay65/config.h1
-rw-r--r--keyboards/mechlovin/kay65/keymaps/default/keymap.c4
-rw-r--r--keyboards/mechlovin/kay65/keymaps/via/keymap.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/mechlovin/kay65/config.h b/keyboards/mechlovin/kay65/config.h
index 09e841804e..8dcdbf9611 100644
--- a/keyboards/mechlovin/kay65/config.h
+++ b/keyboards/mechlovin/kay65/config.h
@@ -48,6 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define LED_SCROLL_LOCK_PIN B2
//#define LED_COMPOSE_PIN B3
//#define LED_KANA_PIN B4
+#define LED_PIN_ON_STATE 0
//#define BACKLIGHT_PIN B7
//#define BACKLIGHT_LEVELS 3
diff --git a/keyboards/mechlovin/kay65/keymaps/default/keymap.c b/keyboards/mechlovin/kay65/keymaps/default/keymap.c
index f72c8d8bb4..189b782b20 100644
--- a/keyboards/mechlovin/kay65/keymaps/default/keymap.c
+++ b/keyboards/mechlovin/kay65/keymaps/default/keymap.c
@@ -36,12 +36,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case LOGO_LED_ON:
if (record->event.pressed) {
- writePinHigh(D7);
+ writePinLow(D7);
}
break;
case LOGO_LED_OFF:
if (record->event.pressed) {
- writePinLow(D7);
+ writePinHigh(D7);
}
break;
}
diff --git a/keyboards/mechlovin/kay65/keymaps/via/keymap.c b/keyboards/mechlovin/kay65/keymaps/via/keymap.c
index 01a524e2a0..5011472a79 100644
--- a/keyboards/mechlovin/kay65/keymaps/via/keymap.c
+++ b/keyboards/mechlovin/kay65/keymaps/via/keymap.c
@@ -59,12 +59,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case LOGO_LED_ON:
if (record->event.pressed) {
- writePinHigh(D7);
+ writePinLow(D7);
}
break;
case LOGO_LED_OFF:
if (record->event.pressed) {
- writePinLow(D7);
+ writePinHigh(D7);
}
break;
}