Questions tagged [gamecontroller]

74 questions
0
votes
2 answers

Responsive, single button input in A-Frame WebVR

For my A-Frame WebVR game, I need to access a single "controller" button, regardless of platform. For a phone using a magic window or Google Cardboard, any screen tap would count. For Gear VR or Daydream, any button on the controller would count.…
Doug Reeder
  • 698
  • 6
  • 12
0
votes
1 answer

Get angle of direction from GCExtendedGamepad.leftThumbstick

How do I get the angle of direction from the left/right thumb-stick of a game controller in swift? Any help would be appreciated.
user6464717
0
votes
1 answer

Getting hash values from object in swift

In Swift, when I'm typing var controller : GCController // fetch some data to conbroller NSLog("Controller: %@",controller) NSLog prints nice Controller: wheres…
0
votes
0 answers

Make controller view to act as a game controller Android

I am following below links to making controller view https://github.com/andretietz/controller-lib http://www.akexorcist.com/2012/10/android-code-joystick-controller.html Now view part has been done and I am able to detect button press and all…
Manish Dubey
  • 4,206
  • 8
  • 36
  • 65
0
votes
1 answer

Keeping the game paused after app become active?

It is my first post on this forum and I apologize in advance if I am doing something not in the right way ! :) I am making an iphone game with Swift & SpriteKit and I am currently facing a problem. When my app is going to background it calls a…
0
votes
1 answer

Can I use multiple Gamepads with Unity3d?

I have a couple questions about Unity3d and Game Controllers on PC. In Unity3d is it possible to use a game pad as an input source? If so, which game pads are supported (e.g. Xbox)? Do I need a plugin or someone else's code? Can I use the…
Andrew Meservy
  • 103
  • 2
  • 9
0
votes
1 answer

SDL 2.0 - SDL_GameControllerGetButton not working

I am developing an application that needs to display which buttons are pressed on a joystick. For this, I used SDL to read the state of my joysticks, the code is: bool JoystickInfo::getButton (const int &joystick, SDL_GameControllerButton button) { …
Alex Spataru
  • 1,197
  • 4
  • 14
  • 26
0
votes
1 answer

C# controller support without XNA or DirectX

I'm trying to build a Windows game without the now sunset XNA or DirectX, but I'm having difficulty figuring out how to create controller support (mostly just XBox controllers). Is there anything in the standard C# libraries? If at all possible, I…
Shadow0144
  • 123
  • 2
  • 9
-1
votes
1 answer

How to continuously test for the connection of a Game Controller?

How to continuously test for the connection of a Game Controller? Stepping back from code just for a moment ... What do I want to do? 1) upon initial start up of app, I want to wait for a gamepadconnected Event. 2) Once I get this Event by turning…
anon
-1
votes
1 answer

How to integrate an HID USB Controller?

I'm at a standstill. I have this non-standard game controller which I would like to integrate into an application. It has three joysticks, and fifteen possible buttons. It is an HID compliant USB-connected controller, operating primarily on…
M28
  • 111
-1
votes
1 answer

Android : GameController support

Apologies if this is not the place to ask this question. I have started writing an Android 3D framework where I want to support game controllers / gamepads. I have added the MOGA SDK but this has got me thinking that I will need to go about adding…
Burf2000
  • 5,001
  • 14
  • 58
  • 117
-2
votes
1 answer

How can I create a "virtual joystick" based on GCController?

I'm building a framework to simplify the reuse of the GameController framework in game projects. When I had to think about unit tests, I realized that I can't emulate the joystick events, any ideas to help me?
-2
votes
1 answer

Is it possible to make radial control that can be select with controller L or R

I could not pinpoint to a specific keyword of it. But, I was looking for a control in UWP app that supports down to version 14393 A radial control like in lots of games that can be select with L or R on a game controller. (eg. Grand Theft Auto V…
ToonWK
  • 47
  • 1
  • 8
-3
votes
1 answer

Is there any way to make python act like a game controller?

I want to control games with python. I need python to act like a game controller and do what i code. I couldn't find things about this. I'm waiting for your help. Thanks. edit : I pretty much did it with using PyvJoy library and vJoy software. Its…
Talha D.
  • 41
  • 1
  • 3
1 2 3 4
5