aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/virtser.h
diff options
context:
space:
mode:
authorOlivier <olivier@gid0.org>2016-08-25 00:11:37 +0200
committerOlivier <olivier@gid0.org>2016-08-25 00:11:37 +0200
commit73d2a470eed73a1ba28520343bd1cfc81498d183 (patch)
treef9b680f9833f11984aacd336f8d22745dc4fad02 /tmk_core/common/virtser.h
parentb5172e3afab515b1f93cd09c51b4c6c1b5174dc7 (diff)
parentad206155aa6f87de3fb9f0aefe60685ec12905a8 (diff)
downloadfirmware-73d2a470eed73a1ba28520343bd1cfc81498d183.tar.gz
firmware-73d2a470eed73a1ba28520343bd1cfc81498d183.tar.bz2
firmware-73d2a470eed73a1ba28520343bd1cfc81498d183.zip
Merge https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'tmk_core/common/virtser.h')
-rw-r--r--tmk_core/common/virtser.h10
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 000000000..74891b6ae
--- /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