Commit Graph

23 Commits

Author SHA1 Message Date
Lephenixnoir e4766ba89e
vnc: avoid using internal details of libfxlink structures 2023-04-01 21:21:34 +02:00
Lephenixnoir 69e6445d93
meta: use pkg-config to find SDL2 2023-03-28 22:00:01 +02:00
Lephenixnoir 03622f0d32
README adjustments 2023-03-28 21:59:46 +02:00
Lephenixnoir 87e26a935f
meta: update X instructions with Tituya's setup 2023-03-28 08:20:06 +02:00
Lephenixnoir 4b6f66fb99
meta: add g3a direct download 2023-03-27 23:21:16 +02:00
Lephenixnoir 93c0657bb2
vnc: find libvncclient with pkg-config 2023-03-27 23:12:15 +02:00
Lephenixnoir efafce9fb0
vnc: improve frame update timing 2023-03-27 21:55:39 +02:00
Lephenixnoir bb1bcafe01
vnc: gracefully handle outputs of any size
Shows the top-left corner of the output on the top-left corner of the
calculator display.
2023-03-27 19:22:42 +02:00
Lephenixnoir be73b114c1
minor adjustements 2023-03-27 19:21:20 +02:00
Lephenixnoir f5d30515bf
meta: proper README 2023-03-27 19:16:57 +02:00
Lephenixnoir e7ffe36061
vnc: fix crashes when disabling --calc 2023-03-27 16:43:47 +02:00
Lephenixnoir a3864fad21
addin: proper icon + screenshot 2023-03-26 23:02:30 +02:00
Lephenixnoir 94cfbee2e6
vnc: double monitor setup 2023-03-26 22:34:16 +02:00
Lephenixnoir 9319f162bc
vnc: decouple monitor data from app, for no particular reason
I have some suspicion MONITOR_COUNT betrayed me.
2023-03-26 22:13:17 +02:00
Lephenixnoir 74a7f05e9d
vnc: structure improvements, don't use SDL unless requested 2023-03-26 21:40:11 +02:00
Lephenixnoir b6c782666c
vnc: fix incorrect calculator disconnect detection condition 2023-03-26 21:08:39 +02:00
Lephenixnoir fb9174197f
addin: improve stability by not blocking on reads 2023-03-26 21:03:30 +02:00
Lephenixnoir 9e76db9e7e
vnc: improve robustsness by supporting hotplugging 2023-03-26 18:30:38 +02:00
Lephenixnoir c0b1ced527
vnc addin: allow calculator to send inputs to VNC server 2023-03-26 18:02:34 +02:00
Lephenixnoir 1be08a29df
addin: get and show the frames, basic version (~30 FPS)
Performance is very good with debug disabled. USB transmission takes
14 ms of reading + 6 ms of waiting each frame (double buffer mode is not
supported by gint yet). Adding 11 ms of display update makes it about
30 FPS, which is nice!
2023-03-26 17:28:16 +02:00
Lephenixnoir b39ccf9758
vnc: usb libfxlink to grab a calculator and stream it the frames
My use of libfxlink is terrible though, doesn't handle disconnects etc.
Will improve soon.
2023-03-26 17:27:59 +02:00
Lephenixnoir 1493645f98
addin: add-in template 2023-03-26 12:06:15 +02:00
Lephenixnoir be9978c308
vnc: first working RFB client, sends raw frames to SDL window 2023-03-25 22:21:35 +01:00