import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / ttab / headset / accdet_custom.h
1 struct headset_mode_settings{
2 int pwm_width; //pwm frequence
3 int pwm_thresh; //pwm duty
4 int fall_delay; //falling stable time
5 int rise_delay; //rising stable time
6 int debounce0; //hook switch or double check debounce
7 int debounce1; //mic bias debounce
8 int debounce3; //plug out debounce
9 };
10
11 //key press customization: long press time
12 struct headset_key_custom{
13 int headset_long_press_time;
14 };