Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.
This repository was archived by the owner on May 9, 2023. It is now read-only.

Fix c_recv_buffer using c_byte #12

Open
@kennyhml

Description

@kennyhml

In the device class, you initialize the receive buffer as 12 or 24 signed bytes c_byte depending on the device type.

Later in the device_io_result class, that data is passed and converted to bytes, which causes an error

bytes must be in range(0, 256).

This happened because signed bytes are used for the recv buffer, please consider to use c_ubyte to fix this issue.

When capturing strokes, if you are using a debugger for example, you will not be able to use your devices until you restart your computer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions