Skip to content

Keystrokes logging doesn’t work for integers #5

@costantinoai

Description

@costantinoai

Today we had issues logging button presses and scanner triggers when they were associated to integers.

Example: the scanner’s trigger, which has code 53 but is translated by PTB into “5%”. The button 1 translates into “1!”. Letters seem to be fine.

I do not know why this happened today, I don't think I ever encounter this issue in the past. But probably a simple and robust solution would be to avoid the conversion from code to character, and use the codes directly instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions