Need help for setting interrupt for multi analog button

I had problem for the polling coding. I has 5 way analog joystick button in TFT LCD shield and I use IF loop for the coding... but the result end with slow response of the button. I search online and there are mention for ACSR interrupt, but I cant understand it.

can somebody help me??

Slow button response is usually a problem of your code using delay() for timing or waiting in a loop for some event. I don't think having an interrupt will help. If you show your code perhaps someone can spot the problem.

the attached file is the code for my project...
thx...

Button_Control.ino (7.33 KB)

You should put some code before the call to readButton(), to record the time.
You should put some code after the call to readButton() to record the time, to compute the difference between the times, and to print the difference.

There is nothing about the function that indicates to me that it will take long at all to read which switch was pressed.

More likely, it is the fact that you redraw the bit map over and over, instead of just when the switch change happens, that is what is taking so long.