diff options
Diffstat (limited to 'hid/pico/src/ph_ps2.h')
-rw-r--r-- | hid/pico/src/ph_ps2.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/hid/pico/src/ph_ps2.h b/hid/pico/src/ph_ps2.h index 6766cbf9..1050b919 100644 --- a/hid/pico/src/ph_ps2.h +++ b/hid/pico/src/ph_ps2.h @@ -33,12 +33,15 @@ 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 tuh_kb_set_leds(u8 leds); +void kb_init(u8 gpio); +bool kb_task(); +void kb_send_key(u8 key, bool state, u8 modifiers); void ph_ps2_kbd_send_key(u8 key, bool state); -void ph_ps2_mouse_init(u8 gpio); -void ph_ps2_mouse_task(void); +void ms_init(u8 gpio); +bool ms_task(); +void ms_send_packet(u8 buttons, s8 x, s8 y, s8 h, s8 v); 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); |