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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

Characters not applying avatars correctly

I am trying to get different models to go through animation cycles in Unity. The first four models are from Mixamo. Does anyone know why my characters end up like this (lodged into the ground) when I ...
user avatar
  • 1
0 votes
1 answer
103 views

Unity stops receiving input from gamepad when game is started

Update: I originally thought that it was more or less random whether the controller input works or not. I have now found out that it stops working once the game has been started for the first time. ...
user avatar
0 votes
0 answers
80 views

What is the most performant way for a game engine to poll gamecontrollers?

I am working on a game engine, and currently I hesitate on this decision. I developed a library that allows Dualsense and Dualshock4 devices to be used in the engine. XBox Support is made possible via ...
user avatar
0 votes
0 answers
107 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 ...
user avatar
0 votes
0 answers
11 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 ...
user avatar
3 votes
1 answer
128 views

Analog sticks, deadzones, diagonals, etc

I'm messing about with a knockoff PS3 controller and SDL2 on windows, and noticed that despite the circular restriction, when I position the stick as close as I can to an extreme diagonal, I am ...
user avatar
0 votes
0 answers
38 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. ...
user avatar
1 vote
0 answers
185 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 ...
user avatar
  • 57
0 votes
0 answers
39 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
0 votes
1 answer
49 views

Joystick servo control axis value when idle (unity)

