A Windows desktop application for sending input events to Microsoft Flight Simulator (MSFS) using SimConnect. The app features a simple WPF UI with a toggle switch to enable/disable hotkey input events, and integrates with the SimConnect SDK for communication with MSFS.
This is designed to be used with the Cirrus SR22T's GCU 479.
- WPF UI with modern toggle switch for enabling/disabling hotkey input events
- Global keyboard hook for hotkey detection
- Sends input events to MSFS via SimConnect
- Caps Lock integration for toggle state
- Exception handling for robust operation
- Windows 10/11 (x64)
- .NET 8.0 (WPF)
- Microsoft Flight Simulator (MSFS)
- SimConnect SDK (DLLs included in
libs/)
- Clone the repository:
git clone https://github.com/bstudtma/PerspectiveKeyboard.git cd PerspectiveKeyboard
- Build and publish (Release, single file):
dotnet publish -c Release -r win-x64 /p:PublishSingleFile=true
- Output will be in
bin/Release/net8.0-windows/win-x64/
- Run
PerspectiveKeyboard.exe. - Use the toggle switch to enable/disable hotkey input events.
- The app will connect to MSFS via SimConnect and send input events as configured.
Microsoft.FlightSimulator.SimConnect.dll(included inlibs/)SimConnect.dll(included inlibs/)
App.xaml,App.xaml.cs: Application entry and global exception handlingMainWindow.xaml,MainWindow.xaml.cs: Main UI and logiclibs/: SimConnect DLLsPerspectiveKeyboard.csproj: Project file
MIT