diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-08-23 11:05:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-23 11:05:26 -0400 |
commit | a9205484718ab2a74bc97884a2ea7b95882ed66d (patch) | |
tree | fcc4e5429bf545dca85f32d7a174388e61966438 /tmk_core/common | |
parent | fb4452c2f5a80720fd56306ea4fa7c61a5e8040d (diff) | |
parent | 7009112752ed0729b9c20382c936a8d373062ada (diff) |
Merge pull request #677 from SmackleFunky/master
Virtual Serial Port - and a Layout that uses that virtual serial port for Plover
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/virtser.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tmk_core/common/virtser.h b/tmk_core/common/virtser.h new file mode 100644 index 0000000000..74891b6ae0 --- /dev/null +++ b/tmk_core/common/virtser.h @@ -0,0 +1,10 @@ +#ifndef _VIRTSER_H_ +#define _VIRTSER_H_ + +/* Define this function in your code to process incoming bytes */ +void virtser_recv(const uint8_t ch); + +/* Call this to send a character over the Virtual Serial Device */ +void virtser_send(const uint8_t byte); + +#endif |