Program that changes joystick buttons to keyboard binds?

I tried Antimicro and Joytokey already but they don't work in-game. The game still registers the joystick button instead of the keybind. It's like hit or miss. Any other solutions? Thanks!