https://github.com/jarusll/keydogger Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} jarusll / keydogger Public * Notifications You must be signed in to change notification settings * Fork 1 * Star 43 * License MIT license 43 stars 1 fork Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights jarusll/keydogger This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit message Last commit date Latest commit History 155 Commits .vscode .vscode .gdbinit .gdbinit .gitignore .gitignore LICENSE LICENSE Makefile Makefile README.md README.md demo.gif demo.gif keydogger.c keydogger.c keydogger.h keydogger.h keydoggerrc keydoggerrc View all files Repository files navigation * README * MIT license Keydogger Demo A keyboard macro based on wl-clipboard. Working If all the expanded characters are ascii, key presses are sent. If not, Ctrl-V is sent. Prerequisites * wl-clipboard * gcc * make Installation git clone https://github.com/jarusll/keydogger.git cd keydogger Configure KEYBOARD_EVENT_PATH in Makefile. Can use evtest to find out keyboard input device. To install, run the following as sudo make clean install Testing You can play with macros using the local keydoggerrc file by make clean build sudo ./keydogger debug Configuration Set trigger and expansion values in ~/keydoggerrc @hello=world :kiss:= @truth=Open source is nice and Keydogger can inject this line as keypresses. Acknowledgements * emisilve86 for their code * Arjun for the name Keydogger * Espanso for the 1000 microseconds of delay between events TODO v1 * [*] Daemonize it * [*] Use /dev/uinput to emit events * [*] Read trigger & expansions from .keydoggerrc v2 * [*] Unicode support About No description, website, or topics provided. Resources Readme License MIT license Activity Stars 43 stars Watchers 2 watching Forks 1 fork Report repository Releases 1 tags Packages 0 No packages published Languages * C 94.8% * Makefile 3.8% * GDB 1.4% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.