Questions tagged [xinput]

XInput is an API that allows applications to receive input from the Xbox 360 Controller for Windows. Controller rumble effects and voice input and output are supported.

XInput, an API for "next generation" controllers, was introduced in December 2005 alongside the launch of the Xbox 360. This instruction set provided full support for Xbox 360 controllers in Windows XP SP1 and subsequent operating systems, and is described by Microsoft as being easier to program for and requiring less setup than DirectInput. XInput is compatible with DirectX version 9 and later.

Additional reading:

Wikipedia

Microsoft MSDN Introduction

142 questions
2
votes
1 answer

Finding out whether a DirectInput device supports XInput (with mingw/gcc)

I'm working on an input system, wrapping DirectInput and XInput. Currently XInput devices are enumerated twice, once as XInput and once as DirectInput (since they support both). How can I find out if a given DirectInput device also supports XInput?…
Mr. Wonko
  • 690
  • 9
  • 17
2
votes
1 answer

Keyboard and Mouse Device Support in xInput

Does the XInput library feature support for handling events from connected keyboards and mice? I know it supports handling events from xInput compatible controllers but it wasn't clear whether keyboard and mouse input handling is also included. I…
Nathan Blair
  • 943
  • 13
  • 21
2
votes
1 answer

xorg touchscreen: absolute position ignored

I'm trying to use an EETI EXC7200 touchscreen with X (1.14.7). The touchscreen is recognized and events are processed. TS sends absolute coordinates and evdev driver is used (mode absolute). However when I move to the edge of the screen (and X or Y…
2
votes
1 answer

xinput Touchscreen Calibration Inconsistent

We have devices with touchscreens that we calibrate using xinput_calibrator, then apply the settings in a launch script for our application, along the lines of xinput set-int-prop "Microchip Technology Inc. AR1100 HID-MOUSE" "Evdev Axis Calibration"…
SixDegrees
  • 781
  • 1
  • 8
  • 19
2
votes
1 answer

C/C++: Disable mouse in Linux (X11 - xinput)

I want to programmatically enable and disable the mouse in Linux using C/C++. There is the input extension for X11 that allows you to do it using the terminal command: xinput set-int-prop "" "Device Enabled" 8 0 This works perfectly,…
goocreations
  • 2,938
  • 8
  • 37
  • 59
2
votes
2 answers

using XInput, is it possible to get an image of the controller?

In my simple mind, it seems useful to ship a nice image of your joystick with an index of the button and axis locations on the image. Can such a thing be queried through the XInput or DirectInput APIs? Would it be driver-specific, and if so which…
Brannon
  • 5,324
  • 4
  • 35
  • 83
2
votes
2 answers

Java: How to emulate a XInput gamepad/controller?

I would like to emulate an XInput gamepad (controller) using Java. I've searched around the net but I couldn't really find any solution for my problem. Is it possible to simulate an XInput controller using Java? I'm currently playing a game called…
Tim Visée
  • 2,988
  • 4
  • 45
  • 55
2
votes
0 answers

Strange wbem issue

I've been working on a xinput+directinput implementation in a qt app I'm writing. Anyways, based on some sample code I have a basic WBEM setup to determine whether a device is xinput or not. Problem is IWbemLocator_ConnectServer while returning S_OK…
1
vote
1 answer

How to configure Qt - DirectX - Xinput.h

I'm relatively new to C++ programming and Qt so this issue is probably my miss understanding of codependency. I'm trying to use the Xinput.h file within my source code, which is part of the DirectX SDK with Qt creator. I have working source code for…
Nark
  • 310
  • 1
  • 3
  • 11
1
vote
1 answer

Delay The Polling Events Of Xbox360 Gamepad With XInput

My team and I are currently developing a 2D platformer with SDL/OpenGL and we want to add support to the Xbox360 Gamepad with the XInput library from Microsoft, but we are currently having a problem. First of all, the method for reading the key…
oscar.rpr
  • 678
  • 1
  • 6
  • 23
1
vote
1 answer

Linux - Rapidfire BASH Script for Screen Color Matching

I am trying to code a BASH script that will do the following while a program's window has focus. This would be done under KDE: While holding left mouse button: press alt-4 key check for color (white) at pixel position 1; if pixel color exists,…
proxyx
  • 13
  • 4
1
vote
0 answers

Gtk's XInput2 detection test doesn't work

I am currently executing the configure script of gtk. It tests for the presence of XInput, and it stops the execution with the error message: "configure: error: *** XInput2 extension not found. Check 'config.log' for more details." Looking at…
user2752471
  • 444
  • 1
  • 6
  • 14
1
vote
0 answers

mapping dual identical touchscreens on linux

I need to automate touchscreen mapping. In xinput, the names are the same. So mapping by name is unrealistic. also in xinput, the ID's are subject to change depending on what is plugged into the system's USB ports. So there is no reliable mapping by…
1
vote
1 answer

Why would a program crash in DllMain() when linking Xinput.lib

I have created an input library and I link with xinput.lib. The program that uses my input library crashes on start up before any user code is executed so it makes it pretty hard to debug. The program crashes during xinput dll loading which…
Richmar1
  • 191
  • 10
1
vote
2 answers

Which version of the Windows SDK uses xinput1_3.dll?

I currently have Windows SDK 7.0A installed. This version of the SDK contains Xinput.h which references xinput9_1_0.dll: #define XINPUT_DLL_A "xinput9_1_0.dll" I need my program to use xinput1_3.dll instead. I figured that in order to do this, I…
Nick Bolton
  • 38,276
  • 70
  • 174
  • 242
1 2
3
9 10