starshinata / PS4-Keyboard-and-Mouse-Adapter

Allows you to play any game on your PlayStation 4 with a keyboard and mouse, no controller required, and it's free
https://github.com/starshinata/PS4-Keyboard-and-Mouse-Adapter/releases/download/1.0.5/Setup.exe
GNU General Public License v3.0
154 stars 25 forks source link

ViGEm drivers not detected aka (Vigem "The operation completed successfully") #81

Open dorkable opened 1 year ago

dorkable commented 1 year ago

PS4KMA 3.1.0

Describe your issue

Despite installing the ViGEm drivers from Github, the program still thinks I don't have it installed.

If problem, how can someone else replicate this?

Install the ViGEm driver from the suggested website, choose the 64x option and install it.

pancakeslp commented 1 year ago

What version of vigem did you install? What url did you get vigem from? Have you restarted your computer since installing vigem?

On Fri, 30 Dec 2022, 00:52 dorkable, @.***> wrote:

PS4KMA 3.1.0 Describe your issue

Despite installing the ViGEm drivers from Github, the program still thinks I don't have it installed. If problem, how can someone else replicate this?

Install the ViGEm driver from the suggested website, choose the 64x option and install it.

— Reply to this email directly, view it on GitHub https://github.com/starshinata/PS4-Keyboard-and-Mouse-Adapter/issues/81, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJH5ZQDCH76DBYTPVJ6SZ7LWPYW4PANCNFSM6AAAAAATMQCJSA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dorkable commented 1 year ago

Version: 1.17.333.0 Url (x64): https://github.com/starshinata/PS4-Keyboard-and-Mouse-Adapter/tree/master/installers/vigemBusDriver/ I have restarted my computer twice already

pancakeslp commented 1 year ago

can you send me the application log (to pancakeslp@gmail.com)

dorkable commented 1 year ago

The application log for what? And how would I obtain it?

pancakeslp commented 1 year ago

the log of the adapter see https://github.com/starshinata/PS4-Keyboard-and-Mouse-Adapter/blob/master/documentation/welcome-2.png bottom left of the screen

dorkable commented 1 year ago

I have sent the log in the email

pancakeslp commented 1 year ago

The error message was "The operation completed successfully", which isn't helpful. See the below link for a build with more error logging, please replicate error and share the new log. https://drive.google.com/drive/folders/1e1ZMPRAsxQix3AeCcMiVWBFfv7LwGPTU?usp=share_link

pancakeslp commented 1 year ago

Dorkable, if you are still there can you confirm if you read https://github.com/ViGEm/ViGEmBus/issues/85, as this seems very similar

I was discussing this over email with Dorkable, but then he stopped replying, and its been over a week. Will leave this open for a bit, and will close if no reply

mike123yy commented 1 year ago

I've had the same problem after reinstalling this program with it not picking up on the driver. I looked over the logs and it gives me the same "the operation was completed successfully" message under error. I checked out the link above that was saying the problem was fixed by installing the Xbox 360 drivers. I made sure all those were installed but it's still not picking up on the driver. I tried to use the built with more error logging but when I double-click on it it freezes up my mouse for a couple of seconds but doesn't open. It did show the driver was detected once when opening the program and I thought it was fixed but when I opened it back up again it was giving the same error "vigem not detected"

pancakeslp commented 1 year ago

@mike123yy could you send me a copy of the log so i can double check - pancakeslp@gmail.com

and what OS are you running ?

mike123yy commented 1 year ago

I emailed you the log so it should be in your inbox. I'm running Windows 11. Let me know if there's anything else I can do to help you find the bug. Thanks

pancakeslp commented 1 year ago

Make sure you have a recent version of vigem bus https://github.com/ViGEm/ViGEmBus/releases

seems the version in my repo isn't new enough to consider windows 11 ( at https://github.com/starshinata/PS4-Keyboard-and-Mouse-Adapter/tree/master/installers/vigemBusDriver )

mike123yy commented 1 year ago

I downloaded the version from your link instead of the repo and gave the computer restart. When I first opened up the PlayStation mouse and keyboard adapter it showed it was detected and everything was looking good. I close the program and reopened it just to make sure and it started saying not detected again. I tried opening at several more times to check but it won't detect the vigem driver anymore after the first attempt. I will email you another log.

pancakeslp commented 1 year ago

I am aware I have a log on my inbox (ill review it tonight I'm currently at work) What happens if you restart your computer then use the adapter?

On Tue, 4 Apr 2023, 01:22 mike123yy, @.***> wrote:

I downloaded the version from your link instead of the repo and gave the computer restart. When I first opened up the PlayStation mouse and keyboard adapter it showed it was detected and everything was looking good. I close the program and reopened it just to make sure and it started saying not detected again. I tried opening at several more times to check but it won't detect the vigem driver anymore after the first attempt. I will email you another log.

— Reply to this email directly, view it on GitHub https://github.com/starshinata/PS4-Keyboard-and-Mouse-Adapter/issues/81#issuecomment-1495165423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJH5ZQASVWGZLUNQJXJPLPDW7NSVBANCNFSM6AAAAAATMQCJSA . You are receiving this because you commented.Message ID: @.*** com>

mike123yy commented 1 year ago

I did a restart and tried to open it again but it said driver not detected. I went a step further and uninstalled the driver and then reinstalled it again with a restart to see if that would do anything but it still refuse to pick up on the driver.

Another thing I just noticed it was doing which I don't know if it's related or not is if you open it more than once it says PlayStation controller detected even though no controllers plugged in. It seems to be detecting itself. I did manage on a restart to get it to show the driver detected once again and that's when I noticed the PlayStation controller detected error message. On that time though I had only opened the program once. I tried to use it with the PlayStation just to see if it would work and it came up with a message saying "tell the developer he failed."I assume you programmed that in and my computer is not being a jerk, LOL.I don't know if there might be something on my computer causing the conflict because when I first had this program installed it worked flawlessly without any errors and I was using Windows 11 at that time With the older driver. I wouldn't know what to check to see if that's the case though.I saved the error logs from when this was happening if they would help.

mike123yy commented 1 year ago

I believe I might have fixed it! I was doing some computer cleanup and I ran Drive booster to update my drivers. It didn't have anything with this specific driver just some bus controllers and network adapters so I'm not sure why it worked but after updating everything I decided to open the program just to check And it's back and functioning. I opened it a couple times just to make sure and its not giving me any problems. Like I said, I have no idea what one would have to do with the other but it made it work. Not sure if it would be the same issue with the original poster dorkable But it's solved for me.Thanks

pancakeslp commented 1 year ago

Interesting I was going to share something that doesnt use vigem so we could be sure about that 1 controller that you think ps4kma emulating early, glad its fixed though

when you say "Drive booster" do you mean https://store.steampowered.com/app/920490/Driver_Booster_for_Steam/ ?

mike123yy commented 1 year ago

That looks like the same program just the steam version.Here's a link for the one I use: https://www.iobit.com/en/driver-booster.php I'm glad it's back up and working too! Honestly, you should be selling it. rewasd Does and it's less compatible with devices than this program. I cant even use that program because it wont pick up on my mouse and keyboard set up. Only thing this is missing is the touchpad swipe support.But either way, thanks for making it!