This patch set adds support for USB mice.
There is a bug in qemu's USB mouse support that prevents this from working on qemu. Otherwise, it runs fine. I'll send a separate patch with a fix for qemu.
I've also tested this on my epia-cn machine with coreboot.
-Kevin
Kevin O'Connor (3): Document usb-hid.c functions. When USB keyboard active, don't send keyboard commands to ps2 port. Add support for USB mice.
src/clock.c | 4 +- src/config.h | 2 + src/kbd.c | 11 +++- src/mouse.c | 29 +++++--- src/ps2port.c | 36 +++++----- src/ps2port.h | 4 +- src/usb-hid.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++++++++---- src/usb-hid.h | 12 ++- src/usb.c | 12 ++-- 9 files changed, 265 insertions(+), 58 deletions(-)