Guidance for tuning combos for false positives/negatives? #79
-
i am currently set up to use a require-prior-idle-ms = 150 ms, with timeout-ms = 18 (same config for horizontal combos that this repo uses), and i am wondering how would i tune these settings to decrease false positives (combo firing when expecting key taps)? i believe i would want to decrease timeout-ms if i encounter false positives, but wanted to confirm! thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, reducing the combo term and increasing the require-prior-idle term should help. The former defines the interval within which both keys have to be pressed to trigger the combo. There is no downside of reducing it as long as you can reliably trigger the combo when intended. The latter defines the idle time you have to wait after any other key press for a combo to trigger. Increasing this value may also prevent combos going off accidentally in the middle of typing bursts. The downside is that you will need to pause for that amount of time when intentionally trying to trigger combos. |
Beta Was this translation helpful? Give feedback.
-
thank you! do you know of any diagnostics/logging i could run to see if i fire a false negative because of the "timeout-ms" setting or the "require-prior-idle-ms" settings? |
Beta Was this translation helpful? Give feedback.
Yes, reducing the combo term and increasing the require-prior-idle term should help.
The former defines the interval within which both keys have to be pressed to trigger the combo. There is no downside of reducing it as long as you can reliably trigger the combo when intended.
The latter defines the idle time you have to wait after any other key press for a combo to trigger. Increasing this value may also prevent combos going off accidentally in the middle of typing bursts. The downside is that you will need to pause for that amount of time when intentionally trying to trigger combos.