Hold key Digispark attiny85

Hi, i have a Digispark Attiny85, I did a lot of projects, but I ran into a problem today. How do I hold down a key? for example the A key.
But i don't want that becuase the key will be pressed and unpressed:

for (int i=0; i<2000; i++){

i<2000 was an example.

Somebody have any idea? thx

Hi, please have a look here

Thx, that works