Agreed; this is a very useful post. I discovered it while trying to capture the X52 buttons/axes from C#.
The following buttons on the joystick are only available when the control panel applet is open (assuming numbering starts at 1):
- 24: (down when Mode1 is active)
- 25: (down when Mode1 is active)
- 26: (down when Mode1 is active)
- 31: mouse button (on throttle, the tiny button behind the pointer stick)
- 32: wheel button
- 33: wheel scroll up
- 34: wheel scroll down
These buttons also work when the Profiler window has focus.
As Herb posted, if you look in your C:\Windows\System32 folder and remove the SaiD????.pr0 file, it causes the joystick to NOT be initialized with the default empty profile on startup, which lets you read these keys without the need to have any background windows open.