add mouse timer function

mouse timer funciton doesn't work yet and it's in debug process