Expand description
Pure protocol codecs with no device or operating-system I/O.
纯协议编解码,不执行设备或操作系统读写。
Structs§
- Report90
- A decoded classic 90-byte Razer vendor report.
Enums§
- Report90
Error - Errors produced while encoding or decoding a classic report.
Constants§
- REPORT_
90_ ARGUMENT_ CAPACITY - Maximum number of argument bytes carried by a classic report.
- REPORT_
90_ CRC_ INDEX - Byte position containing the report checksum.
- REPORT_
90_ RESERVED_ INDEX - Byte position containing the reserved trailing byte.
- REPORT_
90_ SIZE - Total size of the classic Razer vendor report.
Functions§
- calculate_
crc - Calculate the XOR checksum over byte positions 2 through 87 inclusive.