summaryrefslogblamecommitdiffstats
path: root/hw/ps2.h
blob: 32a4231e321909e294ac8f89e93b81839c607174 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                        
/* 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);