From 4a473f1b659ec09ee73bda035e1ddbcc73f9f0ba Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Sun, 30 Aug 2026 22:08:23 +0200 Subject: [PATCH] initial commit --- README.md | 0 payloads/open-website-qwerty.ino | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 README.md create mode 100644 payloads/open-website-qwerty.ino diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/payloads/open-website-qwerty.ino b/payloads/open-website-qwerty.ino new file mode 100644 index 0000000..6560ce8 --- /dev/null +++ b/payloads/open-website-qwerty.ino @@ -0,0 +1,17 @@ +#include "DigiKeyboard.h" + +void setup() { + // Give Linux time to enumerate the Digispark as a keyboard. + DigiKeyboard.delay(1000); + + // Open a terminal. + DigiKeyboard.sendKeyStroke(KEY_T, MOD_CONTROL_LEFT | MOD_ALT_LEFT); + DigiKeyboard.delay(1000); + + // Launch Firefox. + DigiKeyboard.print("firefox https://hadow.fr"); + DigiKeyboard.sendKeyStroke(KEY_ENTER); +} + +void loop() { +}