Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing #38 #56

Merged
merged 5 commits into from
Feb 28, 2024
Merged

Fixing #38 #56

merged 5 commits into from
Feb 28, 2024

Conversation

lpascal-ledger
Copy link
Contributor

@lpascal-ledger lpascal-ledger commented Feb 16, 2024

Fix #38
Fix #34

Previous behavior:

Between every character sent to the host, the app was inserting an empty report (0x0000000000000000).

New behavior

Between every character sent to the host, the app inserts an empty report (0x0000000000000000) if the previous character was not using the SHIFT key ; else it sends a CAPS report (0x0200000000000000).

Apparently some applications get confused if the character is capitalized but the following intermediate USB packet is not, and choose to render the first character as capitalized or not randomly.

That also impacts special characters triggered with the SHIFT key, for instance:

  • Qwerty

    • 7 / &
    • ] / }
    • / / ?
  • Azerty

    • $ / £
    • è / 7
    • : / /

@lpascal-ledger lpascal-ledger marked this pull request as ready for review February 27, 2024 13:09
@lpascal-ledger lpascal-ledger force-pushed the bug/#38 branch 3 times, most recently from 315aff5 to e043f78 Compare February 28, 2024 07:46
@lpascal-ledger lpascal-ledger merged commit 23ff2a7 into develop Feb 28, 2024
33 checks passed
@lpascal-ledger lpascal-ledger deleted the bug/#38 branch February 28, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

typed password is not deterministic (lowercase / uppercase change) Does not work under Wayland
1 participant