A downloadable extension for Windows

Buy Now$14.95 USD or more

Quick links: Documentation · GM Marketplace page (price of convenience)
Versions: GameMaker: Studio, GameMaker Studio 2
Platforms: Windows, Windows (YYC)

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 (linkmy changes) for mouse polling, and the usual tricks to get around the GameMaker's extension system limitations.

Purchase

Buy Now$14.95 USD or more

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:

raw_input.gmez 67 kB
raw_input_demo.gmz 185 kB

Download demo

Download
raw_input_demo.zip 2 MB

Comments

Log in with itch.io to leave a comment.

Has this been tested over Steam Remote Play Together?
to verify if I could detect each persons remote input mouse and keyboard individually?

You could test this by replacing a steam application with the demo from here, but I somewhat doubt that SRPT goes as far as registering virtual keyboards/mice. A tool that I'm currently developing allows to write input adapters to map keyboards/mice to a virtual gamepad.

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.