main/buttons.h

branch
novnc
changeset 41
7639cfa6aec0
parent 19
49e2960d4642
child 87
47253f294a9f
--- a/main/buttons.h	Sat May 04 11:41:16 2019 +0200
+++ b/main/buttons.h	Sat May 04 21:18:51 2019 +0200
@@ -68,6 +68,13 @@
 int Buttons_Scan(void);
 
 /**
+ * @brief Insert button coordinates received from a websocket.
+ * @param x The touched X position.
+ * @param y The touched Y position.
+ */
+void WS_touched(int x, int y);
+
+/**
  * @brief Scan keyboard, all characters, 4 screens.
  * @return The ASCII code of the key, or -1 if no key is pressed.
  */

mercurial