Links2004 / arduinoVNC

a VNC Client for Arduino based on rfbproto
GNU General Public License v2.0
301 stars 57 forks source link

VGA display support using FabGL #20

Closed niutech closed 1 month ago

niutech commented 3 years ago

Could arduinoVNC support VGA display and input events using FabGL library on one of its compatible boards?

Links2004 commented 3 years ago

looks possible with writeScreen http://www.fabglib.org/classfabgl_1_1_v_g_a_controller_aab70542bc1007b141bb2d6db3acbce02.html#aab70542bc1007b141bb2d6db3acbce02

the for the output the implementation of VNCdisplay is needed, see

mouse event example: https://github.com/Links2004/arduinoVNC/blob/8a5cd70dd8d9661906dc9040d4e2ea57b20a682d/src/VNC.h#L187 https://github.com/Links2004/arduinoVNC/blob/8a5cd70dd8d9661906dc9040d4e2ea57b20a682d/examples/VNC_ILI9341_touch/VNC_ILI9341_touch.ino#L100-L121

keyboard is possible but there is no public function Implement yet, but easy possible with using: https://github.com/Links2004/arduinoVNC/blob/8a5cd70dd8d9661906dc9040d4e2ea57b20a682d/src/VNC.cpp#L1009-L1017

niutech commented 3 years ago

Thank you very much!