Exit status 1 Keyboard does not name a type Help

#include <Keyboard.h>

// Utility function
void typeKey(int key) {
Keyboard.press(key);
delay(50);
Keyboard.release(key);
}

void setup()
{
// Start Keyboard

Keyboard.begin();

// Start Payload
delay(2000);

Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press(110);
Keyboard.releaseAll();
delay(100);

Keyboard.print(“Rick Astley - Never Gonna Give You Up (Video) - YouTube”);
Keyboard.press(KEY_RETURN);
Keyboard.releaseAll();
for (int i = 0; i < 26; i++) {
typeKey(KEY_F10);
}

for (int i = 0; i < 18; i++) {
typeKey(KEY_F6);
}

delay(1500);
}
Keyboard.press(KEY_LEFT_ALT);
Keyboard.press(’-’);
Keyboard.releaseAll();

Keyboard.press(KEY_LEFT_GUI);
Keyboard.press(‘l’);
Keyboard.releaseAll(KEY_LEFT_GUI, ‘l’);
Keyboard.end();

}

// Unused
void loop() {}

Which Arduino board are you using ?

You have a superfluous '}'.

You have a wrong function call

Keyboard.releaseAll(KEY_LEFT_GUI, 'l');

The program is on the border of malicious.

So do i remove that part and replace with Keyboard.releaseAll();

Yes.

I think you should hold the key kombinations longer than just press/release.

Why do you obfuscate the Ctrl-n?

Keyboard.press(110);