Skip to content

Commit

Permalink
[OLED] Fix keylogger issues
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Aug 3, 2024
1 parent da07aa4 commit 24900e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion keyboards/bastardkb/dilemma/4x6_4/keymaps/drashna/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,10 @@ bool oled_task_keymap(void) {

oled_set_cursor(0, 15);
oled_write_raw_P(footer_image2, sizeof(footer_image2));
# ifdef KEYLOGGER_ENABLE
oled_set_cursor(4, 15);
oled_write(oled_keylog_str, true);

# endif
return false;
}
#endif
Expand Down
2 changes: 2 additions & 0 deletions keyboards/zsa/voyager/keymaps/drashna/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ bool oled_task_keymap(void) {

oled_set_cursor(0, 15);
oled_write_raw_P(footer_image2, sizeof(footer_image2));
# ifdef KEYLOGGER_ENABLE
oled_set_cursor(4, 15);
oled_write(oled_keylog_str, true);
# endif

return false;
}
Expand Down
2 changes: 1 addition & 1 deletion keyboards/zsa/voyager/keymaps/drashna/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WATCHDOG_ENABLE = yes
EEPROM_DRIVER = i2c
OLED_ENABLE = yes
WPM_ENABLE = yes
KEYLOGGER_ENABLE = no
KEYLOGGER_ENABLE = yes

POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = cirque_pinnacle_i2c
Expand Down

0 comments on commit 24900e1

Please sign in to comment.