summaryrefslogtreecommitdiff
path: root/keyboard/hhkb_rn42/rn42.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/hhkb_rn42/rn42.c')
-rw-r--r--keyboard/hhkb_rn42/rn42.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboard/hhkb_rn42/rn42.c b/keyboard/hhkb_rn42/rn42.c
index c25e193719..89ecb199ca 100644
--- a/keyboard/hhkb_rn42/rn42.c
+++ b/keyboard/hhkb_rn42/rn42.c
@@ -70,9 +70,11 @@ static uint8_t keyboard_leds(void) { return 0; }
static void send_keyboard(report_keyboard_t *report)
{
// wake from deep sleep
+/*
PORTD |= (1<<5); // high
wait_ms(5);
PORTD &= ~(1<<5); // low
+*/
serial_send(0xFD); // Raw report mode
serial_send(9); // length
@@ -90,9 +92,11 @@ static void send_keyboard(report_keyboard_t *report)
static void send_mouse(report_mouse_t *report)
{
// wake from deep sleep
+/*
PORTD |= (1<<5); // high
wait_ms(5);
PORTD &= ~(1<<5); // low
+*/
serial_send(0xFD); // Raw report mode
serial_send(5); // length