I would like to make a program that utilises the XBox 360 controller's inputs to give outputs, for example if you press A on the controller, it would be the same as pressing A on the keyboard. I plan to use this for game development and do not want the outputs to be customisable, but I do want a window to be visible so that it can be closed at any time. How would I go about making this program (For Windows) and have it be simple to use.
XBox 360 controller non-customisable mapping
632 Views Asked by user2947476 At
1
There are 1 best solutions below
Related Questions in CONTROLLER
- Submit Button on Razor View doesn't call Action Result - MVC
- Calling controller action from action in component
- Silex can't find Controller Class
- Sails JS - How to Work With Specific Model Attributes from the Associated Controller
- rails controller test failing non-deterministicly wrt state leak (I think)
- Negative Lookahead RegEx at Class Level RequestMapping
- Is bootstrap file a controller?
- angular $firebaseArrray: difference between controller and directive
- codeigniter required to store flashdata in for-each loop
- Angular is giving me an injection unresolved error, but my controller isn't asking for any injections
- Access database with new pacakage in Laravel 4.2
- Get locale to controller variable
- How to start a script after that the controller sends data to jsp
- Using transaction in Ruby On Rails controller method
- Attempting to pop a modal window - Using Angular and Bootstrap
Related Questions in MAPPING
- Change lowercase and uppercase of characters in java
- Texture mapping consuming physical memory
- Looping functoid, Mapping
- is there a way to find all the perforce workspaces which are mapping a certain file in the depot?
- XSLT Mapping for replacing child nodes with new set under parent nodes
- Missing Foreign Keys when mapping Child Entities from JSON / How to generate them?
- How do I set up the relation using Fluent API between an Employee entity and an ICollection<Employee>?
- Mapping int to int (in Java)
- Add brands through company, it's possible? How?
- maven-rpm-plugin set folders permission differently from files when mapping
- Projecting a texture from plane to object with Unity
- how to extract characters of a language
- When I try to map the properties for an entity (Entity Framework), I get the error the type '__' must be a non-nullable value type
- Android + Dozer throws IllegalArgumentException
- (Using Spring)How to stop DTO from repeating when the map appears to be fine?
Related Questions in XBOX360
- emulate xbox 360/one using a HID device
- Dumping Registers in PPC
- Parse decimal from textblock (string) and convert to hexidecimal
- Xbox 360 vibrate rumble?
- XNA Platformer (2D) - Framerate/FPS fluctuations
- Game Jitters on xBox360
- Kinect gesture recognition
- Emulating an XBox 360 controller from (not for, from) a laptop
- Xbox Application Development using C# and Visual Studio
- Automatically calling method after code block
- Professional Development Tools for Xbox 360 and PS3
- Compiling Ninject for Xbox360
- Is it Possible to Send an Email from XNA?
- XBox 360 controller non-customisable mapping
- How to find when stick is released
Related Questions in XINPUT
- Xlib xinput test device status if it got hanged
- XINPUT_GAMEPAD_A does not work unless you hold down the button when program starts
- Injecting to a DX game and make game idle
- Java: How to emulate a XInput gamepad/controller?
- Linux: Xautomation with fake mouse pointer
- How to make a program that finds id's of xinput devices and sets xinput some settings
- Is it possible to get an XInput device's name, product ID, vendor ID or some other kind of unique identifier for it?
- How to configure Qt - DirectX - Xinput.h
- Translates the XInput calls to DirectInput calls on MAC OS X (Emulate x360 controller from PS3 one)
- using XInput, is it possible to get an image of the controller?
- XBox 360 controller non-customisable mapping
- Releasing all keys after disabling the keyboard in X11/Linux using xinput?
- Mouse emulation using an Xbox 360 controller
- Is there a way to see the state of the Xbox button using Xinput.h? (Using an Xbox One controller)
- Pygame: Analog trigger initial value is not the neutral trigger position
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I would advise using an input abstract class and converting the input types you need using concrete classes to convert input (A on keyboard or RTrigger on Xbox) into a input action in your game (punch button press, jump button press, Movement in X direction etc).
In C# this can be done relatively easily. Create a class/struct to be the target of your conversion return. In my case I did a fighting game platform with actions and movement with camera control, I call this
InputState:You can then create a abstract
InputConverterclass that takes an input of some type and returns thisInputStateclass:You can then extend this class into others, for example in Unity3D I use this class I created to make input with an XBox controller convert to the
InputStateclass above. When initialized it required the player ID to get the correct controller. The most import part here is thepublic override InputState Convertthat returns your gamesInputStateobject:Using this class you can specifically use the buttons you want for the actions you need and do this with whatever inputs you choose. Here is the unity Keyboard converter:
Finally
Depending on player choice I can simply instantiate the input converter of my choosing using an enumerator and use an
InputHandlerclass to call an update and retrieve the state of input from the appropriate one without needing to know which one it was that the player uses. This is important as you want to only call these inputs when your game engine is ready and using the settings the player has selected (XBox, Keyboard+Mouse, PC GamePad, etc.) :Hope this helps.