From 56e098d76e7d2a843a66f3a6e409f1d38fe7feac Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 13 Jan 2011 01:26:33 +0900 Subject: ADB to USB keyboard converter --- adb.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 adb.h (limited to 'adb.h') diff --git a/adb.h b/adb.h new file mode 100644 index 0000000000..8f16735470 --- /dev/null +++ b/adb.h @@ -0,0 +1,18 @@ +#ifndef ADB_H +#define ADB_H + +#include + +#if !(defined(ADB_PORT) && \ + defined(ADB_PIN) && \ + defined(ADB_DDR) && \ + defined(ADB_DATA_BIT)) +# error "ADB port setting is required in config.h" +#endif + +// ADB host +void adb_host_init(void); +bool adb_host_psw(void); +uint16_t adb_host_kbd_recv(void); + +#endif -- cgit v1.2.3