We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
2k 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 ...
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
42 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
229 views

How to setup an OSC client on Unity and send messages?

I'm trying to send messages from a Unity phone app (using OSC) to an OSC server (python, on a Raspberry Pi). I have the server setup, but I have no clue how to send messages from Unity. I've looked ...
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
659 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
171 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
8 views

Player walking on bent mesh

I have a top down camera view of my player character. I want my character to walk as on flat surface, but also handle bent surfaces with more polygons. My problem is if I have a bent surface mesh set ...
0
votes
1answer
96 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 ...
0
votes
1answer
398 views

Animator get number of animations (Unity)

In C#, how would I get the number of animations in an Animator Controller? So I want to find out how many animations there are in an Animator Controller, and have this number in script. Thanks in ...