Author Topic: Digispark Keylogger  (Read 5252 times)

Coto

  • Newbie
  • *
  • Posts: 3
Digispark Keylogger
« on: August 31, 2017, 12:16:53 pm »
I'm looking to create a Keylogger using a Digispark and a USB Type A Female Breakout.

Wiring:


Pseudocode:
Code: [Select]
#include "DigiKeyboard.h"

void setup() {
  // don't need to set anything up to use DigiKeyboard
}


void loop() {
  DigiKeyboard.sendKeyStroke(0);
 
  DigiKeyboard.println(Key.Pressed_onTheKeyboard);
}

I know this isn't a Keylogger (yet), but just reads the Keyboard's Data from the Digital Pins and passes the Data onto the Computer. So for now, it just acts like a USB Extender cable in that situation - its role is the same.

I would like to ask:
Code: [Select]
  DigiKeyboard.println(Key.Pressed_onTheKeyboard);
What should I replace
Code: [Select]
Key.Pressed_onTheKeyboard with to get this working?

Hazardous33040

  • Newbie
  • *
  • Posts: 1
Re: Digispark Keylogger
« Reply #1 on: October 15, 2018, 11:50:08 am »
I believe the code is
"KeyPressed"
for arduino.

Here is the reference link:
https://www.arduino.cc/en/Reference/KeyPressed
« Last Edit: October 15, 2018, 11:52:18 am by Hazardous33040 »

dylanbatt74

  • Newbie
  • *
  • Posts: 1
Re: Digispark Keylogger
« Reply #2 on: April 14, 2019, 08:15:22 am »
Coto, Did you ever get anywhere with this idea ?