X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=protocol%2Fadb.h;h=1e4ca40132d4c2e4355ea1d6d79bdd9ab0ff4167;hb=f291c2279eb9f656ed2a2e3152bab155470c4ef9;hp=177f413944bc2a636299dddcf84409012077fde7;hpb=f4125707399d11a7d80587659c464b9bcddb8c56;p=max%2Ftmk_keyboard.git diff --git a/protocol/adb.h b/protocol/adb.h index 177f4139..1e4ca401 100644 --- a/protocol/adb.h +++ b/protocol/adb.h @@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef ADB_H #define ADB_H +#include #include #if !(defined(ADB_PORT) && \ @@ -47,6 +48,10 @@ POSSIBILITY OF SUCH DAMAGE. # error "ADB port setting is required in config.h" #endif +#define ADB_POWER 0x7F +#define ADB_CAPS 0x39 + + // ADB host void adb_host_init(void); bool adb_host_psw(void);