Gamepad emulation, how?
category: code [glöplog]
Hey, guys!
I've been looking for a solution to emulate a gamepad. Does anyone know if there's a library, somewhere, for that?
Thanks in advance,
Danguafer
I've been looking for a solution to emulate a gamepad. Does anyone know if there's a library, somewhere, for that?
Thanks in advance,
Danguafer
Emulate how?
You can buy USB gamepads nowadays.
do you mean an xbox controller?
i think he wants his (windows) pc to believe that a gamepad is connected but it fact its mapped to some keys on the board.
much like with the pads n joysticks in various emulators.
of course, buying an xbox 360 pad is most likely the best solution ^^ (yes, they work great on pc)
much like with the pads n joysticks in various emulators.
of course, buying an xbox 360 pad is most likely the best solution ^^ (yes, they work great on pc)
i would also recommend the xbox pad, it's the greatest and most ergonomic gamepad i ever had!
http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm
Maybe glovepie too:
https://sites.google.com/site/carlkenner/glovepie
Useful for mapping one input device to another.
https://sites.google.com/site/carlkenner/glovepie
Useful for mapping one input device to another.
That ? http://code.google.com/p/x360ce/
How would a library that wraps DirectInput to support old gamepads in new games help someone who wants to emualte a gamepad without having an actual gamepad? Same for JoyToKey...
like key2joy? mmmh. does wrapping/mapping it with some global windows messages do that trick? i dunno. :/
Quote:
If you want to emulate a joystick (except for Xbox 360 controllers) with GlovePIE...
http://glovepie.org/w/index.php?title=Preliminary_Documentation_v0.45#PPJoy
Why not using placeholder functions that return a keyboard key instead of a gamepad key?
I want to create a server that listens to other computer connection. And when they connect, the windows recognizes that a new gamepad device was connected into the computer. The server receive their messages and acts like a driver or something like that.
I'm already reading the WDK documentation. It will be the first time I'm developing a driver. But I hope I get it working in no time.
I'm already reading the WDK documentation. It will be the first time I'm developing a driver. But I hope I get it working in no time.
So you wanna forward gamepad connections from one PC to another?
maybe he's making one of those fancy cloud gaming solutions.
There are endless possibilities, mein dear :D I want to make it in secret, because I'm planning to get some money with this simplistic idea, sorry lol
@Saga Musix:
I dunno he haven't no gamepad, and anyway, it's a link to emulate a gamepad i've posted. wtf?
I dunno he haven't no gamepad, and anyway, it's a link to emulate a gamepad i've posted. wtf?
Quote:
I've been looking for a solution to emulate a gamepad.
Read: "I don't have a gamepad but I want to emulate one"
Romano58, have you even read what x360ce does? I will rephrase it again for you: x360ce is a wrapper for applications, which only supports gamepads that work with XInput (like the xbox360 controller), to support older gamepads which only work with DirectInput. It doesn't emulate a gamepad, it is just a translation layer between two APIs.