Jump to content

Simulate X360 controllers when you just have a keyboard


ducon2016
 Share

Recommended Posts

@ducon2016 Is there a way to map the L/R Analog to an Ultimarc UltraStik Analog joystick? It’s a direct input device that I would like to remap analog from x360 controller to. If its supported what name/data to I type into the .ini file? If it’s not supported would there be any hope that you could add it?

 

thank you!

Link to comment
Share on other sites

 
  • Replies 198
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 10/3/2019 at 10:05 PM, bojo5150 said:

@ducon2016 Is there a way to map the L/R Analog to an Ultimarc UltraStik Analog joystick? It’s a direct input device that I would like to remap analog from x360 controller to. If its supported what name/data to I type into the .ini file? If it’s not supported would there be any hope that you could add it?

 

thank you!

 

You need to use X360ce to map to a joystick. x360kb is just for the keyboard

Link to comment
Share on other sites

 
 
 

v13 added. HideDLL option to defeat DOA6 protection, and improved fastprox.dll hooking to eliminate failures.

 

Working settings for DOA6: x64 / dinput8.dll / HookAllXInputDLLs=1 / BlockRawInput=1 / FilterOtherPads=1 / FakeXInputPads=1 / HookFastProx=1 / HideDLL=1

Link to comment
Share on other sites

 
  • 2 weeks later...
 
2 hours ago, bojo5150 said:

@Ducon2016 Is it possible to map an XBOX Analog stick to mouse movement? I'm looking to use a trackball in place of the left analog stick on a 360 controller for a game if possible.

 

As always, thank you!

Make Xboxcontroller work as your mouse withJoy2Key

 

Edited by spiderzsoft
Link to comment
Share on other sites

 
5 hours ago, bojo5150 said:

@Ducon2016 Is it possible to map an XBOX Analog stick to mouse movement? I'm looking to use a trackball in place of the left analog stick on a 360 controller for a game if possible.

 

As always, thank you!

 

You want the computer to believe you use an analog stick, but in reality your trackball is the one determining the analog stick right?

Link to comment
Share on other sites

 
 
7 hours ago, ducon2016 said:

 

You want the computer to believe you use an analog stick, but in reality your trackball is the one determining the analog stick right?


That’s correct, xinput only game that I want to use keyboard and mouse on. Specifically the left analog to mouse/trackball

Link to comment
Share on other sites

 
  • 2 months later...
 
 
  • 2 weeks later...
 
 
 
 
  • 2 weeks later...
 
 
  • 3 months later...
 
 
  • 4 weeks later...

This program just does not work on any computer I try it on. I’ve tried using it with the Fast and Furious games cracked by Mohkerz, I hear the hook chime but no keys respond in game.

 

Tried on Windows 7, 8.1 and 10. Tried downloading newest version, tried disabling the blocking of keys in the ini file, nothing works. I don’t understand. Clearly it’s something on my side as it cannot be that it doesn’t work on 3 different operating systems but I’ve even downloaded people’s pre configured X360kb I use. Nothing works.

Link to comment
Share on other sites

 
3 hours ago, Dante82 said:

This program just does not work on any computer I try it on. I’ve tried using it with the Fast and Furious games cracked by Mohkerz, I hear the hook chime but no keys respond in game.

 

Tried on Windows 7, 8.1 and 10. Tried downloading newest version, tried disabling the blocking of keys in the ini file, nothing works. I don’t understand. Clearly it’s something on my side as it cannot be that it doesn’t work on 3 different operating systems but I’ve even downloaded people’s pre configured X360kb I use. Nothing works.

 

Haha, it works for all my 300+ PC game collection, so it definitely works however you must try different combinations and options because every game behave differently. And I tested it only on Windows 7 and Windows 10, not sure for other versions of the game

 

1. You need to find which DLL to use. In general the way to do that is to load the game .exe in a debugger first to find out if your .exe is 32 or 64 bit. Then you look at the list of symbols to find if dinput/dinput8/xinput1_3/xinput1_4/xinput9_1_0/or in rare cases if none of the previous ones are loaded winmm (Blade Arcus if I remember correctly works like that)

2. When you found the right dll usually start with xinput ones if the game loads many, if it does not work go with dinput8

3. If the game loads many xinput dlls, make sure to enable the option to hook all the xinput dlls

4. If Dinput8, try to filter and fake xinput joysticks

5. Copy the dll in the game .exe folder

 

If you have a specific game you want to try let me know I can help you give you one config.

Edited by ducon2016
Link to comment
Share on other sites

 
6 minutes ago, ducon2016 said:

 

Haha, it works for all my 300+ PC game collection, so it definitely works however you must try different combinations and options because every game behave differently.

 

1. You need to find which DLL to use. In general the way to do that is to load the game .exe in a debugger first to find out if your .exe is 32 or 64 bit. Then you look at the list of symbols to find if dinput/dinput8/xinput1_3/xinput1_4/xinput9_1_0/or in rare cases if none of the previous ones are loaded winmm (Blade Arcus if I remember correctly works like that)

