projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
arm
/
mach-mt8127
/
pixi3_10
/
touchpanel
/
tpd_default.c
1
#include
"tpd.h"
2
3
//#ifndef TPD_CUSTOM_TREMBLE_TOLERANCE
4
int
tpd_trembling_tolerance
(
int
t
,
int
p
) {
5
if
(
t
>
5
||
p
>
120
)
return
200
;
6
if
(
p
>
90
)
return
64
;
7
if
(
p
>
80
)
return
36
;
8
return
26
;
9
}
10
//#endif