タッチパッド不具合(一瞬触れると前の選択が返ってくる)が実は直っていなかったので修正

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@203 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yoshida_teruhisa 2007-11-16 08:18:07 +00:00
parent b1d96120ba
commit abb45dbaa7

View File

@ -557,7 +557,13 @@ BOOL SelectSomethingByTP( u16 *nowCsr, SelectSomethingFunc func[], int funcnum )
if( csr_old == csr ) {
if( same_csr_count < TP_CSR_TOUCH_COUNT ) {
same_csr_count++;
}else {
{
static int a;
a = csr_old;
a++;
}
}
if( same_csr_count == TP_CSR_TOUCH_COUNT ) {
*nowCsr = csr;
}
return FALSE;
@ -618,7 +624,8 @@ BOOL SelectMenuByTP( u16 *nowCsr, const MenuParam *pMenu )
if( csr_old == i ) {
if( same_csr_count < TP_CSR_TOUCH_COUNT ) {
same_csr_count++;
}else {
}
if( same_csr_count == TP_CSR_TOUCH_COUNT ) {
*nowCsr = i;
}
return FALSE;