forked from mirrors/qmk_userspace
ADB to USB keyboard converter
This commit is contained in:
parent
1f5cd6d7dc
commit
56e098d76e
8 changed files with 809 additions and 0 deletions
18
adb.h
Normal file
18
adb.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef ADB_H
|
||||
#define ADB_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#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
|
Loading…
Add table
Add a link
Reference in a new issue