S_IDLE
static k_status status = S_IDLE ;
status = S_IDLE ;
else if (status == S_IDLE) { /* pen is newly near the tablet */