Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
29 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 ...
0
votes
0answers
46 views

Permission for using game controller button image

(Maybe repost from here and here. But since my rep is too low, i can't post any comment on that questions. Sorry) If i want to using console controller button image (like this unity asset) or ...
0
votes
1answer
36 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
vote
1answer
29 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 ...
0
votes
0answers
134 views

Using a Steam Controller with Unity

I am trying to make a 2D platformer in Unity. I have everything set up for controller support, however, the only controller I have is a Steam Controller. The problem is that the Steam Controller is ...
0
votes
0answers
17 views

LibGdx TouchScreen Movement Logic with Box2D

I'm trying to implement some touch screen controllers to my game and i'm having a few issues :( i don't really understand what's the right way to do it, i can't figure out how to press simultaneously ...
0
votes
0answers
108 views

Add mesh colliders to (any) SteamVR controllers (in unity)

SteamVR / OpenVR has a bunch of scripts that spawn the appropriate model (vive, oculus etc) mesh automatically whenever a controller comes online or wakes up. Has anyone figured out where/how one ...
1
vote
2answers
73 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 ...
1
vote
1answer
91 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 ...
0
votes
2answers
147 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 ...
2
votes
1answer
105 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 ...
0
votes
2answers
1k 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 ...
0
votes
0answers
146 views

Daydream controller reticle gets attached to camera

I'm working on a VR app and am using the Daydream headset and controller. I have placed GvrControllerMain in my scene and GvrControllerPointer in a game object with my camera, but the issue I'm having ...
1
vote
0answers
141 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 ...
0
votes
1answer
224 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 ...
0
votes
1answer
30 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 ...
2
votes
1answer
101 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 ...
0
votes
1answer
374 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 ...
3
votes
0answers
1k 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
1answer
308 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, ...
-2
votes
2answers
5k 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.
0
votes
1answer
214 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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
245 views

How could I add XBox 360 Controller handling support to my game?

The title says it all. I'm making a 3D Open World game with OpenGL and LWJGL in Java, and I really need to move in several angles to fully feel inside the game. The problem is that I couldn't find any ...
-2
votes
1answer
66 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 ...
0
votes
1answer
133 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 ...
1
vote
1answer
161 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 ...
0
votes
1answer
536 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
1k 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 ...
3
votes
1answer
1k 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 ...
0
votes
1answer
133 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?
1
vote
2answers
2k 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 ...
3
votes
1answer
365 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. ...
0
votes
1answer
2k 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 ...
0
votes
1answer
1k views

In Unity for Android, how do I create touchable buttons?

I'm making a test game for Android in Unity 5, and I want to add left-right control buttons like the circles below, to move an object left or right. How can I do this? Sorry if this question is ...
1
vote
1answer
323 views

Unity provides wrong Input value if game is started with bumpers pressed down

As the title states I am having an issue with the following. It is a pretty specific edge case but it is something I can't work around. In Unity I have created two Axes to allow me to check the value ...
0
votes
2answers
246 views

XNA: How to capture precise time of button press?

I'm guessing the default XNA model encourages checking for button presses in Update(). However, I am developing a game-like application for research and need to measure reaction times as quickly as ...
0
votes
1answer
718 views

Make continuos movements with controllers in LibGDX

I've been trying to make the OUYA controlers work with a LibGDX Framework Practice Game. Everything is working perfectly expected for one thing : The movements are not continuos. The problem is, ...
-2
votes
1answer
303 views

Joystick control for camera only works when button pressed

I'm trying to use a controller that has a joystick. I'd like to move the camera when the player moves the joystick. The joystick also has a button. So far I'm only seeing the camera move when the ...
6
votes
1answer
877 views

How can I rumble/vibrate my controller with libGDX?

The com.badlogic.gdx.controllers.Controllers API only supports getting the input data (which works fine). Is there a way to make my controller rumble/vibrate, ...
0
votes
1answer
841 views

Automatic Movement

I am making my very first GAME in Unity 2d. At the moment my game consists of 2 walls a floor, a ceiling, and a square which represents the character. After watching some tutorials I have created a C# ...
0
votes
1answer
1k views

Does libGDX support the Xbox One controller?

I just bought a Xbox one controller and i'd like to test my game with it. I use the Controllers extension from libGDX and it works fine, at least with my PS3 ...
2
votes
1answer
1k views

How can I use imprecise accelerometer data for controls?

I want to rotate an object with respect to the phone's position. I use the accelerometer output to detect orientation: ...
0
votes
1answer
1k views

Change players state and controls in-game

I'm using Unity 3D Let's say the player is an ice cube. You control it like a normal player. On press of a button, ice transforms (with animation) into water. You control it completely different than ...
5
votes
0answers
272 views

LibGDX controllers: how to fix crashes in JRuby? [closed]

I'm using JRuby with LibGDX and it's been going quite swimmingly, save for a crash I experience every time I try to use the controllers extension. Here's a basic rundown: I've required all the ...
1
vote
1answer
2k views

Handling XBox 360 Controller Connections in LibGDX after Game has Started

I am currently making a game with the java library LibGDX and want to add XBox 360 controller support using the GDX-Controllers extension. At the moment I have a setup where I create a listener to ...
2
votes
1answer
357 views

Adapting motion controls to changes in the player's orientation

I am using gyroscope data (pitch, roll) to move the player's space ship. It works perfectly as long as you play in a standard position (e.g. sitting down). Once you start using it lying down (e.g. ...
0
votes
1answer
476 views

Xna menu navigation with controller

I have a menu that you can navigate with the keyboard, but I also want it so you can navigate it with the controller thumb sticks. But my problem is that if you push down or up on the thumb sticks it ...
10
votes
1answer
4k views

Can I use Playstation controller button icons in my game?

I'm currently working on a game that will be released on PC with controller support, and I'm trying to find a way on how to best represent controller icons within the game. I'm assuming I can't ...