summaryrefslogtreecommitdiff
path: root/hid/pico/src/ph_ps2_phy.h
diff options
context:
space:
mode:
authorNo0ne <[email protected]>2023-08-27 04:47:58 +0200
committerGitHub <[email protected]>2023-08-27 05:47:58 +0300
commit546a8cef8bfaf15e6fe3ac02d9c1f916e95c230d (patch)
treedb3929145e2a01944dfe76483ffde8a8a9c79335 /hid/pico/src/ph_ps2_phy.h
parentd4e5722b24cf63bc753da210eb7cd62646563019 (diff)
pico hid: ps/2 keyboard support finished (#146)
Diffstat (limited to 'hid/pico/src/ph_ps2_phy.h')
-rw-r--r--hid/pico/src/ph_ps2_phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hid/pico/src/ph_ps2_phy.h b/hid/pico/src/ph_ps2_phy.h
index 19008c99..3ed7dcfb 100644
--- a/hid/pico/src/ph_ps2_phy.h
+++ b/hid/pico/src/ph_ps2_phy.h
@@ -15,6 +15,7 @@ typedef struct {
rx_callback rx;
u8 last_rx;
u8 last_tx;
+ bool idle;
} ph_ps2_phy;
void ph_ps2_phy_init(ph_ps2_phy* this, PIO pio, u8 data_pin, rx_callback rx);