
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Mouse and keyboard input heatmap visualizer and statistics.
Runs a tray program that logs mouse and keyboard input events to a local database, and provides a local web page for viewing statistics and heatmaps by day or month or year.
Logs mouse clicks and scrolls and movement, and keyboard key presses and key combinations; event categories can be toggled off from tray menu.
Provides an option to record named sessions, allowing to group inputs with finer detail than one day.
Keypresses are logged as physical keys, ignoring Unicode mappings. Note: keyboard logging can interfere with remote control desktop, UI automation scripts, and sticky keys.
Data is kept in an SQLite database.
The local web page is viewable at http://localhost:8099/, port can be changed in configuration file.
Heatmap display settings can be set for all inputs or individually:
HeatmapDisplayOptions = {"radius": 30, "keyboard": {"radius": 10}, "moves": {"radius": 10}}
Specific applications to monitor can be blacklisted or whitelisted in configuration file, as:
# Path can be absolute or relative like "C:\Python\python.exe" or "python.exe",
# and can contain wildcards like "python*".
ProgramBlacklist = {executable path: [] if all inputs else [input or event type, ]}
ProgramWhitelist = {executable path: [] if all inputs else [input or event type, ]}
e.g.
# Monitor all inputs from Notepad only
ProgramWhitelist = {"notepad.exe": []}
or
# Ignore keypress events from command prompts, and all mouse events from Paint.
ProgramBlacklist = {"cmd.exe": ["keys"], "mspaint.exe": ["mouse"]}
Non-standard keys can be added in configuration file, as:
CustomKeys = {numeric key code: "text label for key"}
e.g.
CustomKeys = {21: "IME Han/Yeong", 25: "IME Hanja"}
Screen areas to monitor for mouse events can be specified in configuration file, allowing to log events from specific areas only or to skip events from blacklisted areas:
# Coordinates given as pixels, or as percentages of screen size (decimal fractions 0..1).
MouseRegionsOfInterest = [[x, y, w, h], ] or [[screen index, [x, y, w, h]], ]
MouseRegionsOfDisinterest = [[x, y, w, h], ] or [[screen index, [x, y, w, h]], ]
e.g.
# Ignore mouse events from center of all screens
MouseRegionsOfDisinterest = [[0.49, 0.49, 0.02, 0.02]]
For more on configuration settings, see DETAIL.md.
In Linux, Numpad navigation keys like PageUp are logged as ordinary PageUp when NumLock off.
Works best on Windows, tested on Linux, might work on Mac.
Windows: download and launch the latest release from http://github.com/suurjaak/InputScope/releases.
Or:
pip install inputscope
Three components in source code form:
Listener and web-UI components can be run separately.
In source code form, data and configuration is kept under inputscope/var
.
The pip installation will add commands inputscope
, inputscope-listener
and inputscope-webui
to path.
If wxPython is not available, InputScope will not have its tray program, and will not recognize multi-monitor setups in mouse statistics.
For application statistics in Linux, the x11-utils
system package needs to be installed.
Heatmaps are drawn with heatmap.js, released under the MIT License, (c) 2014 Patrick Wied, https://github.com/pa7/heatmap.js.
Icon from Paomedia small-n-flat iconset, released under Creative Commons (Attribution 3.0 Unported), https://www.iconfinder.com/icons/285642/monitor_icon.
Keyboard image modified from Wikipedia File:ISO keyboard (105) QWERTY UK.svg
,
released under the GNU Free Documentation License,
http://en.wikipedia.org/wiki/File:ISO_keyboard_(105)_QWERTY_UK.svg.
Copyright (C) 2015 by Erki Suurjaak. Released as free open source software under the MIT License, see LICENSE.md.
FAQs
Mouse and keyboard input heatmap visualizer and statistics
We found that InputScope demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.