Repository navigation
inputlab v0.1.9
Pre-releaseinputlab 0.1.9. if you installed 0.1.0, replace it with this. the dualsense is now drawn with the real controller outline, lit input by input. new "motion + audio" tab for playstation pads: gyro and accelerometer with a zero step, adaptive trigger resistance, and over usb-c the controller's speaker, microphone and haptic motors (greyed out over bluetooth with "connect via usb-c"). the controller test also has an eye that follows the stick, after checking the stick for drift. the keyboard test watches its own shortcut blocker and installs it again if windows stops calling it. earlier fixes: raw input on windows (0.1.0 never received keyboard or mouse input), one entry per physical device with real names, dualsense and dualshock 4 read straight from hid (sticks, battery, rumble), laptop touchpads, a safe mode switch in settings (same as --no-capture) for first runs.
inputlab is a native desktop input tester: it finds every keyboard, mouse, controller, midi device and hid gadget, shows each one live, and measures polling rate and dpi from real raw input. no accounts, no network, everything stays on your machine.
download
| system | file | status |
|---|---|---|
| windows | the .msi or the -setup.exe |
primary |
| macos | the .dmg (apple silicon or intel) |
experimental: lists devices, no live keyboard or mouse input yet |
| linux | the .AppImage or the .deb |
experimental: needs read access to /dev/input (the input group) |
the builds are unsigned. windows smartscreen may warn the first time: more info, then run anyway.
before you test anything
start it once with --no-capture. nothing is locked, hooked or swallowed, and the exit button works in every test. ctrl+alt+del always works.
a normal test captures the device under test, and you leave it differently depending on the device:
- mouse: hold esc for about 1 s. there is no exit button on screen at all.
- keyboard: click the exit button, or hold ctrl+alt+shift+backspace for about 1.5 s (from any connected keyboard).
- controller, hid, midi: click the exit button. controller buttons never exit.
if the window loses focus, the ui stops answering, or the app crashes, everything is released.
what is in it
- keyboards: full, tkl, 75%, 65% and 60%, ansi and iso, tested-keys checklist, rollover, chatter detector, analog depth (wooting profile, experimental)
- mice: polling rate from raw timestamps (checked from 125 hz to 8 khz in tests), dpi test, sensor jitter and angle snapping, button and wheel tests, a model that follows your mouse
- controllers: dualsense, dualshock 4, xbox, switch pro and generic layouts, stick circularity, deadzone, drift, polling, rumble, battery
- generic hid with a live hex dump, and midi
- session summary with json export and copy-as-text
known limits, said plainly
- if windows ever stops delivering raw input to the app, keys and clicks are read from the system hooks instead and a banner says so, so the exit keys keep working. movement and polling rate need raw input and will be missing in that case.
- the windows lockdown (cursor clip, hooks, esc-hold, exit combo) compiles and its logic is unit tested, but it has not yet been run on a real machine by the author. use
--no-capturefirst and report anything odd. - the keyboard lock now runs its hooks on a dedicated thread and tests them when a keyboard test starts (it injects one F24 key and checks the hook saw it). if windows is not calling the hook, the session screen says so. in 0.1.5 and earlier the hook was never called on at least one windows machine, so alt+tab and the windows key were not blocked.
- a laptop touchpad's hid-over-i2c side ("HIDI2C Device") is folded into the "laptop touchpad" entry instead of listed as a separate generic hid device.
- the laptop's own keyboard on ITE controllers (ITE Device 8000-8999) is one "laptop keyboard" entry; the legacy ps/2 placeholder is hidden.
- a dualsense over bluetooth is switched into its full report mode (battery, and rumble with the required checksum), and the controller view has a live hex dump to trace a wrong button to a byte.
- alt+tab and the windows key were seen leaking through the keyboard lock on one windows machine. keystrokes injected by software are now swallowed too, and the session screen shows a live line (keys seen, swallowed, from software) so a leak can be diagnosed. if a shortcut still gets through, that line says why.
- buttons you have remapped to macros in logitech g hub, razer synapse or similar do not register: the software swallows them before windows sees them. test with default button assignments.
- steam interferes with playstation pads (it grabs the ps button and can show the pad as an xbox one): close steam while testing.
- not checked on real hardware: 4k and 8k mice, analog keyboards (the wooting report format is unverified), specific controllers, rumble and battery.
- ctrl+alt+del, win+l and other os-reserved combos cannot be captured. the keyboard view lists them as reserved.
- mouse and controller silhouettes are grip families, not product renders.
licence
source viewable, not reusable. you may read it, learn from it and build your own app, but not copy the project or pieces of its code. see LICENSE.