minor adjustements

This commit is contained in:
Lephenixnoir 2023-03-27 19:21:20 +02:00
parent f5d30515bf
commit be73b114c1
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
3 changed files with 12 additions and 8 deletions

View File

@ -16,16 +16,17 @@ Instead, sway's outputs are exposed by a VNC server running locally
([wayvnc](https://github.com/any1/wayvnc)).
The VNC client in this repository's `vnc-client` folder is connected to the
VNC server, while at the same time using the communications library _libfxlink_
VNC server, while at the same time using the communications library libfxlink
from the [fxSDK](https://gitea.planet-casio.com/Lephenixnoir/fxsdk) to discover
calculators and exchange messages. It sends framebuffer updates and receives
keyboard updates (which are, unsurprisingly, forwarded to the VNC server).
The calculators themselves run [gint](https://gitea.planet-casio.com/Lephenixnoir/gint)
2.10 using newly-added support for host → calculator USB communication. They
"simply" show framebuffers they receive and send back keyboard updates so that
the calculator keyboards can control the PC. Obviously the USB driver is not
that simple... but this is invisible from the application code.
The calculators themselves run the addin in the `cgvm-addin` folder, which is
based on [gint](https://gitea.planet-casio.com/Lephenixnoir/gint) 2.10 with
newly-added support for host → calculator USB communication. They "simply" show
framebuffers they receive and send back keyboard updates so that the calculator
keyboards can control the PC. Obviously the USB driver is not that simple...
but this is invisible from the application code.
The entire setup runs at about 30 FPS, which each frame taking about:

View File

@ -3,12 +3,15 @@
#include <gint/usb.h>
#include <gint/usb-ff-bulk.h>
#include <gint/gint.h>
#include <libprof.h>
#include <fxlibc/printf.h>
/* Debug mode (uses gint perf counters not committed to repository) */
// #define DEBUG
#ifdef DEBUG
#include <libprof.h>
#include <fxlibc/printf.h>
#endif
//---
// Receiving and displaying video frames
//---

View File

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 3.9 MiB