Skip to content

Commit

Permalink
libm8gd: Fix is_key_pressed() returning false positives/negatives
Browse files Browse the repository at this point in the history
  • Loading branch information
bakana808 committed Jan 6, 2025
1 parent e311474 commit d1f95a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gdm8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ void M8GDClient::on_key_pressed(uint8_t keybits)

if (keybits != last_keybits)
{
m8gd->keybits = keybits;
for (const M8Key key : M8_KEYS)
{
// detect press
Expand Down

0 comments on commit d1f95a1

Please sign in to comment.