diff options
author | Mekaniserad Apelsin <mek@pels.in> | 2015-04-26 08:08:54 +0200 |
---|---|---|
committer | Mekaniserad Apelsin <mek@pels.in> | 2015-04-26 08:57:00 +0200 |
commit | 7780fd1c01182ab67d899b78d85a0d3b0d89196f (patch) | |
tree | fb416f095da28041879d2e85cf5d127bdd3957af /tmk_core/protocol/adb.h | |
parent | 55fc97f957555c20c4509e587e8fd2ef1194ab0d (diff) | |
download | firmware-7780fd1c01182ab67d899b78d85a0d3b0d89196f.tar.gz firmware-7780fd1c01182ab67d899b78d85a0d3b0d89196f.tar.bz2 firmware-7780fd1c01182ab67d899b78d85a0d3b0d89196f.zip |
Add mouse support to ADB
Adding the makefile options ADB_MOUSE_ENABLE and ADB_MOUSE_ACCMAX.
Might have gone overboard with comments, and tried but failed at not
adding more than necessary outside the converter/adb_usb/ folder.
Diffstat (limited to 'tmk_core/protocol/adb.h')
-rw-r--r-- | tmk_core/protocol/adb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/protocol/adb.h b/tmk_core/protocol/adb.h index bfe598bbf..b4b3633cf 100644 --- a/tmk_core/protocol/adb.h +++ b/tmk_core/protocol/adb.h @@ -56,7 +56,11 @@ POSSIBILITY OF SUCH DAMAGE. void adb_host_init(void); bool adb_host_psw(void); uint16_t adb_host_kbd_recv(void); +uint16_t adb_host_mouse_recv(void); void adb_host_listen(uint8_t cmd, uint8_t data_h, uint8_t data_l); void adb_host_kbd_led(uint8_t led); +void adb_mouse_task(void); +void adb_mouse_init(void); + #endif |