X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fao.h;h=4cceefe101a0306a57ae53c804ec5efe245b5e09;hp=65a594c0529ebd8413d1fd6592f3c878673cf6f2;hb=b219801fb0e5eaff7778d21701da977104522da3;hpb=b92333ff5e75bf96804359e9fbf464d3b518bd95 diff --git a/src/ao.h b/src/ao.h index 65a594c0..4cceefe1 100644 --- a/src/ao.h +++ b/src/ao.h @@ -291,6 +291,12 @@ ao_usb_putchar(char c); char ao_usb_getchar(void); +/* Poll for a charcter on the USB input queue. + * returns AO_READ_AGAIN if none are available + */ +char +ao_usb_pollchar(void); + /* Flush the USB output queue */ void ao_usb_flush(void);