From: Keith Packard Date: Mon, 2 Nov 2009 23:45:58 +0000 (-0800) Subject: Add ao_usb_pollchar to ao.h X-Git-Tag: 0.6~1 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=b219801fb0e5eaff7778d21701da977104522da3 Add ao_usb_pollchar to ao.h --- 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);