A utility to test, visualize, and map WM_INPUT messages.
This project is written using Visual Studio 2022 with C++23 enabled and utilizes new C++ features like concepts and ranges.
- Visual Studio 2022: Ensure the
Desktop development with C++
workload is installed.
-
Clone the code from GitHub
git clone https://github.com/RealBitdancer/RawInputViewer.git && cd RawInputViewer
-
Create a build folder
mkdir build && cd build
-
Run CMake
Pick your flavor:
- 64 Bit:
cmake .. -G "Visual Studio 17 2022" -A x64
- 32 Bit:
cmake .. -G "Visual Studio 17 2022" -A Win32
-
Open in Visual Studio
start RawInputViewer.sln
-
Build and Run
In Visual Studio, pick
Debug
orRelease
, then hitF5
orCtrl+F5
.
During my work on a personal graphics library (SML), I ran repeatedly into issues with WM_INPUT. To quickly test input on different systems, I put together a quick and dirty C++ Windows desktop app that was really only meant for myself. While reading up on the topic of WM_INPUT, I realized that this tool might be useful for other folks who struggle with the quirks of WM_INPUT, so I sat down and polished it a little to avoid completely embarrassing myself. So, here we are, enjoy RawInputViewer
.
This project's icons and bitmaps have been sourced from and assembled with Axialis IconWorshop