mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
タッチパッド不具合(一瞬触れると前の選択が返ってくる)が実は直っていなかったので修正
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@203 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
b1d96120ba
commit
abb45dbaa7
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user