kimmoli / tohkbd2

28 stars 10 forks source link

Keys duplicated when typing quickly #11

Closed Ape closed 9 years ago

Ape commented 9 years ago

There are often some duplicated characters when typing quickly. I think this is not caused by key repeat because this happens even if you set the repeat delays really high.

Steps to reproduce (version 0.1.2):

  1. Set repeat delay and rate to as high as possible for easier testing
  2. Do the following actions quickly:
    • Press down F => F is emitted as expected
    • Press down J => another F is emitted instead of J (bug)
    • Release F => the expected J from the previous step is emitted now
    • Release J => nothing happens as expected
kimmoli commented 9 years ago

Relates to #10 which was not completely fixed.

kimmoli commented 9 years ago

And yes, this is caused by the logic used to decode key-events from the i2c device. Working on this.

kimmoli commented 9 years ago

@Ape can you check this with 0.1.6.1 ?

Ape commented 9 years ago

Yes, this is fixed. Thanks.