fix USB keyboard cache bugs

you can now set stdio=usbkbd or similar to use USB keyboard for input