Forums > MaxMSP

Virtual Joystick Creation?

Jan 25 2012 | 8:56 pm


I’ve long used a program called ControllerMate to manipulate keyboard and joystick input, to create a ‘virtual joystick’ that other applications see as a joystick that is plugged in to the computer. Is there any way of doing this with Max?

For example, I want to manupulate my joypad’s analog stick to increase values logarithmically instead of linearly. I would route the incoming values though expr to something that would send messages to the system of another HID attached, and then assign this new virtual device to whatever I may please in other programs.


Feb 12 2012 | 8:33 am

Can someone at least point me in the right direction of what it would take to code this myself?

Feb 12 2012 | 9:40 am

does the [hi] object see the joystick? if so then you can use the [expr] for mapping etc. Then you’d need to get that mapped data out of Max into your other program, not sure about that, but there probably are options (udp, osc, midi, serial?) … it would depend on what the other program or hardware could understand.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP