main/buttons.h

branch
novnc
changeset 41
7639cfa6aec0
parent 19
49e2960d4642
child 87
47253f294a9f
equal deleted inserted replaced
40:71e06f6d80fd 41:7639cfa6aec0
66 * @return The order number for a valid button, -1 if not valid. 66 * @return The order number for a valid button, -1 if not valid.
67 */ 67 */
68 int Buttons_Scan(void); 68 int Buttons_Scan(void);
69 69
70 /** 70 /**
71 * @brief Insert button coordinates received from a websocket.
72 * @param x The touched X position.
73 * @param y The touched Y position.
74 */
75 void WS_touched(int x, int y);
76
77 /**
71 * @brief Scan keyboard, all characters, 4 screens. 78 * @brief Scan keyboard, all characters, 4 screens.
72 * @return The ASCII code of the key, or -1 if no key is pressed. 79 * @return The ASCII code of the key, or -1 if no key is pressed.
73 */ 80 */
74 int KeyBoardAll(void); 81 int KeyBoardAll(void);
75 82

mercurial