Previous journal: | Next journal: |
---|---|
0100-2023-06-21.md | 0102-2023-06-25.md |
For TT04's GitHub Actions, I took the general code of my PR for GDS-to-PNG conversion and adapted it.
This includes using pngquant --quality 10-30 ...
which reduces the total colours in the image, especially
for larger images, but should hopefully achieve the target of 8x2-sized tiles rendering to PNGs at full
resolution but under 5MB.
Later I want to look at whether this method can be moved from discrete GHA steps to tt_tool.py --create-png
.
The source is here: raybox-bridge.py
.
For now it just aims to prove that, on a Windows host, we can use Python to get raw keyboard and mouse data so that it could be sent on to my Pico-DE0, and hence could control my Raybox design.
My first actual DE0-Nano Verilog experiment using this should perhaps be to implement a mouse cursor in a simple VGA display.
Might need to slow down the rate of events, and perhaps just get a cumulative delta (especially for mouse movements) every 10ms or so?