JoySetup > tab Joystick Axes (spec. functions) > Axis to button

Allow set and analog axis to press two buttons, based on % threshold.

Quote
For example if I wanted to use a shift button to convert a joystick into a hat switch by clicking it down.


Set the (mini-)joystick to press 2 buttons in each axis,

Example
Axis 1 press button 10 if is 0 to 10%
Axis 1 press button 11 if is 90 to 100%

And set (mini-)joystick push button for "shift".