Update README.md

the arrows broke stuff
This commit is contained in:
Noa Aarts 2024-10-05 17:19:57 +02:00 committed by GitHub
parent 848a781aab
commit b352b0dc10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,16 +5,16 @@ with a focus on minimizing latency while keeping high performance.
Multiple protocols are supported:
- Text: The default protocol, it is compliant with pixelflut but it defines some extra commands
- CANVAS <id>: used to change to a completely seperate canvas, the amount and size is defined by the host
- PROTOCOL <protocol name>: used to change to different protocols, the useable names are:
- `CANVAS <id>`: used to change to a completely seperate canvas, the amount and size is defined by the host
- `PROTOCOL <protocol name>`: used to change to different protocols, the useable names are:
- text: goes to the Text protocol
- binary: goes to the Binary protocol
- Binary: A binary analog to the text version, about twice as efficient with bandwidth, the commands are
- size: 0x73 <u8 canvas> -> <u16_le x> <u16_le y>
- help: 0x68 -> help message (in UTF-8)
- get pixel: 0x20 <u8 canvas> <u16_le x> <u16_le y> -> <u8 red> <u8 green> <u8 blue>
- set pixel rgb: 0x80 <u8 canvas> <u16_le x> <u16_le y> <u8 red> <u8 green> <u8 blue>
- blend pixel rgba: 0x81 <u8 canvas> <u16_le x> <u16_le y> <u8 red> <u8 green> <u8 blue> <u8 blend>
- set pixel grayscale: 0x82 <u8 canvas> <u16_le x> <u16_le y> <u8 white>
- size: `0x73 <u8 canvas>` -> `<u16_le x> <u16_le y>`
- help: `0x68` -> help message (in UTF-8)
- get pixel: `0x20 <u8 canvas> <u16_le x> <u16_le y>` -> `<u8 red> <u8 green> <u8 blue>`
- set pixel rgb: `0x80 <u8 canvas> <u16_le x> <u16_le y> <u8 red> <u8 green> <u8 blue>`
- blend pixel rgba: `0x81 <u8 canvas> <u16_le x> <u16_le y> <u8 red> <u8 green> <u8 blue> <u8 blend>`
- set pixel grayscale: `0x82 <u8 canvas> <u16_le x> <u16_le y> <u8 white>`