diff options
author | No0ne <[email protected]> | 2024-07-19 14:05:57 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-19 15:05:57 +0300 |
commit | 5bdc9989222ce0344d773a64f8913f0149c14af4 (patch) | |
tree | cbd2b4d1331e774c189bcb52bef05dd41c0c97a4 /hid/pico/src/ph_ps2.h | |
parent | 13f23a19c306b2704b4e7d6ed5c107eee7587eee (diff) |
ps2: keyboard+mouse passthru support (#171)
Diffstat (limited to 'hid/pico/src/ph_ps2.h')
-rw-r--r-- | hid/pico/src/ph_ps2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/pico/src/ph_ps2.h b/hid/pico/src/ph_ps2.h index af8012bc..69f55866 100644 --- a/hid/pico/src/ph_ps2.h +++ b/hid/pico/src/ph_ps2.h @@ -34,12 +34,12 @@ void ph_ps2_init(void); void ph_ps2_task(void); void tuh_kb_set_leds(u8 leds); -void kb_init(u8 gpio); +void kb_init(u8 gpio_out, u8 gpio_in); bool kb_task(); void kb_send_key(u8 key, bool state, u8 modifiers); void ph_ps2_kbd_send_key(u8 key, bool state); -void ms_init(u8 gpio); +void ms_init(u8 gpio_out, u8 gpio_in); bool ms_task(); void ms_send_movement(u8 buttons, s8 x, s8 y, s8 z); void ph_ps2_mouse_send_button(u8 button, bool state); |