Hi Cato,
A hook is a mechanism by which an application can intercept events, such as messages, mouse actions, and keystrokes. You will be needing an advance programming code to make a C# hook for an X52 Pro Joystick controller. To proceed with this process, we suggest that you post your query on the MSDN forum. This forum is a community that is mainly composed of developers who can cater to the complexity of your concern.
Regards.