Convert move mouse y to axis y on Mac [closed]

I’m looking for macOS software that can convert mouse movement into joystick movement. I want to convert the mouse movement Y into the y-axis.