summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/kay65
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-10-29 20:49:16 +0000
committerQMK Bot <hello@qmk.fm>2022-10-29 20:49:16 +0000
commitc78dc85a1aea4935dfe35f21d951fedb07b5ec1e (patch)
treedb368654169e0dd5cf18e44c35b24856f48db1ad /keyboards/mechlovin/kay65
parent9d717c85dc184c0e34b40251b5703ae3626f571e (diff)
parent078a51139440e416e3d23d1f568b19f390d1a3cc (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/mechlovin/kay65')
-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 37f9b46474..9540eb8de0 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;
}