0 votes

Greetings, I'm doing a ping pong game and would like to use two different mice to move each racket, is there any way to use two independent mice?

in Engine by (19 points)

I found this might be an idea of what you want to configure, but not know how to apply it within the GoDot.

1 Answer

0 votes
Best answer

No. Can you actually do that at OS level? IME if you plug in a second mouse, both moves the same cursor. So you should really reconsider this (how many people has a second mouse to play games?).

Now, with a touchscreen display using multitouch input is possible and much more common.

by (801 points)
selected by

While this is unusual, it's actually possible to achieve on OS level, at least on Windows for what I know. There are functions that seem to imply only one mouse is supported, but you can get two mouses to work if you use raw input:



I believe that most people do not use two mice because it is not given the chance to do and we develop do nothing to warrant the use of two mice. So I am investigating if possible because I see many useful things to do.

Nevertheless, the answer is still no: Godot does not support two mice. I doubt there will be any official effort to do this, but as an open source project you can always propose a code change/addition.

Yeah but that would require some effort since it's at OS-level and would require a different implementation for Windows, Linux and Mac

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.