Main > Software Forum
Keyboard2Xinput (Virtual X360 pads from keyboard)
Maxforwardspeed:
First, thanks to the developer of this awesome app! This is just what I've been looking for with my ipac-4 cab. It's been working great with my PC games except for the new TMNT steam game. The game is not recognizing any controllers from k2xi. But, my normal Xbox one controllers are detected right away. Has anyone been successful with getting k2xi working with TMNT?
Edit: Got it working by running k2xi as administrator
Fursphere:
Yes. I use it on my cabinets to play a whole host of Steam games, including the new TMNT titles.
Use your i-pac shift keys to setup a toggle to enable / disable the xinput app. Sometimes you need the keyboard to actually work as a keyboard. :)
Student123:
Hey guys,
Running into an issue for a very long time I am trying to fix once and for all.
I use Keyboard2Xinput. I was trying to run it in a custom AHK script, one for every game that I am trying to convert Keyboard input into Xbox Controller input.
I use this :
--- Code: ---; Code in this file will only be run for the game whose name matches the filename of this file and whose system name matches the folder name this file is located in
; Do not change the line with the class declaration! The class name must always be GameUserFunction and extend GameFunction
; This is just a sample file, you only need to implement the methods you will use the others can be deleted
class GameUserFunction extends GameFunction {
; Use this function to define any code you want to run on initialization
InitUserFeatures() {
RLLog.Info(A_ThisFunc . " - Starting")
run, D:\Arcade\Tools\Keyboard2Xinput\Keyboard2XinputGui.exe
Sleep, 1000
RLLog.Info(A_ThisFunc . " - Ending")
}
; Use this function to define any code you may need to stop or clean up in every module on exit
StopUserFeatures() {
RLLog.Info(A_ThisFunc . " - Starting")
Process, Close, Keyboard2XinputGui.exe
ExitApp
RLLog.Info(A_ThisFunc . " - Ending")
}
}
--- End code ---
Ended up with the same issue, loaded multiple games one after the other no issues, tested with the game with this AHK and nothing after loaded. The game without the ahk loads fine, so we definitely have our culprit, just not sure how to resolve the issue.
Anyone knows the best way to load Keyboard2Xinput in Rocketlauncher without causing issues? Does not seem custom scripts works with it, unless I am missing something.
Any help is appreciated!
Vitaly17:
--- Quote from: Student123 on May 01, 2023, 05:56:04 pm ---Hey guys,
Running into an issue for a very long time I am trying to fix once and for all.
I use Keyboard2Xinput. I was trying to run it in a custom AHK script, one for every game that I am trying to convert Keyboard input into Xbox Controller input.
I use this :
--- Code: ---; Code in this file will only be run for the game whose name matches the filename of this file and whose system name matches the folder name this file is located in
; Do not change the line with the class declaration! The class name must always be GameUserFunction and extend GameFunction
; This is just a sample file, you only need to implement the methods you will use the others can be deleted
class GameUserFunction extends GameFunction {
; Use this function to define any code you want to run on initialization
InitUserFeatures() {
RLLog.Info(A_ThisFunc . " - Starting")
run, D:\Arcade\Tools\Keyboard2Xinput\Keyboard2XinputGui.exe
Sleep, 1000
RLLog.Info(A_ThisFunc . " - Ending")
}
; Use this function to define any code you may need to stop or clean up in every module on exit
StopUserFeatures() {
RLLog.Info(A_ThisFunc . " - Starting")
Process, Close, Keyboard2XinputGui.exe
ExitApp
RLLog.Info(A_ThisFunc . " - Ending")
}
}
--- End code ---
Ended up with the same issue, loaded multiple games one after the other no issues, tested with the game with this AHK and nothing after loaded. The game without the ahk loads fine, so we definitely have our culprit, just not sure how to resolve the issue.
Anyone knows the best way to load Keyboard2Xinput in Rocketlauncher without causing issues? Does not seem custom scripts works with it, unless I am missing something.
Any help is appreciated!
--- End quote ---
Everything works for me, I configured the program through the PC Launcher prelaunch script module. I also brought scripts to my streamdeck, everything works too.
I checked the work through UserFunctions , no problems, everything works.Here is the script.
; This function gets ran right before the primaryExe
PreLaunch() {
RLLog.Info(A_ThisFunc . " - Starting")
run C:\keyxbox\Keyboard2Xinput-1.2.2\Keyboard2XinputGui.exe
RLLog.Info(A_ThisFunc . " - Ending")
}
; This function gets ran after the module thread ends and before RL exits
PostExit() {
RLLog.Info(A_ThisFunc . " - Starting")
Run,taskkill /im "Keyboard2XinputGui.exe" /F
RLLog.Info(A_ThisFunc . " - Ending")
Most often, such problems appear when something is running on behalf of the administrator. I'd be looking this way.
Yardley:
Hi all, long time keyboard2xinput user here. I have the need to do something I haven’t tried before which is to map two keyboard keys so that both output the same Xinput button. In other words, if I press keyboard key X it will output button A and if I press keyboard key Y it will also output button A. Does anyone know of this is possible?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version