I have just gotten this MAx Master and wanted to program Button 4 & 5 - but inside the game they work 2-3 times when pressed, then stops working for 5-10-15 seconds, then suddenly works again a few times.

They work flawless outside farCry 4

Does anyone have any idea on why FarCry4 doesn't want to use the buttons every time?
I cannot see what I should be able to do especially when they work outside the game.