How to utilize two separate mice / mouses

I want to be able to utilize two separate mouses / mice within the game I am working on. How would I be able to reference the two devices separately and get input from each separately?

Thank you.

This is not a feature that we are planning to support at the present time.

Thank you for your reply.
This is an important feature to the project; what would you recommend as a possible work-around?

A quick google search found a few discussions of multiple mice and a link to http://pluralinput.com/ which claims to allow use of independent mice and keyboards (it did not work for me crashing during setup of the devices) that (if it works) might be useful to you depending on your needs.

Otherwise I’m afraid I don’t have much in the way of suggestion for you as windows (nor other platforms I believe) have native support for what you are looking for.

35be3cfdfe1646d92db59618fbca396375719683_small.jpg


Have you considered using a Xbox 360 controller for the PC?

then each analog stick would be 1 mouse, and you could plan out the buttons for which one goes with each stick/mouse

UE4 has native support for xbox360 controller input

#include "InputCoreTypes.generated.h"

UENUM()
namespace EKeys
{
	enum Type
	{
         XboxTypeS_LeftX,
		XboxTypeS_LeftY,
		XboxTypeS_RightX,
		XboxTypeS_RightY,
		XboxTypeS_LeftTriggerAxis,
		XboxTypeS_RightTriggerAxis,

        XboxTypeS_LeftThumbstick,
		XboxTypeS_RightThumbstick,

		XboxTypeS_Back,
		XboxTypeS_Start,
		XboxTypeS_A,
		XboxTypeS_B,
		XboxTypeS_X,
		XboxTypeS_Y,
		XboxTypeS_LeftShoulder,
		XboxTypeS_RightShoulder,
		XboxTypeS_LeftTrigger,
		XboxTypeS_RightTrigger,
		XboxTypeS_DPad_Up,
		XboxTypeS_DPad_Down,
		XboxTypeS_DPad_Right,
		XboxTypeS_DPad_Left,
		XboxTypeS_BigButton,

Rama

Was this feature ever implemented within the Unreal Engine 4 architecture past these post entries?

1 Like