Rockbox mail archive
Subject: Re: [HELP] Button bouncing problem on iaudioX5
Re: [HELP] Button bouncing problem on iaudioX5
David Bleakley a écrit :
>>>I began to write a patch for button-x5.c file to filter the button
>>>status (http://www.rockbox.org/tracker/task/6787) but things are not
> I am one of these people. I tried the patch and it did improve the
> I tried to improve it with various filters, but came to the conclusion
> that I needed to see the raw data and then run various filters in excel
> to compare properly.
> I had the button-x5.c (attached) write the 1st 100 key presses after
> pressing select. I got some data out, but then I damaged my harddrive
> and am waiting to repair it.
I can't understand why you have to add (cursor == 0) in the following
lines to avoid Rockbox hanging !
if (data >= 0xf0 && cursor == 0) //Reset FILTER as no button was pressed
for (i = 0; i < tab_size; i++)
tab[i] = 0xff;
data_last_valid = 0xff;
Received on 2007-09-22
Page was last modified "Jan 10 2012" The Rockbox Crew