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++){
    DigiKeyboard.sendKeyStroke(KEY_A);
}

i<2000 was an example.

Somebody have any idea? thx

Hi, please have a look here

Thx, that works

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.