directinput Questions
2
Solved
I want my python programm to simulate an XBox controller input.
Both analog thumb sticks and the on/off buttons if possible.
I found topics about simulating Keyboard input with ctypes in python, f...
Parisian asked 18/4, 2017 at 22:17
2
I have a C++ program that enumerates all the input devices (using direct input) at the start of the program. If the program is started, and then I plug in another controller, this controller won't ...
Chartres asked 13/5, 2013 at 17:54
7
Solved
Sometimes (in about 50% of runs), EnumDevices takes 5-10 seconds to return. Normally it is almost instant. I couldn't find any other reports of this kind of behaviour.
When things are this slow, i...
Hb asked 10/6, 2012 at 10:1
1
There are a lot of games in steam working with x360 controllers but not mapped properly with a PS3 DS3 controller...
MotionInJoy do it clean with "emulate 360 controller" but it works only on PC.
...
Elusion asked 25/12, 2013 at 18:53
7
Solved
I'm working on a C++ DirectX 2D game and I need keyboard and mouse input.
Wikipedia says:
Microsoft recommends that new applications make use of the Windows message loop for keyboard and mouse i...
Quartic asked 29/1, 2010 at 21:18
1
I'm trying to simulate mouse events in a game. The games uses DirectInput so you can't use SendMessage to send mouse events/keyboard events to it, that's basically why I have to hook in to the game...
Izanami asked 14/7, 2014 at 10:58
2
Solved
I'm using Unity3D and I'm having issues with the keyboard when I 'build' the project.
When I run the game within the Unity Editor, the input works fine. However, when I build the project and test ...
Cycloplegia asked 21/4, 2013 at 20:7
1
Solved
How can I simulate a keypress with DirectInput? I currently have the initialization (but I'm not sure is it good or not):
#include <dinput.h>
#pragma comment (lib, "dinput8.lib")
#pragma c...
Wernher asked 6/9, 2011 at 13:9
2
Solved
I'm trying to simulate keyboard commands for a custom game controller application. Because I'll need to simulate commands in a DirectInput environment most of the usual methods don't work. I know t...
Bulge asked 5/9, 2010 at 3:22
3
Solved
Sorry if my question seems a little noobish but I can't find an answer. I would like to use DirectInput for my XNA game. I've read around and it seems this is the best way to get input from a gamep...
Shandashandee asked 17/2, 2012 at 23:11
1
I am monitoring HID connections using EnumDevices(..., DIEDFL_ATTACHEDONLY). When I disconnect a game controller it no longer shows up in the callback. However, when I disconnect the keyboard, it s...
Pay asked 17/2, 2012 at 18:44
1
Solved
I'm building an application which needs to filter some mouse clicks system-wide. That is, I need to make the system ignore some mouse button clicks at special occasions.
I use low level mouse hook...
Rottweiler asked 11/7, 2010 at 14:37
1
© 2022 - 2024 — McMap. All rights reserved.