aboutsummaryrefslogtreecommitdiff
path: root/makerecovery
diff options
context:
space:
mode:
authorNelson Castillo <arhuaco@freaks-unidos.net>2008-12-29 12:11:40 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-12-29 12:11:40 +0000
commit39a497b0421174c3f23ef3dffb0675a4db3aa3a0 (patch)
treef3aedf29af619387353d074b326770f6eef843e9 /makerecovery
parentd494163d44eff907dac6bebc22daa586164bdf1e (diff)
Filter AUX key bouncing
This patch filters AUX key bouncing. We store the state of the AUX button and only change it when we notice that at least AUX_TIMER_CONSECUTIVE_EVENTS consecutive equal GPIO reads occur. This should solve #2185 (AUX button makes interrupt storm) but we still need the confirmation from someone affected by the IRQ storm. In my test setup I could see an improvement but I would only get 1 unwanted IRQ. The next step is to use the same timer for more keys. For that we could use the neo1973kbd_default_key_irq function for the AUX key also. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
Diffstat (limited to 'makerecovery')
0 files changed, 0 insertions, 0 deletions