summaryrefslogtreecommitdiff
path: root/hid/pico/src/ph_ps2.h
diff options
context:
space:
mode:
authorNo0ne <[email protected]>2023-08-30 22:51:30 +0200
committerGitHub <[email protected]>2023-08-30 23:51:30 +0300
commit19c1c7b933619d82695851831aa0a063f2e027a1 (patch)
tree554e14a0999efabde99625dc0204ef30e3809b85 /hid/pico/src/ph_ps2.h
parent546a8cef8bfaf15e6fe3ac02d9c1f916e95c230d (diff)
pico hid: basic ps/2 mouse support (#147)
Diffstat (limited to 'hid/pico/src/ph_ps2.h')
-rw-r--r--hid/pico/src/ph_ps2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hid/pico/src/ph_ps2.h b/hid/pico/src/ph_ps2.h
index 057299f3..6766cbf9 100644
--- a/hid/pico/src/ph_ps2.h
+++ b/hid/pico/src/ph_ps2.h
@@ -33,8 +33,12 @@ extern bool ph_g_ps2_mouse_online;
void ph_ps2_init(void);
void ph_ps2_task(void);
+void ph_ps2_kbd_init(u8 gpio);
+void ph_ps2_kbd_task(void);
void ph_ps2_kbd_send_key(u8 key, bool state);
+void ph_ps2_mouse_init(u8 gpio);
+void ph_ps2_mouse_task(void);
void ph_ps2_mouse_send_button(u8 button, bool state);
void ph_ps2_mouse_send_rel(s8 x, s8 y);
void ph_ps2_mouse_send_wheel(s8 h, s8 v);