Read or change input from a real keyboard, mouse or compatible gamepad.
Guide en français · SDK · Full version on Discord
64-bit Windows 10 version 1709 or later, or Windows 11.
If another Interceptor edition is installed, follow the removal steps first.
- Run InterceptorSetup.exe and choose Install / reinstall. If setup asks for a restart, restart Windows and reopen it.
- Open InterceptorExampleUI.exe.
- Press a key or move a stick. The viewer should show input from your device. Click Stop when you finish.
Important
Version without the one-hour demo limit
In Discord, choose Add Friend and enter titancsa. Send the project name. Purchase details are sent privately.
Project details and screenshots
Capture physical input, identify its source, modify or block it, and forward it to Windows with a Microsoft-signed kernel filter driver and a two-file C++17 SDK. Supports keyboard, mouse and compatible HID, XInput/XUSB, XInputHID and GIP controllers on Windows 10 1709+ / Windows 11 x64.
Download | Installation | C++ API | Examples | Compatibility
| Setup and diagnostics | Input viewer |
|---|---|
![]() |
![]() |
Screenshots illustrate the interface; the controller preview uses simulated input.
- Download InterceptorSetup.exe from this repository's latest release.
- Run it, accept the administrator prompt and choose Install / reinstall.
- If requested, use Windows Restart, then reopen setup to finish associations.
- Open InterceptorExampleUI.exe and accept the administrator prompt. Observation starts automatically. Tabs select the displayed family. Stop releases capture. Run one capture app at a time.
- Use Diagnose to check installation and export or copy a per-device report.
For command-line installation or removal, use the same release's console installer:
.\InterceptorSetupConsole.exe /install
.\InterceptorSetupConsole.exe /uninstallExit code 3010 requests a restart. After installation, rerun /install if setup
still has pending associations. The GUI also provides Uninstall.
The Microsoft signature covers the driver package; installer and example EXEs
have their own signature status. Installation and recovery.
The filter sits in the supported physical device's Windows input stack. Without a capture owner, input passes through normally. An application receives input batches, changes typed fields or marks events blocked, then sends the batch back through the filter. Closing the application releases its capture.
| Family | Input path |
|---|---|
| Keyboard and mouse | Associated Windows input paths and supported HID mapper collections |
| HID controller | Descriptor-based axes, triggers, buttons, hats and other declared controls |
| XInput / XUSB | Compatible wired USB source beneath the native Windows XUSB driver |
| XInputHID | Supported HID collection beneath the Windows translator |
| GIP | Compatible USB gamepad protocol, including the standard state and Guide input |
Compatible profiles include DualShock 4 / DS4 (PS4), DualSense (PS5), wired Xbox 360, Xbox One and Xbox Series X|S. Support depends on connection, descriptor and protocol; see the controller matrix. Setup lists Windows device nodes, so one physical controller can have several rows.
Interceptor MultiLang provides a C ABI and Python, Node.js/TypeScript, .NET, Java, Go and Rust wrappers for the matching combined Interceptor release. Start with its release packages and language examples; check the required runtime and driver version. The wrappers are not compatible with the split Keyboard & Mouse, controller-only or Interception V2 editions merely by changing headers. Wrapper/SDK source is MIT; the matching demo driver keeps its own one-hour-per-kernel-boot demo and separate full-version terms.
First SDK check. Extract the starter ZIP and run python scripts/test_first_sdk.py interceptor --run from that folder. It reads the installed driver's status without opening a capture session. Tools required.
This edition uses Get_Input_With_Timeout() / Send_Input().
The historical Windows Input Bridge edition uses Read() / Write()
and a move-only batch; its public repository is currently unavailable. The APIs are not drop-in
replacements: use each edition's matching SDK, driver and examples. If an
application already uses this API, keep its matching edition until you port and
test it. Compare the published validation scope and test your real devices.
Follow each edition's uninstall/restart instructions before switching overlapping
input filters; changing headers alone does not switch the installed driver.
Add Interceptor.h and
Interceptor.cpp to a Windows x64 C++17 project.
Include the header and compile the source once. No Interceptor DLL or prebuilt
LIB is required. Run capture applications as administrator.
Get_Input_With_Timeout() automatically creates and reuses the capture session.
It returns a mixed batch; Send_Input(inputs) determines the input types,
destinations and counts. HID state is decoded from the device descriptor.
Finish and forward each batch before receiving another one, including families
you do not modify. API reference.
Demo/evaluation driver source is available; see driver/README.md for build instructions and separate evaluation-source terms. Those terms apply to Titan-authored driver code. Third-party source licenses and existing application/SDK licenses remain applicable. Full/commercial implementation and private signing or activation material are excluded.
The latest release contains both standalone installers, the standalone viewer, an examples ZIP, a source SDK ZIP and SHA256SUMS.txt. Use matching driver, SDK and examples from the same release. Updating the viewer alone does not update the driver.
For raw relative mouse movement, extract the examples ZIP and run
09_Mouse_Move_Horizontal.exe as administrator. Enter 300 or
-485, then press Enter to send that value directly as mouse X input.
See the example instructions.
Interceptor/ Interceptor.h and Interceptor.cpp
Examples/
Console/ Independent keyboard, mouse and controller C++ examples
UI/ Graphical input viewer
Installer/
Console/ Console installer
UI/ GUI, shared setup engine and compiled driver/recovery binaries
docs/ Installation, API, compatibility and screenshots
licenses/ Driver terms and attribution
With Visual Studio 2022 C++ tools, a Windows SDK and CMake available, run
powershell -ExecutionPolicy Bypass -File .\Build.ps1 to build the user-mode tools.
The signed driver and recovery binaries are supplied; Demo/evaluation driver source is documented in driver/README.md. User-mode source is MIT; the driver has
separate terms.
For controller-only capture, use Interceptor Gamepad & Controller. For keyboard/mouse-only capture, use Interceptor Keyboard & Mouse. Remove an overlapping combined edition before installing a split edition.
Capture and injection are available for one hour per Windows kernel boot, starting with the first capture, controller monitor subscription or raw GIP diagnostic access, and shared across applications. Sleep time counts; closing or reinstalling does not reset the allowance. Diagnostics that capture input can start it. At expiry, capture stops and physical input passes through normally. Use Windows Restart for a new allowance; Fast Startup shutdown does not reset the kernel boot. Contact titancsa on Discord.
Interceptor independently evolves the input-interception workflow popularized by oblitum/Interception, with its own implementation and API. It is not affiliated with oblitum or ABI-compatible with the original. Attribution.
Install Interceptor, restart Windows if requested, and run your application as
administrator. Add Interceptor.h and Interceptor.cpp to a C++17 project
(build instructions).
This example changes the physical H key into J and forwards all other input:
#include "Interceptor.h"
#include <iostream>
#include <system_error>
int main() try {
using namespace Interceptor;
const auto init = Init_AllDevices();
if (!init.ready) {
std::cerr << "Initialization error: " << init.error
<< ", restart required: " << init.reboot_required << '\n';
return 1;
}
for (;;) {
auto inputs = Get_Input_With_Timeout(1000);
for (auto& input : inputs) {
if (auto* key = input.Get<Keyboard_Input>()) {
// Read the scan code; change H (0x23) into J (0x24).
if (!(key->stroke.flags & (KeyE0 | KeyE1)) &&
key->stroke.make_code == 0x23)
key->stroke.make_code = 0x24;
}
}
const auto sent = Send_Input(inputs);
if (!sent) {
std::cerr << "Send error: " << sent.error << '\n';
return 1;
}
}
} catch (const std::system_error& error) {
std::cerr << error.what() << '\n';
return 1;
}- Receive:
Get_Input_With_Timeout(1000)waits up to 1,000 milliseconds for input. It returns a batch you can loop over, or an empty batch on timeout. Eachinputin the loop is one event;inputs.size()gives the event count. The library creates and reuses its capture automatically; no context argument is needed.Get_Input_With_Timeout()waits indefinitely instead. - Read:
input.Get<Keyboard_Input>()returns the keyboard data, ornullptrif this entry belongs to another family.key->stroke.make_codeis the scan code, not a character;(key->stroke.flags & KeyUp) != 0means key release.input.typegives the family;input.deviceidentifies its source within that family. For mouse data, useif (auto* mouse = input.Get<Mouse_Input>())and readmouse->stroke.x/mouse->stroke.y. - Change: assign a new value to a field. Here both H presses and releases
become J, while the other flags stay intact. These are physical scan-code
positions; the resulting character depends on the Windows keyboard layout.
Remove the
ifthat changes the scan code for a simple pass-through loop. - Forward:
Send_Input(inputs)sends the batch back to its original devices. Type, destination and count are automatic. Unchanged keyboard, mouse and controller entries are forwarded too. Without this call, received entries are consumed and are not forwarded automatically.
Send_Input returns accepted (entries accepted by this call) and error
(0 on success). This basic example exits on an error; see the
API guide for retry handling.
Finish processing and forwarding a batch before receiving the next one; its
data is valid only while that batch exists. Close the application or press
physical Ctrl+Alt+Delete to release capture.
This project, including its drivers, SDKs, libraries, applications, installers and examples, was created for lawful, constructive purposes such as accessibility, device customization, research, testing and software development. Illegal, malicious or unauthorized use is neither intended nor endorsed by TitanCSA or the contributors.
You are solely responsible for how you use, modify or distribute the software, for obtaining any necessary authorization, and for complying with applicable laws, third-party rights and service rules. TitanCSA and the contributors do not accept responsibility for users' actions, including illegal activity or misuse of the drivers or SDKs.
To the maximum extent permitted by applicable law, the software is provided "AS IS", without warranties of any kind, and TitanCSA and the contributors are not liable for claims, damages, data loss, system damage or other consequences arising from its use or misuse. Nothing in this notice excludes liability that cannot legally be excluded. Existing project and third-party license terms remain applicable.
Choose a language in the SDK and package guide for exact install commands and examples. If your example requires a driver or app, install it separately.
First SDK check · Package maintenance
Measured results and raw data · Comparisons · Methodology
Selected virtual input transformations are independently observed; controller results are separated by protocol and receiver API. These are publisher-operated Windows 11 Hyper-V software-path measurements, not physical USB latency or a universal speed ranking.
| Tested scope | Verified result |
|---|---|
| Virtual XUSB modification to XInput observation | 3 validated runs; median run P50 51.10 microseconds |
Vdevice benchmark status. The original campaign recorded a controller teardown crash with Demo 1.0.5.0. Signed Demo 1.0.6.1 and Release 1.0.4.1 include the fix. Windows 10 and 11 tests verified the installers and removal. Installation results · Incident record
Setup and Associate new devices use the Interceptor mapper for compatible HID keyboard and mouse instances, including original manufacturer INF packages that use the Windows HID mapper. Setup records the original binding before it changes a manufacturer package. The original package stays in the Driver Store.
The C++ SDK exposes Get_Input_Driver_Bindings() and
Set_Input_Driver_Mode(instance, use_original). List the devices to obtain the
Windows HID instance ID. Close the capture session and run the switch with
administrator rights. The result is a Windows status code. Zero means ready.
3010 means restart Windows before resuming capture. The original mode stays
selected until you switch that instance back to Interceptor.
The installed recovery helper also supports these commands in an elevated PowerShell. Replace the example ID with the exact value from the first command.
.\InterceptorExample.exe --list-input-drivers
.\InterceptorExample.exe --input-driver-mode original 'HID\VID_XXXX&PID_YYYY\INSTANCE'
.\InterceptorExample.exe --input-driver-mode interceptor 'HID\VID_XXXX&PID_YYYY\INSTANCE'
Find the helper in the product's Recovery\Payload directory under Program Files. If a physical device exposes several input instances, select each required instance. If an old installation lacks a verified original binding, reinstall the manufacturer's current driver before using the switch for that instance.

