sareph / th9x

Automatically exported from code.google.com/p/th9x
Other
0 stars 0 forks source link

Key-debounce insufficient #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. program any model
2. change values i.e. in mix menu
3.

What is the expected output? What do you see instead?
At every keypress, I expect a single value change of item move.

What version of the product are you using? On what operating system?
R133

Please provide any additional information below.
The switches up/dn/+/-/menu/exit sometimes give double action at a single key 
press. Simple way to add debounce is by sensing them less often (i.e. every 
100mSec). Typical bounce time of a switch is less than 10mSec.

Original issue reported on code.google.com by harm.del...@echostar.com on 17 Aug 2010 at 8:52

GoogleCodeExporter commented 9 years ago
Filter time is currently 20 ms. I will increase it to 40 ms. (i think 100ms is 
to much for very short key-presses)

Original comment by th...@t-online.de on 27 Aug 2010 at 10:36

GoogleCodeExporter commented 9 years ago
R141 does not show double keys anymore, Fixed.

Original comment by harm.del...@echostar.com on 28 Aug 2010 at 3:45

GoogleCodeExporter commented 9 years ago
fixed in r143

Original comment by th...@t-online.de on 8 Sep 2010 at 10:57

GoogleCodeExporter commented 9 years ago
Key debounce was correct in R141, but problem shows again in R146.

Original comment by harm.del...@echostar.com on 16 Sep 2010 at 7:53

GoogleCodeExporter commented 9 years ago
I am not sure if this issue has affect to my problem, but seems yes. I 
installed R146 and for all trim keys I have lost repeat function if I press 
trim buttons LONG, only single click is working. 

Original comment by vlad...@yahoo.com on 18 Sep 2010 at 2:25

GoogleCodeExporter commented 9 years ago
since r141 the key repeat for trim keys is deactivated because isues 35 and 39.
Key repeat is working as long as values change towards 0.

Original comment by th...@t-online.de on 18 Sep 2010 at 10:19

GoogleCodeExporter commented 9 years ago
after r153, the key repeat is slowed down from 160ms to 320ms.
This could have been a reason for the 'double keys'

Original comment by th...@t-online.de on 22 Sep 2010 at 1:15