I saw the keyboardprank hacks that people have built and I have tried then on my PC with great success.
but when i try to plugin the easiest one "turn off and on capslock" on my mac at work, nothing happens.
I use this line to invoke the caps lock key, and it works like a charm on my pc, but when I tried it in my mac(tried it via external TBG usb port and in USB directly on my Macbookpro) it did not work at all?? any ideas why? (I have programmed the digispark via PC)
#include "DigiKeyboard.h"
void setup() {
DigiKeyboard.update();
}
void loop() {
DigiKeyboard.sendKeyStroke(57);
delay(random(1000,60000));
}