Code Monkey home page Code Monkey logo

Comments (34)

aahung avatar aahung commented on July 20, 2024 1

@cperezabo Try v0.4.0 and turn on "aggressive mode" in setting to see if it can solve your problem.

from unshaky.

aahung avatar aahung commented on July 20, 2024 1

screen shot 2019-02-23 at 1 16 26 pm

from unshaky.

aahung avatar aahung commented on July 20, 2024 1

@cperezabo Just wanna check how it goes?

from unshaky.

aahung avatar aahung commented on July 20, 2024

Can you open the debug windows, reproducing the problem and post the debug log here so I can look into it.

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

I am trying to reproduce it but it is not happening now, as you already know it is very random! Sometimes nothing happens and sometimes it start failing repeatedly. As soon as it happens again I will record with the debug window and post it here!

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

Oh and sorry for the title thing, I was so concerned about the issue itself I forgot finish writing the title

from unshaky.

aahung avatar aahung commented on July 20, 2024

Sure, let's see whether it is some issue can be fixed by software. Hope it is just you typing very fast :-). Otherwise, I kind of worry whether it is kind of next level hardware issue the bounce no long be restricted within a very short time, and making it hard to distinguish from normal key presses.

@cperezabo no worry, the title thing is totally fine.

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

While I was writing the word "finish" it happened with the "n" and I wrote "fininsh", luckily I had the debugger opened (n key with 50ms)
screen shot 2019-02-10 at 18 16 05

from unshaky.

aahung avatar aahung commented on July 20, 2024

Kind of weird, it does not seem to be typing "finish"

52539753-77b56e00-2d60-11e9-8726-14ebe207ebe4

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

I have noticed debugger is not logging keys with 0ms delay, that's why you can't see the full "finish" word. Is this partial logging a by-design behavior or a bug? It would be easier to debug if you add a column with the value of the pressed key so you can graphically find the word. Just an idea.

from unshaky.

aahung avatar aahung commented on July 20, 2024

Oh I forgot that sorry. It was implemented as it is by-design but now I think it makes more sense to show all keys.

Edit: I can tell from the log, the keyup of 1st N and keydown of 2nd N are very close (32ms), which is shorter than 50ms, it should be able to cancel it. It is odd it did not do the job.
image

As for showing the word instead of the code, I should definitely implement it, thanks for the suggestion.

from unshaky.

aahung avatar aahung commented on July 20, 2024

If you set the delay to 50ms, the last "N" should have been dismissed. Can you try to set the delay of "N" to a very large value (e.g., 900ms) and press it quickly for several times and see whether some "N" are labelled dismissed? Maybe something is wrong with the event interception?

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

I setup 900ms for R key and It was dismissed just the second time I pressed it. I didn't even do it quickly
screen shot 2019-02-20 at 09 13 56

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

Now quickly
screen shot 2019-02-20 at 09 17 53

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

When I uploaded the last image I saw something with my developer's eyes. I tried again with a large debugger window and after pessing R quickly...... Is it a pattern?
screen shot 2019-02-20 at 09 20 23

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

Now with pressing "o" and "r" at a fixed pace
screen shot 2019-02-20 at 09 30 00

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

Now pressing just "R" quickly, and then less quickly, and less quickly
screen shot 2019-02-20 at 09 35 50

from unshaky.

aahung avatar aahung commented on July 20, 2024

It seems to work as expected for the 5 screenshots you just uploaded... My guess is maybe the delay was not effectively set previously. Can you set the delay back to normal and see if the problem still persists?

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

It's set back to 55ms as the rest of the keys. Problem persists. I get a key repeat after having press another key, randomly of course because I'm just typing and boom.

from unshaky.

aahung avatar aahung commented on July 20, 2024

I am starting to wonder whether it is vibration from the press on another key causes the problem. Right now there are "n" and "o" being effected as far as I know, any other keys?

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

No I have delay set up for [c, e, i, k, n, o, r, t, space] and happens to all of those keys, but some of them are used more often.

from unshaky.

aahung avatar aahung commented on July 20, 2024

Sorry I still cannot figure out what the cause is. The only option right now is to keep debug window open to generate more log, and hope we can see some patterns.

This version of Unshaky below has key delay in the debug window, you can also build it with the latest commit.
Unshaky_v0.3.4_internal.zip

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

I was writing "Hearts on fire" and it ends up being "Hearts ono fire". There it is the ghost "o"
screen shot 2019-02-23 at 13 43 19

from unshaky.

aahung avatar aahung commented on July 20, 2024

Wow, your “o” key has triple presses... I might have an idea to deal with it. Thanks for the debug info.

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

I just installed it and will be checking it

from unshaky.

aahung avatar aahung commented on July 20, 2024

I think this "aggressive mode" should be the default mode when it is tested enough.

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

Yes, I think that too. I have been using it since yesterday and it works flawlessly but something happend 1% of times, I got some duplicated. I was writing "I don't know" and got "I don't knoow"
screen shot 2019-02-26 at 08 54 36

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

Take a look at the first ~6, don't know what's happening. Problem is almost cancelled btw. While writing this I got another extra "o"

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

Writing "nos" I got "noos", I hope to have marked correctly, just to help.
screen shot 2019-02-26 at 11 52 18

from unshaky.

aahung avatar aahung commented on July 20, 2024

Great to know 99% of the time it works!

From the log the abnormal bounce occurred >55ms, which is longer than what I expected, and difficult to distinguish from normal presses. If you type fast. If it is only happening to your “o” key, try to set the delay of ‘o’ to something larger without mess up with your normal typing.

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

screen shot 2019-02-26 at 17 23 29

No writing "turno con" got "turnoo con", the crazy thing is why there is an "o" befor pressing the "n". It's like having a ghost "o" in "tur**o**no"

from unshaky.

aahung avatar aahung commented on July 20, 2024

It is not before pressing the "n", instead it is before releasing the "n" which is fine.
The issue here is (see the screenshot) for the two "o" presses, the second one is obviously unwanted but since it is ~70ms away from the first one (>55ms), Unshaky won't block it. I would suggest you to set the delay of "o" to something around "80ms."

53443934-9ae04e80-39eb-11e9-9dbc-73153541e036

from unshaky.

cperezabo avatar cperezabo commented on July 20, 2024

55 is my longest delay possible because I cannot type google nor facebook. I guess I will have to live with it 😕

from unshaky.

aahung avatar aahung commented on July 20, 2024

I really hope it can block 100% of these, but your issue seems to be severe... and software solution might not be able to deal with it anymore...

PS: thanks for helping improve Unshaky!

from unshaky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.