Reputation: 59
I would like to create a program that can emulate a gamepad being connected to the computer and pressing buttons/using the joystick on that virtual gamepad to control other games on OS X. However, I cannot find anywhere on how to emulate the gamepad/gamepad button presses.
Upvotes: 3
Views: 4675
Reputation: 351
Wjoy — an Nintendo Wiimote to gamepad event mapper — seem to know how to emulate a gamepad in OS X.
They do include «virtual HID interface driver (can be used for creating virtual mouses, keyboars, joysticks)».
And it's open source.
Upvotes: 2