minor adjustements
This commit is contained in:
parent
f5d30515bf
commit
be73b114c1
13
README.md
13
README.md
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
//---
|
||||
|
|
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 3.9 MiB |
Loading…
Reference in New Issue