UltimateHackingKeyboard / firmware

Ultimate Hacking Keyboard firmware
Other
420 stars 66 forks source link

Trackpoint drifts #728

Closed kareltucek closed 11 months ago

kareltucek commented 11 months ago

Here is some algorithm to reset drifts...

If you want debug info, then checkout only the first commit - then it will show "RST" on resets on the segment display.

kareltucek commented 11 months ago

Sometimes the module seems to stop responding. Not sure why.

mondalaci commented 11 months ago

Just started testing this. I'll get back with my findings in a day or two.

mondalaci commented 11 months ago

@kareltucek So far, so good, not that I experience drifts often. Usually, once every few days. How about you?

kareltucek commented 11 months ago

Well, I can induce them intentionally...

kareltucek commented 11 months ago

The more pressing issue is whether the algorithm causes any false positives.

mondalaci commented 11 months ago

What happens then? Does your algorithm detect drifts and reset the trackpoint?

kareltucek commented 11 months ago

Yes.

mondalaci commented 11 months ago

Great news! How often do you usually experience drifts without this fix?

kareltucek commented 11 months ago

Rarely, unless I try to induce them on purpose.

(Also this fix has no effect on whether or not I experience drifts. Only it will resolve them after a few seconds of such a drift.)

mondalaci commented 11 months ago

I expected a more specific answer than "rarely". :)

I asked to figure out how long should we test your fix before merging it. What do you think?

kareltucek commented 11 months ago

I don't think we can test this very thoroughly, so we should probably just release it and wait if anyone complains.