'Twould be good if GameMaker Studio (any version) could use more than two joysticks or gamepads. At least four gamepads can make a multiplayer game.
A downloadable extension for Windows
This extension allows you to take input from multiple mice and keyboards! This way you can differentiate between mouse movement and button presses on mice (and/or touchpads) on the same computer, or map controls to same keys on different keyboards, or work with other mouse/keyboard-like devices.
I hope this to be an invaluable tool for anyone making local multiplayer games.
Implementation-wise, this uses Raw Input API (MSDN) along with a bit of helper code by Jake Stookey (link; my changes) for mouse polling, and the usual tricks to get around the GameMaker's extension system limitations.
In order to download this extension you must purchase it at or above the minimum price of $14.95 USD. You will get access to the following files:
- x64 compatibilityFeb 04, 2023
Log in with itch.io to leave a comment.
You can do so by using the
gamepad_ functions - these allow for up to 4 XInput gamepads and up to 8 DirectInput gamepads, 12 total.
Has this been tested over Steam Remote Play Together?
to verify if I could detect each persons remote input mouse and keyboard individually?
I added it as a non steam game to my library. but that does not support remote play together. I also tried through parsec but it just gives remote players control of the host mouse. Would be a huge deal if it did work though.