Questions tagged [controllers]

Often the primary input device for console games. Typically designed to be held in one or both hands rather than being laid on a surface.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
3k views

How do I make the PS4 controller vibrate in Unity3D on mac?

I am currently working on a 2D game in Unity3D with an option to play with a gamepad/controller. I would like the PS4/dualshock 4 controller to vibrate. I am on mac. I have looked into Xinput but I ...
3
votes
0answers
388 views

Switching between VR and Desktop (VR Controllers are not tracked in Unity Build)

I am developing a VR App in Unity3D for HTC Vive Pro (Wireless) everything works well with VR in the usual way. (SteamVR Plugin 2.5.0 (SDK 1.8.19)) Except for some requirement reasons in the same ...
2
votes
0answers
1k views

3 Button Multi-touch for Android

OK, my multi-touch system was somewhat convoluted, but was working perfectly OK until I tried to run my game on my Nexus 10 which is running Jellybean. Crashing all over the place! So I removed my ...
1
vote
0answers
24 views

Unity XR Ray / Line renderer on the floor

When using Unity's XR system, the teleport ray / line renderer I'm stuck on the floor. Turning the XR rig also turns the line, so the line is stuck on 0,0,0 on the XR Rig I've played with most ...
1
vote
0answers
94 views

How do I work with gamepad fall back devices in Unity's Input System?

I was applying gamepad controls to my game & I found that the fall back device for my gamepad is a joystick. As I understand it, this is standard behavior for the new input system. I also read ...
1
vote
0answers
48 views

Support multiple gamepad layouts (Unity 2017.3)

My game supports touchscreen, keyboard + mouse and the Xbox One controller and the input so far works properly. Now I also want to add a second layout for the gamepad the player can then pick in the ...
1
vote
0answers
42 views

Is it possible to simulate different vendor gamepads?

As a developer it would seem natural that I would like to support as many possible hardware compositions as I can, however as I'm not a big studio I have a limited budget, which means I have to get by ...
1
vote
0answers
672 views

How do you program the right analog stick of a controller in JInput?

I have the Left Analog Stick programmed and accepting input (moving a character around). (getCompassDir() returns the values of the cardinal directions and ...
1
vote
1answer
599 views

Using DualShock 4 motion sensor in Unreal engine (windows)

Anyone know how to access the gyro/accelerometer values from a DualShock 4 controller in the Unreal engine (under windows)? Are there any plugins that do this? Does raw input work?
0
votes
0answers
5 views

A script to record oculus rift touch controllers and macro the recorded motion to a number on the number pad

i have a question about recording a specific input from the oculus rift touch motion controllers. is there any way to record a certain movement the the motion controllers make then click a button and ...
0
votes
0answers
16 views

Prevent counterclockwise rotation

So I have an object that has a handle attached to it, the player is supposed to rotate this handle. For that, I'm taking in the horizontal and vertical axis of a controllers analogue stick and ...
0
votes
0answers
28 views

How to make script awake again after sleep?

I disabled gamecontroller for 15.9 seconds and controller not awake again.It's for cutscene cam before the race start. ...
0
votes
0answers
33 views

Is it a good idea to analyze and compensate for gamepad joystick deadzones?

For example, the player may want to be able to aim precisely in a top down shooter. However, if the player is using a junky controller that has axis-independent deadzones, they will not be able to ...
0
votes
0answers
25 views

Is it possible to use absolute input device like a pointer or VR headset for peeking(looking) in non VR FPS or 3rd person games?

Assume I have a VR headset, which has absolute orientation as output and this orientation is input to a game. In VR Games, your character looks wherever you look by using your headset's absolute ...
0
votes
2answers
214 views

Unity - 2D Platformer Controller responsiveness issue

I've been designing some basic controls for a 2D platformer and managed to get the feeling that I've been looking for when moving and jumping, but something is not quite right, it's not very ...
-1
votes
2answers
240 views

XBOX ONE controller inputs vanish in project settings

I'm putting in the inputs for the XBOX ONE controller in Project settings, but when I try to put in the values for the triggers and click on the next window, that value vanishes. I'm putting the value ...