GhostPHX / kbdwtchdg

V-USB-based watchdog that identifies itself as a USB keyboard and sends keyboard strokes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kbdwtchdg

Overview

A watchdog running V-USB on an Attiny85 that identifies itself as a USB keyboard and sends keyboard strokes.

What Can kbdwtchdg Do?

WTCHDG Mode

In WTCHDG mode, kbdwtchdg listens for the capslock trigger to occur during WTCHDG_INTERVAL. If no trigger occurs, the text is written. If a trigger occurs, the timer is reset.

Non-WTCHDG Mode

After receiving the capslock trigger and waiting for DELAY time the text is written.

Initial Writing

If first_start is set the text is written after INITIAL_DELAY after power up.

state diagram

How to Use

The repo contains an AtmelStudio 7 project file that is preconfigured for kbdwtchdg.

Documentation can be found here.

Acknowledgements

The code of this project is based on Frank Zhao's USB business card and built based on Dovydas R.'s circuit diagram for usb_pass_input_with_buttons.

About

V-USB-based watchdog that identifies itself as a USB keyboard and sends keyboard strokes

License:GNU General Public License v3.0


Languages

Language:C 44.2%Language:Assembly 30.9%Language:SourcePawn 14.0%Language:PHP 9.9%Language:C++ 1.0%