aboutsummaryrefslogtreecommitdiff
path: root/hw/ps2.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ps2.h')
-rw-r--r--hw/ps2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/ps2.h b/hw/ps2.h
new file mode 100644
index 0000000000..f2c091edd0
--- /dev/null
+++ b/hw/ps2.h
@@ -0,0 +1,10 @@
+/* ps2.c */
+void *ps2_kbd_init(void (*update_irq)(void *, int), void *update_arg);
+void *ps2_mouse_init(void (*update_irq)(void *, int), void *update_arg);
+void ps2_write_mouse(void *, int val);
+void ps2_write_keyboard(void *, int val);
+uint32_t ps2_read_data(void *);
+void ps2_queue(void *, int b);
+void ps2_keyboard_set_translation(void *opaque, int mode);
+void ps2_mouse_fake_event(void *opaque);
+