How to design APIs that listern ot the input device data, and dispatch corresponding events when a user actions happend in c#
I’m new to .NET and WPF, and I’m currently working on a project that involves mapping joystick input to system actions in a WPF application using SharpDX.DirectInput
. Specifically, I want to design an event system that detects when the joystick is manipulated by the user and triggers corresponding events so that I can implement my code during a callback.