When the joystick servo control is idle (user not moving it) , i don't believe the axis value will be 0 because there's a lot of thing that interfere with the value (such as calibration , inaccuracy , ...
user avatar
6 votes
1 answer
183 views

Do I need Microsoft authorization to support Xbox 360 controllers for a pc game?

Do I need to pay Microsoft, or do I need some kind of license so I can support the xbox controller on a pc game? Or I just implement it and let people use their Xbox 360 controllers?
user avatar
  • 490
-1 votes
2 answers
647 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 ...
user avatar
3 votes
0 answers
519 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 ...
user avatar
1 vote
1 answer
210 views

How to support more than 4 XInput controllers?

I'm making a multiplayer game in GameMaker Studio 2. The game supports upto 12 controllers, where the first four are XInput controllers. The rest would be DirectInput. If I try playing with 8 Xbox ...
user avatar
0 votes
1 answer
55 views

How to code a game that can interact with custom controllers?

I want to have my work featured in alt.ctrl.gdc someday. The process of building a bizarre custom controller is a question for a different stackexchange site, but Can you tell me a way how to take ...
user avatar
0 votes
1 answer
270 views

Developing addons for xbox one controller

I want to develop an addon that plugs to the bottom of the controller for the xbox one. Can I legally make addons to the xbox one controllers without Microsoft's blessing? If so, has anyone done ...
user avatar
0 votes
1 answer
31 views

Large gap between the grabbed game object and controller

When i grab a gameobject, there is a gap between them. I have tried changing the scale of the colliders, tool handle position from global to pivot but nothing worked for me. Should i reset the pivot ...
user avatar
0 votes
1 answer
613 views

Ideal 3D platformer controls for Keyboard + Mouse [closed]

I am developing a 3D platformer, and I know that controller is optimal for the precise movement, but I don't feel players should have to buy a controller just to experience a 3D platformer that is ...
user avatar
0 votes
1 answer
71 views

Is it legit to use Custom Controller Buttons for PC Games in Unity?

Not sure if this is off topic, but I have a problem. I'm making buttons for my own controller in my Game. For example, the attached images will appear to indicate the player to press the A or B ...
user avatar
  • 1
1 vote
1 answer
794 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?
user avatar
2 votes
1 answer
144 views

Using single Triggers on multiple controllers in Unity

After trying out a lot of stuff I finally need to surrender. Im having a project where I want to use the triggers of the Xbox Controllers seperately. To do so I added them as axis 9 and 10 in the ...
user avatar
  • 21
1 vote
0 answers
52 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 ...
user avatar
  • 267
0 votes
2 answers
279 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 ...
user avatar
1 vote
1 answer
34 views

How can I change displayed information as a physical control knob is slid along a track

I'm making an installation for exhibition or demonstration purpose. I want to have a physical handle the viewer can slide along a track. As they do so, the information displayed on the screen should ...
user avatar
  • 113
1 vote
2 answers
286 views

How to tell whether the joystick axis is released (not pushed) in SDL2 or in general?

I'd like to implement an event listener that triggers character movement (left/right/up/down or stay) according to the direction of pushed axis on the joystick. Due to jittering, the approach I found ...
user avatar
  • 123
1 vote
1 answer
280 views

Steelseries Stratus XL controller: Keycode for middle button

I'm working on an Android app (Java, level 19+) that uses a controller to e.g. walk and it's working (almost) fine with both the Steelseries Stratus XL and the Moga Pro Power. The only problem is that ...
user avatar
  • 267
0 votes
2 answers
171 views

Character automatic movement and rotation

I have problems with a character. I want to move myself at some speed, and by typing on WASD keys to rotate this object and move to the side where the face is. The object moves continuously without ...
user avatar
2 votes
1 answer
267 views

Flexible Controller Support

I am developing a platformer in Pygame with the eventual hope of releasing it on Steam. I am currently trying to add input support for multiple controllers. To do this, I am using the Pygame ...
user avatar
  • 1,307
0 votes
2 answers
15k views

Unity3d - How to use controller joystick to look around?

I try to use my xbox controller as input device for a game targeted to run on windows. However the documentation fails to explain how to set it up. E.g. how can I use the right stick from my xbox ...
user avatar
  • 541
0 votes
2 answers
958 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 ...
user avatar
  • 1,217
0 votes
1 answer
61 views

Crouching Up and Down XNA C# Controller

The game is a 2D platformer. The problem I have is when I press the B button to crouch from standing, I do not know how to implement a function where B can be pressed again to move back to the ...
user avatar
2 votes
1 answer
509 views

Using Smartphone as a steering wheel on Linux

I am making a car simulation game, however, I find it being inefficient and difficult to test the simulation realism and accuracy via keyboard or even joystick control. I need a steering wheel ...
user avatar
0 votes
1 answer
1k views

How the game sends force feedback to the steering wheel

How the game will be some of the information feedback to the steering wheel, such as bumps, bumps, vibration and so on. View MSDN, which are introduced from the steering wheel to get the relevant ...
user avatar
5 votes
0 answers
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 ...
user avatar
  • 51
2 votes
1 answer
586 views

Handling multiple controllers in a single player game

Currently implementing input support for a single player game and I'm unsure how best to handle the (admittedly odd) situation where the user plugs in 2 or more controllers. Should only one be active, ...
user avatar
0 votes
3 answers
11k views

Button mapping of an Xbox 360 controller for windows

I can't get a clear answer on the rest of the internet. What are the joystick buttons for left and right triggers? I'm on Windows, if it matters.
user avatar
0 votes
1 answer
779 views

Unity Controller to Make Reticle Orbit based on the right stick input

d platformer arena like game. Right now I have it so a reticle moves around the player based on a controller's right stick's horizontal movement using the rotate around function and while it works ...
user avatar
1 vote
0 answers
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 ...
user avatar
-2 votes
1 answer
78 views

How to make my "first person controller" continue to turn left or right when key is pressed in Unity 5?

I recently posted this How To Make My First Person Controller turn left and right in unity 5 but now I'm having a slight problem when I press the key that turns my camera it only does it for a little ...
user avatar
0 votes
1 answer
211 views

WiFi Game Controller Protocol

I'm wanting to use mobile devices to control a game. I'd like to use an industry standard protocol for wifi game controllers rather than roll my own, but have been unable to find any standard. Does ...
user avatar
1 vote
1 answer
258 views

How to reregister gamecontroller changedvalue handler upon game scene reload

I'm working on a tvOS game that uses the siri gamepad controller. Everything works fine the first time out. If the user loses the round I reload the same scene using presentScene. After reloading the ...
user avatar
0 votes
1 answer
1k views

Gamepad default trigger identification in Windows

I'm currently writing an interface driver for my Moga Power Pro controller on Windows. I'd like to release it for others to use, but first I have some questions on expected default mappings for the ...
user avatar
  • 3
2 votes
1 answer
2k views

Unity Controller navigating UI

I want players to be able to use a controller to navigate our game's menus. We use Unity's new UI, and in the EventSystem have specified a controller axis for our vertical axis. However the selection ...
user avatar
  • 245
2 votes
1 answer
2k views

Unity3D Joystick Buttons Xbox360 & PS3 have Inconsistent Button Inputs?

I've been browsing through Google and researching button inputs in Unity, and I came across this page. When looking at it I noticed that the B button on the Xbox360 controller is set to Button 1, but ...
user avatar
3 votes
1 answer
2k views

How do I quantify the curvature of a touch swipe?

I'm implementing a touch controller for my game. I am attempting to imitate Tiki Taka Soccer's "ball shooting" controls (gameplay video), where the curvature of the player's swipe affects the curve ...
user avatar
0 votes
1 answer
311 views

How to create axes for a console controller

What should I change in the input manager to enable me to use a joystick? I have a usb cable to connect the joystick to the computer but how do I set up the controls?
user avatar
  • 1,217
1 vote
2 answers
3k views

Can't set up a PS3 controller in Unity

So I connected a ps3 controller to my computer via USB cable, when I press play I am able to move by using arrows on the left of the ps3 controller and also I am able to shoot and aim by triangle and ...
user avatar
  • 1,217
3 votes
1 answer
481 views

USB NES controller

I just recently bought the Retrolink USB NES Controller. I would really like to make simple platformer games (for PC - engine/ frame/ library doesn't matter) for this pretty popular retro controller. ...
user avatar
0 votes
1 answer
3k views

Coding a left/right object movement C# script for android phones in unity

I have 2 spheres and a cube on screen. I'm experimenting to make a 'left/right movement script' for the cube so that when I touch the left sphere, the cube moves left-wards and when I touch the ...
user avatar