#2 mouses

2 messages · Page 1 of 1 (latest)

naive prairie
#

Is it possible to plug 2 mouse an keyboards into a computer?
I want to make a local co-op game that uses 2 mouses and I figured I should ask to see if its even possible

quiet sonnet
# naive prairie Is it possible to plug 2 mouse an keyboards into a computer? I want to make a lo...

the actual mouse cursor is something handled by the OS, so there will always only be one, and godot also doesn't really have anything to get the position of potential multiple cursors.
And the device property of InputEvent seems to always return 0 when it comes to mouse events.
So no i don't think godot has any way to allow multiple mouse devices to act separate from eachother.
But you might be able with an external library. that, however, isn't a subject i know much about.