Skip to content

inputlab v0.1.6

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Nov 04:07

inputlab 0.1.6. if you installed 0.1.0, replace it with this. on windows 0.1.0 never received any keyboard or mouse input (the window toolkit silently replaced the app's raw input registration), which also made the exit keys dead. fixed here, with hook fallbacks so the exit keys keep working even if raw input ever goes quiet, and the device list now shows one entry per physical device instead of every windows interface, with real names: a wireless mouse is "logitech wireless mouse (usb receiver)" until you pick its model (then the list uses that name), and laptop trackpads are called touchpads and have their own drawing. dualsense and dualshock 4 pads are now read straight from hid, so they get the right drawing and the stick and drift tests. the dualsense has its own drawing and reports battery, and rumbles over usb. a wireless receiver's keyboard half and firmware hotkey/backlight endpoints ("ITE Device") are hidden from the list. there is 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-capture first 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.