hid_to_vpad icon indicating copy to clipboard operation
hid_to_vpad copied to clipboard

Keyboard Stick Speed Modifier?

Open noyster31 opened this issue 8 years ago • 1 comments

I'm currently trying to play Super Smash Bros with a keyboard, from what I tested so far works great except one thing. If you are unfamiliar with the game, the left stick is used for movement and depending on how fast you move the stick into position determines whether you walk or dash and run. Using A and D on the keyboard for the movement left and right only lets you dash/run because it turns on instantly. Is it possible to add a setting or configuration to add a key modifier like Shift for example that emulates the movement of a stick from going from the resting position to left or right gradually? I like the ability to instantly dash but I would also like the option to use Shift+[A|D] to walk. Thanks

noyster31 avatar Dec 05 '17 11:12 noyster31

The only way i imagine this working is running your keyboard through a network. This comment will help

I'm not really sure if this would even work. IIRC windows doesn't give the HID-Access to the >keyboard/mouse. I think the better approach would be to use some Software to emulate the keyboard/mouse a XInput device. Yesterday I did some research and found some tools which allow you to do this. At first it seems a bit compilacted, but once you've set this up, it's really powerful. Also the Mouse to Stick emulation is wayyyy better than my primitive implementation. Once I've set everything up, I can share my configs + maybe a small tutorial.

But I've used:

VJoy to create a virtual gamepad. http://vjoystick.sourceforge.net/site/ XOutput to map this controller to an XInput device https://github.com/Stents-/XOutput and URC to map the keyboard/mouse to the created VJoy Controller. https://github.com/evilC/UCR URC allows you to do really crazy stuff, and has a nice mouse to stick conversion with many options

You can then use these tools to finely tune a keyboard to do virtually anything you want, for example, pull left on an analog stick by 25% just by pressing [Your key here]

The only thing stopping this from being amazing is ghosting issues. You'll need a mechanical keyboard to prevent ghosting from ignoring your inputs.

footfoot19 avatar Dec 17 '17 20:12 footfoot19