Skip to content

Instantly share code, notes, and snippets.

@mbcrump
Created February 6, 2021 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbcrump/e06c44285f60eb323c8740f7753fe2a4 to your computer and use it in GitHub Desktop.
Save mbcrump/e06c44285f60eb323c8740f7753fe2a4 to your computer and use it in GitHub Desktop.
/ Converted using digiQuack by CedArctic (https://github.com/CedArctic/digiQuack)
#include "DigiKeyboard.h"
void setup() {
delay(1000);
DigiKeyboard.sendKeyStroke(0);
// CTRL-ALT-T
DigiKeyboard.sendKeyStroke(KEY_T, MOD_CONTROL_LEFT | MOD_ALT_RIGHT);
DigiKeyboard.delay(1000);
DigiKeyboard.print("ls -l");
DigiKeyboard.delay(1000);
DigiKeyboard.sendKeyStroke(KEY_ENTER);
//DigiKeyboard.delay(1000);
//DigiKeyboard.print("Hello, World!");
}
void loop() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment