Main > Software Forum

Keyboard2Xinput (Virtual X360 pads from keyboard)

<< < (33/34) > >>

Yardley:
Just wanted to point out that with the recent changes to ViGEm, Keyboard2Xinput is no longer working after running their updater. I am getting an error that says "no ViGEm bus found".

EDIT: I reran the ViGEm installer and now everything is fine.

Nataq:
This app seems like what I need but call me crazy, after I unzip this there is no Keyboard2XinputGui.exe file inside and windows defender doesnt say he did anything. What am I missing ?

Edit: Sorry had the wrong zip!

Student123:

--- Quote from: Vitaly17 on July 19, 2023, 06:09:29 pm ---
--- 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.

--- End quote ---

Thank you, sorry for super slow response. This definitely does help, will have to look into a few other settings then as when I use this configurartion Hyperspin will load a pc game once and then no other gamers will load after I quit.

I did try without Keyboard2xinput and it works just fine, so somehow it believes something is still running and its waiting for it to close before it starts something else.

Will do some more  digging, thank you!!

Schwing:
Hi, long time no see :)
just wanted to let you all know that I just released version 1.2.3, which fixes a long standing bug with thumb pads not going to 100%. Most games don't care, but a user reported that Dark Souls PTDE did care.
The fix was really easy (I suppose I didn't find the documentation at the time, though I kind of remember searching for it), it just took me forever to setup my build environment for this project again  ;)

Version 1.2.3

Schwing:

--- Quote from: Yardley on August 02, 2023, 12:56:31 pm ---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?

--- End quote ---

Sorry for the very long delay, but this is in fact supported, you just have to add other lines to the config :

--- Code: ---LControlKey = A
G = A
--- End code ---
This will make both the left control and the G key trigger the A button.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version