geekhack

geekhack Community => Keyboards => Topic started by: b0f0 on Sat, 26 March 2016, 18:52:25

Title: SOLVED: Some keys keep repeating it self, what is the problem ?
Post by: b0f0 on Sat, 26 March 2016, 18:52:25
Hi,

1. What is the correct debounce time for greetech brown switches ? (for cherry mx is 5ms)
2. If a sign keeps repeating it self if I press it only once, is this a switch problem or a software problem or something else?

The problem:
I am editing C file for my ergodox firmware. Almost everything works but two keys are giving me problems.
If I press a key it repeats it self. And then it looks like this key never gives the command to stop. So if you press any other key
on the keyboard, that key doesnt work because the faulty key is still pressed. But not physicly it looks like the key doesnt recieve the command to stop outputting the charcter.
Physicly the key returns in normal position after releasing it, so this looks okey.

Now I am a bit lost, need your help.
The keyboard is ergodox.
Title: Re: Some keys keep repeating it self, what is the problem ?
Post by: toidbb on Sat, 26 March 2016, 18:58:45
If it keeps on repeating over and over, does it stop if you press the switch again?

You may have a short from the solder of the switch or diode, to the case, or inside the switch that is causing the key to appear depressed after it has come back.
Title: Re: Some keys keep repeating it self, what is the problem ?
Post by: b0f0 on Sat, 26 March 2016, 19:04:48
it doesnt stop repeating. Just keeps repeating. Even if I press the key again.
Title: Re: Some keys keep repeating it self, what is the problem ?
Post by: xtrafrood on Sat, 26 March 2016, 19:18:14
Well you can rule out hardware if you want to test the Ergodox with pre-configured firmware.
Title: Re: Some keys keep repeating it self, what is the problem ?
Post by: b0f0 on Sat, 26 March 2016, 19:25:14
It could be software or the soldering. I opened the Ergodox and the soldering looks good.
I m writting an email to the developer, maybe I forgot to write something in the C file.
Title: Re: Some keys keep repeating it self, what is the problem ?
Post by: b0f0 on Sun, 27 March 2016, 09:49:03
Solved.

https://github.com/benblazak/ergodox-firmware (https://github.com/benblazak/ergodox-firmware)
use partial-rewrite code not the master branch code, its much easier to programme the additional keys that way.
So it was not a hardware error. I am so happy !  ;D
Title: Re: Some keys keep repeating it self, what is the problem ?
Post by: xtrafrood on Sun, 27 March 2016, 10:30:31
Solved.

https://github.com/benblazak/ergodox-firmware (https://github.com/benblazak/ergodox-firmware)
use partial-rewrite code not the master branch code, its much easier to programme the additional keys that way.
So it was not a hardware error. I am so happy !  ;D
Congrats! :)