In Workshops open the remap Keys/Controllers, Select Controller (Mine has Saitek
Rudder Pedals, Joystick 1, Joystick 2 or something like that). Light up the thing you want to program, say Joystick 1. It will list the current bindings (Bound buttons or axis). On the left side of the screen there is a long list of selections and what they are bound to, the window right next to that is blank until you pick a specific list which is in the box named filter functions, if you select one of those filters it will pop up in that box.
When you click on one of the bound selections a reassign binding window will appear, you click unbind (if you want to) the box will disappear but you will see that the function now has nothing assigned to it. Click the function again and another box will appear, asking you to select a key, press whatever you want then a bind button will appear, poke that one and you are done, you now have an assigned function to the joystick or keyboard.
Make sure under File Functions you hit save or you will lose all the changes.
You will see in the current bindings box that the POV (hat) may already have your views assigned to it. If you are working with an X52, you have more than one POV, so you may be trying to look around using the wrong one.