2. When you found the right dll usually start with xinput ones if the game loads many, if it does not work go with dinput8

3. If the game loads many xinput dlls, make sure to enable the option to hook all the xinput dlls

4. If Dinput8, try to filter and fake xinput joysticks

 

If you have a specific game you want to try let me know I can help you give you one config.

I got it working by downloading someone's ini file for Fast & Furious Supercars finally. The only thing I can't find out now is what keys shift up and down. I don't think Mohkerz cracked them, most people always choose automatic with arcade racers anyway.

Link to comment
Share on other sites

 
 
  • 3 weeks later...

x360kb-v14.7z

 

Yeah Super Bomberman R is finally playable with 4 players!!!

 

Added support for steam actions for the few crappy games that had the bad idea to only work with steam controllers: Fight Angel, Super Bomberman R, Vasara, etc. For Unity games make sure you move the steam dlls out of the plugins folder and put it in the same folder as the main game exe.

Added option to reduce analog range to reduce cursor speed in some games like Missile Command: Recharged

Replaced custom logging code by the excellent loguru library (https://github.com/emilk/loguru)

 

Example config for Super Bomberman R ( x86 / xinput1_3.dll )

HookAllXInputDLLs=1
BlockRawInput=1
FilterOtherPads=1
FakeXInputPads=0
Steam=1

[Actions]
A=A
B=B
X=X
Y=Y
LB=Left Shoulder
RB=Right Shoulder
START=Start
BACK=Back
UP=Left Analog Up
DOWN=Left Analog Down
LEFT=Left Analog Left
RIGHT=Left Analog Right
Move=Left Analog

Example config for Fight Angel ( x64 / xinput1_3.dll )

HookAllXInputDLLs=1
BlockRawInput=3
FilterOtherPads=1
FakeXInputPads=1
Steam=1

[Actions]
Move=Left Analog
Camera=Right Analog
attackA=A
attackB=B
attackE=X
attackS=Y
pauseMenu=Left Thumb
camera_pan=

Example config for Vasara ( x64 / xinput1_3.dll )

HookAllXInputDLLs=1
BlockRawInput=3
FilterOtherPads=1
FakeXInputPads=1
Steam=1

[Actions]
menu_move=Left Analog
menu_start=Start
menu_select=A
menu_cancel=B
c_move=Left Analog
c_shot=A
c_bomb=B
c_vasara=Y
c_rapid_fire=X
c_credit=D-Pad Left
c_start=Start
c_arcade_menu=Left Shoulder
menu_prev=Left Analog Left
menu_next=Left Analog Right
t_move=Left Analog
t_shot=A
t_bomb=B
t_vasara=Y
t_rapid_fire=X
t_dash=Left Trigger
Edited by ducon2016
Link to comment
Share on other sites

 
  • 2 weeks later...

hi, i have a big problem

 

In my arcade i have a usb keyboard + ipac

 

With new versions of x360kb the dll activates and when i press keys emulated x360 controller responds with a very big delay and dpad  o left analog doesn't return to center

 

With original version i don't have this problem.

 

I tested all combinations in the ini but no luck

 

Any suggestions?

 

best regards

Link to comment
Share on other sites

 
2 hours ago, huntsman360 said:

hi, i have a big problem

 

In my arcade i have a usb keyboard + ipac

 

With new versions of x360kb the dll activates and when i press keys emulated x360 controller responds with a very big delay and dpad  o left analog doesn't return to center

 

With original version i don't have this problem.

 

I tested all combinations in the ini but no luck

 

Any suggestions?

 

best regards

 

What game? What version of dll x86/x64? what dll? share your x360kb.ini

Link to comment
Share on other sites

 
hace 13 horas, ducon2016 dijo:

 

What game? What version of dll x86/x64? what dll? share your x360kb.ini

 

Any version 32/64

 

Always the same, controls response is very delayed. 

 

I've tried with sf5 win dll 1_3 64bit and a ini with only rawdata=1 and pad1 config and the same

 

Control respond the first moment and after that big delay

Edited by huntsman360
Link to comment
Share on other sites

 
1 hour ago, huntsman360 said:

 

Any version 32/64

 

Always the same, controls response is very delayed. 

 

I've tried with sf5 win dll 1_3 64bit and a ini with only rawdata=1 and pad1 config and the same

 

Control respond the first moment and after that big delay

 

Give me all the details please, I cannot help you if you do not provide all the details. Give me the complete config file. Did you turn log on by any chance? Make sure log=0

Link to comment
Share on other sites

 
hace 6 horas, ducon2016 dijo:

 

Give me all the details please, I cannot help you if you do not provide all the details. Give me the complete config file. Did you turn log on by any chance? Make sure log=0

thanks for helping me

 

The details are: S.O Retroos (windows 7), logitech usb keyboard and ipac for arcade controls

 

If i change blockrawinput no difference. dll activates but i suppose any conflict that makes that response is with more delay and stucks in a direction, with buttons the same. I push a button and respond after 5 o 6 presses. And stucks

With original x360kb no problem

 

I tested on my regular pc with only one keyboard and all ok

 

ini detail:

 

[Options]
UseInitBeep=1
Log=0
BackgroundMode=1
PadCount=2
BlockRawInput=0
BlockKeys=1

[PAD1]
Start=1
Left Analog Left=
Left Analog Down=
Left Analog Right=
Left Analog Up=
Right Analog Left=
Right Analog Down=
Right Analog Right=
Right Analog Up=
D-Pad Up=Up
D-Pad Down=Down
D-Pad Left=Left
D-Pad Right=Right
A=v
B=b
X=z
Y=x
Left Shoulder=c
Right Shoulder=n
Left Trigger=
Right Trigger=

[PAD2]
Start=2
Left Analog Left=
Left Analog Down=
Left Analog Right=
Left Analog Up=
Right Analog Left=
Right Analog Down=
Right Analog Right=
Right Analog Up=
D-Pad Up=r
D-Pad Down=f
D-Pad Left=d
D-Pad Right=g
A=s
B=i
X=q
Y=w
Left Shoulder=a
Right Shoulder=k
Left Trigger=

Edited by huntsman360
Link to comment
Share on other sites

 
8 hours ago, huntsman360 said:

The details are: S.O Retroos (windows 7), logitech usb keyboard and ipac for arcade controls

 

If i change blockrawinput no difference. dll activates but i suppose any conflict that makes that response is with more delay and stucks in a direction, with buttons the same. I push a button and respond after 5 o 6 presses. And stucks

With original x360kb no problem

 

I tested on my regular pc with only one keyboard and all ok

 

ini detail:

 

[Options]
UseInitBeep=1
Log=0
BackgroundMode=1
PadCount=2
BlockRawInput=0
BlockKeys=1

 

 

Where do I find S.O Retroos? What dll do you use? what version x86 or x64?

 

Seems like you are using an OLD version of x360kb BackgroundMode does not exist for a long time. Try the latest version I just uploaded.

Link to comment
Share on other sites

 
hace 24 minutos, ducon2016 dijo:

 

Where do I find S.O Retroos? What dll do you use? what version x86 or x64?

 

Seems like you are using an OLD version of x360kb BackgroundMode does not exist for a long time. Try the latest version I just uploaded.

 

forget background

 

I'm using v14 and with x86 and x64 the same. But if i use the original 32bit x360kb no problem

 

Something is interfering with the new dll any i use, 32 or 64 , 1_3 or 1_4 allways the same

 

With vjoy and x360ce no problem and with x360kb original all ok, but with original version 64bit games doesn't work and i have to use vjoy and x360ce

 

I don't know where is the conflict or how to solve it, when i see the log, seems that is responding but much lag and controls tends to lock pressed for a while

 

Thanks for trying to help me

Link to comment
Share on other sites

 
5 hours ago, huntsman360 said:

 

forget background

 

I'm using v14 and with x86 and x64 the same. But if i use the original 32bit x360kb no problem

 

Something is interfering with the new dll any i use, 32 or 64 , 1_3 or 1_4 allways the same

 

With vjoy and x360ce no problem and with x360kb original all ok, but with original version 64bit games doesn't work and i have to use vjoy and x360ce

 

I don't know where is the conflict or how to solve it, when i see the log, seems that is responding but much lag and controls tends to lock pressed for a while

 

Thanks for trying to help me

I use the new version on all my games. No issue whatsoever so give me the exact game you use, and the exact version of dll. I cannot help you if you cannot provide specific information.

Edited by ducon2016
Link to comment
Share on other sites

 
hace 9 horas, ducon2016 dijo:

I use the new version on all my games. No issue whatsoever so give me the exact game you use, and the exact version of dll. I cannot help you if you cannot provide specific information.

 

The ini i send you is for sf5

 

The test i making is with 1_3 dll 32 bit and program xinput test, here i can see the controls responding laggy and been stocked all the time.

 

In another pc all ok with your dll, the problem is only on my arcade cabinet. But in the cabinet original x360kb has no problem and vjoy and x360ce have not eather

 

Thanks 

Edited by huntsman360
Link to comment
Share on other sites

 
10 hours ago, huntsman360 said:

 

The ini i send you is for sf5

 

The test i making is with 1_3 dll 32 bit and program xinput test, here i can see the controls responding laggy and been stocked all the time.

 

In another pc all ok with your dll, the problem is only on my arcade cabinet. But in the cabinet original x360kb has no problem and vjoy and x360ce have not eather

 

Thanks 

 

SFV the PC version or the Arcade version with JConfig?

Link to comment
Share on other sites

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
  • Create New...