Login

This Months Donations

$449.64
of $500.00 goal
Server, CDN, Network, Licensing
Development Budget
Developers Beer Fund
Recent:
zc
$2.00
Gary Matthews
$2.00
swedtwo
$2.00
wide
$2.00
Sakura
$0.00
Number of donations
108
Highest donation
$50.00
Average donation
$4.64

Getting over the flu so not nearly as much progress as I had hoped. But 2 good things that I was able to accomplish was to include support for both the Dualshock 4 version 2 controller that is shipping with PS4 Slims, and the new Sony Dualshock 4 wireless adapter. I have also confirmed the the DS4 wireless adapter exposes the audio port on the DS4 to windows as a normal audio device, meaning yes, you can finally use your headset on your DS4 with PC.

 

 

Patched DLL's here: https://inputmapper.com/forum/attachment/121

Log in to comment


Wobbles's Avatar
Wobbles replied the topic: #1 5 months 2 weeks ago
yes its working, make sure to follow IM on youtube where i release news such as this
George Welsh's Avatar
George Welsh replied the topic: #2 5 months 2 weeks ago
any progress on this? can this work with input mapper now? specifically the audio/mic on the ds4 controller working in steam games?
Wobbles's Avatar
Wobbles replied the topic: #3 7 months 3 weeks ago
Dongle arrived and ive already figured out the issue with the audio cutting out and have hacked a fix on my end for testing that seems to work. will implement a user solution as soon as possible.

I have also discovered that the audio flat out does not work in some (one so far) games. Watch Dogs for whatever reason would not play ANY in game audio yet worked fine playing the menu music. The fix for the volume had no effect even though it worked in other games like Bio Shock.
Wobbles's Avatar
Wobbles replied the topic: #4 7 months 3 weeks ago
No worries, 1.6 bugs have kept me busy anyway ;-)
George Welsh's Avatar
George Welsh replied the topic: #5 7 months 3 weeks ago
hey Wobbles, There was a mixup with my debit card, I corrected it today and the sony adapter should be with you on Oct third. Let me know you did receive it and I hope it helps!
Wobbles's Avatar
Wobbles replied the topic: #6 8 months 2 days ago
Much appreciated! Look forward to having some new hardware to tinker with!
George Welsh's Avatar
George Welsh replied the topic: #7 8 months 2 days ago

Wobbles wrote:

George Welsh wrote: Wobbles,
Would you prefer we donate or can I send you a adapter for testing? Thank you so much for all the work you do, cannot wait for this to be fully featured part of the software. looking forward to it.


Either/or. Its been added to the Amazon Wishlist www.amazon.com/registry/wishlist/3ATP4SS...w_ws_x_gos6xb9S8V6HB


Dongle on your way! Hope you can make some use of it. Look forward to any enhancements this may bring to the project. thank you again.
Wobbles's Avatar
Wobbles replied the topic: #8 8 months 2 days ago

George Welsh wrote: Wobbles,
Would you prefer we donate or can I send you a adapter for testing? Thank you so much for all the work you do, cannot wait for this to be fully featured part of the software. looking forward to it.


Either/or. Its been added to the Amazon Wishlist www.amazon.com/registry/wishlist/3ATP4SS...w_ws_x_gos6xb9S8V6HB
George Welsh's Avatar
George Welsh replied the topic: #9 8 months 2 days ago
Wobbles,
Would you prefer we donate or can I send you a adapter for testing? Thank you so much for all the work you do, cannot wait for this to be fully featured part of the software. looking forward to it.
marc gooding's Avatar
marc gooding replied the topic: #10 8 months 5 days ago

Andrew wrote: maybe you can rig it so you have a certain (otherwise never-used) button combo to adjust your volume? I see it as an option under media control; I assume it's basically the same setting as what my keyboard buttons are doing. Then you could just invoke the macro to bump the volume a nudge and get the audio to re-engage.

I could also see it being an issue that the wireless adapter and InputMapper are transmitting inputs from basically two controllers, but I haven't tried anything that has allowed me to notice yet.


Thanks for testing more and explaining dude.

I had thought about using the macro function to use a media control, but unless im being dumb (very possible) when i assign a button combo to be anything from the media controls it doesnt work. I think thats because the 'media controls' are just keyboard buttons - is that right Wobbles? Like, volume up and down in the media controls section is just Keyboard C and B keys. Not much use as media controls as far as i can work out - but like i say i might not be understanding.

Ive tried the xinput and dinput potential problem and it doesnt seem to be a problem after all. Though, on my end, turning off exclusing mode and emulating virtual controllers doesnt seem to do anything, so it might just be that. Can you clarify what these two functions are for Wobbles? Is there an option to hide DS4 controller as in other branches of this kind of software?



And incidentally, is there a shortcut we can set to turn the controller off as Andrew was asking? As per the 'other' software always had - you could press PS+Share and the controller fully shut off. I cant find any way to do that atm.
Andrew's Avatar
Andrew replied the topic: #11 8 months 5 days ago

marc gooding wrote: Dude, this is it. The audio is somehow getting 'muted' of sorts when i launch IM. Though it doesnt appear to be ACTUALLY muted.
If i go to sound devices, there is nothing i can do to unmute it. I cannot change it and i cannot 'test' to hear audio - its just gone. BUT, if i go into the sound MIXER, then move the volume level up or down for whatever specific application is sending volume then it come back. (I have no hardware volume controller like you do on the keyboard as i use the volume dial on the speakers themselves). There is no indication that it is muted in Sound devices or mixer but it is, for want of a better word, muted.

So that fixes that issue at least (very much a hassle if you dont have a hardware key available to change the sound level in the mixer but hey it will work for now.) Thanks for taking the time to go over it and check for me mate! I could never have worked out the 'mute' state if you hadn't said as, like i say, there is no indication of it being muted.

Wobbles, i think its just understand how or why its getting 'muted' in some way when launching IM is the only real issue i believe atm. I can deal with setting exclusive mode and turning off exclusive mode atm (though i might have to test this with something like rocket league which has support for both dinput and xinput controllers to see if im getting double inputs.)


I was just coming back on to report a couple more things I have uncovered. As I started typing, I got the reply notification email. Anyways, glad that worked for you! A little bit of a hassle to have to go change volume by software though. I am looking at the macro settings, and I don't know if this would work for you, but maybe you can rig it so you have a certain (otherwise never-used) button combo to adjust your volume? I see it as an option under media control; I assume it's basically the same setting as what my keyboard buttons are doing. Then you could just invoke the macro to bump the volume a nudge and get the audio to re-engage. Not the prettiest solution, but maybe prettier than the way you have to do it now. Something like "Hold touchpad button and click R/L stick" or something.

On that note, it seems as though the audio drops during each profile change. I rigged it so IM on Auto-sense notices I am running PSNow (acl.exe) and switches to a profile for it. When I click away from the window, it switches back to Default and the audio disconnects. Hit Volume Up and I'm good to go.

On THAT note, this profile I have set for PSNow is trying to be as barebones as possible, to basically do what I was talking about before. I have Touchpad As Mouse disabled, so that wouldn't affect anything (though I guess the PS3 wouldn't have a touchpad anyways, but whatever). I also unchecked "Emulate controller" because that sounded like something that might act as a pass-through for me. With that unchecked, I don't really noticed a difference with PSNow. It still tells me that it's not a DS4 controller so features like tilt won't work... BUT... they do.

Actually, even with switching it back to Default profile, PSNow, despite the warning, is tracking gyros just fine for a game like Flower, where the only inputs ARE gyros. Thought that was interesting and worth passing on. As best I can tell, the rest of the buttons have remained mapped correctly via the Default profile as well, so I actually may end up with very little reason to actually go and disable InputMapper?

I haven't tried anything that does Direct and X input so I'm not sure if/when that will be a problem with the Wireless Adapter disabling Exclusive mode, but if I can figure out if I have any games that I can test with, I would be happy to. I could also see it being an issue that the wireless adapter and InputMapper are transmitting inputs from basically two controllers, but I haven't tried anything that has allowed me to notice yet.
marc gooding's Avatar
marc gooding replied the topic: #12 8 months 5 days ago

Andrew wrote: I've tried all kinds of combinations of software opened and closed, things plugged and unplugged and audio devices set to default and all sorts of things and I have confirmed that I can indeed get all PC audio routed through the DS4 headphone jack with IM open or closed, without PSNow running. I am also able to still get audio through the controller if I load a game, complete with volume control via keyboard buttons.

The catch for me was that if I opened or closed IM, it would set my volume to Mute without telling me. I just had to hit the volume up or down on my keyboard and it would kick right back in. Maaaaybe your issue is as simple as that?

Also, with the Adapter plugged in, "Headset Earphone" for DUALSHOCK4 USB Wireless Adapter is always available in my Sound Playback options, so it tries to send audio to the controller, regardless of whether it is synced to a controller or not. If I have it plugged in, I just have to set my PC speakers as default, and the audio switches right over.

I don't know if any of this helps anyone, but there it is :)


Dude, this is it. The audio is somehow getting 'muted' of sorts when i launch IM. Though it doesnt appear to be ACTUALLY muted.
If i go to sound devices, there is nothing i can do to unmute it. I cannot change it and i cannot 'test' to hear audio - its just gone. BUT, if i go into the sound MIXER, then move the volume level up or down for whatever specific application is sending volume then it come back. (I have no hardware volume controller like you do on the keyboard as i use the volume dial on the speakers themselves). There is no indication that it is muted in Sound devices or mixer but it is, for want of a better word, muted.

So that fixes that issue at least (very much a hassle if you dont have a hardware key available to change the sound level in the mixer but hey it will work for now.) Thanks for taking the time to go over it and check for me mate! I could never have worked out the 'mute' state if you hadn't said as, like i say, there is no indication of it being muted.

Wobbles, i think its just understand how or why its getting 'muted' in some way when launching IM is the only real issue i believe atm. I can deal with setting exclusive mode and turning off exclusive mode atm (though i might have to test this with something like rocket league which has support for both dinput and xinput controllers to see if im getting double inputs.)
Andrew's Avatar
Andrew replied the topic: #13 8 months 5 days ago
I've tried all kinds of combinations of software opened and closed, things plugged and unplugged and audio devices set to default and all sorts of things and I have confirmed that I can indeed get all PC audio routed through the DS4 headphone jack with IM open or closed, without PSNow running. I am also able to still get audio through the controller if I load a game, complete with volume control via keyboard buttons.

The catch for me was that if I opened or closed IM, it would set my volume to Mute without telling me. I just had to hit the volume up or down on my keyboard and it would kick right back in. Maaaaybe your issue is as simple as that?

I did notice that with the Wireless Adapter plugged in, IM shows the warning that it cannot connect via Exclusive Mode. I'm not entirely sure what that affects, but if I unplug the adapter and open IM, there is no warning.

Also, with the Adapter plugged in, "Headset Earphone" for DUALSHOCK4 USB Wireless Adapter is always available in my Sound Playback options, so it tries to send audio to the controller, regardless of whether it is synced to a controller or not. If I have it plugged in, I just have to set my PC speakers as default, and the audio switches right over.

I don't know if any of this helps anyone, but there it is :)
Andrew's Avatar
Andrew replied the topic: #14 8 months 6 days ago
No eBay APP ID défined in Kunena configuration

Wobbles wrote: PSNow only uses a DS4, so you want to completely avoid using IM for that as IM makes it a 360 controller.


I'm aware of that. It acted exactly as I expected it to. I mentioned it mainly as a reference to the confirmation of that, but also to say that it technically does work as much as it does as a wired DS4 with IM running. It works, it just warns you that you will be missing features. Of course, there is no reason for it. Was just saying for completeness of scenario reporting.

Also though, to wonder about having some sort of white list in IM that lets you add something like Psnow.exe and have IM just pass everything through as if it wasn't there, rather than having to go shut it down.

Believe me, I am stoked it's working exactly how it is at the moment, these were more just curiosities I had during the experience.

Thank you again!
Wobbles's Avatar
Wobbles replied the topic: #15 8 months 6 days ago
PSNow only uses a DS4, so you want to completely avoid using IM for that as IM makes it a 360 controller.
Andrew's Avatar
Andrew replied the topic: #16 8 months 6 days ago

marc gooding wrote: Hey there glad someone else has bought it and tried it and appears to have had more success than i have!

r.e powering off the controller you have 3 options atm that i know of-
You can set a turn off timer in IM where if its not being used for a set time it will turn itself off.
Or you can tell it to turn off the controller when you exit IM in the settings.
Or you can just hold in the PS button for about 10 seconds and it will turn off the controller manually.

Regarding your point of it just working - can i double check that you can get the DS4 to connect via the Sony dongle and then running IM to emulate an xbox controller - allowing audio pass through whilst playing xinput games? As soon as i turn on IM it disables audio pass through - can you get audio pass through only when using remote play or on the desktop (youtube vids etc) or can you get it when IM is active as well? Atm i cannot, so if you can then at least Wobbles knows that its something on my end and he doesnt have to look into it and fix it.

Thanks for your comment dude


Thanks for the heads up on powering down the controller. I totally forgot about the setting in IM and didn't even know about the holding for 10 seconds. Will dig into that later, but that should be exactly what I needed.

As for the audio passthrough: The best I remember is that yeah, I had just plugged in the dongle and synced my controller. I swapped the dlls, opened IM, plugged the PS4 earbud headset into the controller and went to try PacMan CE2 that I've been using to test all my mapping failures. From what I remember, the audio was just coming from the earbud no problem. Controls, audio, mouse on touchpad, everything just worked exactly how I expected, so I didn't think to analyze any further. Then I opened PSNow, and it just warned me I wasn't using a DS4, so tilt wouldn't work. I didn't get far enough to check audio at that point, because I just backed out, shut down IM and opened Now again. No warning, and the audio still worked through the headphones fine.

The only catch was, as I mentioned, when I unplugged the earbud from the controller, I had to realize that Windows was still sending audio to the DS4 Wireless Adapter. I switched my main speakers back to "default" in audio settings, and it was fine. That's where I'm wondering if IM can be made to tell windows when you have something in the controller or not, so I can say that it's default, but when it's unplugged, it goes back to my speakers as default, like when I plug headphones into my speaker jack.

I have to get to work now (already late, oops), but I will run a matrix of combinations later to make sure I'm not missing something on how what I did. See what combinations do what. Make sure I did -for sure- have IM open and such.

Will check back in later!
marc gooding's Avatar
marc gooding replied the topic: #17 8 months 6 days ago

Andrew wrote: I registered just to reply to this and say Thank You!

Lo and behold, after refreshing google the last few days waiting for news, here it is. And all it is a couple file replacements. You, sir, are a genius, and my savior. Right off the bat, it just works, audio pass-through and everything. So freaking awesome.

I'm not aware of any other sort of built in power-off timer when it isn't synced to the PS4.

- I just loaded up PSNow with IM open, and since it's doing it's XInput emulation stuff, PSNow didn't realize it was a DS4, gave me a warning that certain features would not be available. Maybe some sort of pass-through enabled by profile (so it could be auto-triggered) or a whitelist of .exes so IM could see that PSNow is being run and just let the dongle do it's normal thing?


Hey there glad someone else has bought it and tried it and appears to have had more success than i have!

r.e powering off the controller you have 3 options atm that i know of-
You can set a turn off timer in IM where if its not being used for a set time it will turn itself off.
Or you can tell it to turn off the controller when you exit IM in the settings.
Or you can just hold in the PS button for about 10 seconds and it will turn off the controller manually.

Regarding your point of it just working - can i double check that you can get the DS4 to connect via the Sony dongle and then running IM to emulate an xbox controller - allowing audio pass through whilst playing xinput games? As soon as i turn on IM it disables audio pass through - can you get audio pass through only when using remote play or on the desktop (youtube vids etc) or can you get it when IM is active as well? Atm i cannot, so if you can then at least Wobbles knows that its something on my end and he doesnt have to look into it and fix it.

Thanks for your comment dude
Andrew's Avatar
Andrew replied the topic: #18 8 months 6 days ago
I registered just to reply to this and say Thank You!

I went and bought the Sony adapter a few days back when it came out, hoping it would work with everything, but knowing that the wording Sony used probably meant I really only could be using it for Remote Play and PSNow. I decided at worst, that was still worth it for me, but figured someone on the Internet would get it figured out properly at some point. Since I bought it release day, there was no documentation or anyone talking about getting it to work outside of the two main apps, so I figured I would try fiddling myself. I know nothing about the hardware or how any of it actually works, but noticing how it showed up in my hardware list, it seemed like I might be able to McGuyver some way to map stuff around. My first hurdle was just that InputMapper didn't noticed that the controller was connected, even if Windows did. This led me to DS4Windows (also didn't see the controller), but then to x360ce, which could recognize the controller was plugged in. From here, it was an issue that the buttons were mapped all screwy, even though Windows knew what was going on. I ended up using something like UJR to try to re-map everything. I was actually making progress and got most of the face buttons working after a bunch of trial and error, but it still was just too janky to actually use. After a few hours, I decided to give up, figuring/hoping someone who knew what they were doing would get it figured out. Considering Windows sees the controller regardless, I had to assume there would be a relatively easy fix by someone who knew better.

Lo and behold, after refreshing google the last few days waiting for news, here it is. And all it is a couple file replacements. You, sir, are a genius, and my savior. Right off the bat, it just works, audio pass-through and everything. So freaking awesome.

I did want to throw out a couple things, which you may very well already have in mind, but on a user experience level, these would put the software even further up there.

- With the dongle plugged in, Windows always recognizes the audio port being used, thus sending audio to the controller whether there is a audio plug jacked in or not. Going to audio devices and changing priorities fixes this, but it is inconvenient. Is there a chance the software will be updated to be able to recognize there is something in the controller and adjust the audio output accordingly?

- Also, now that I can have my controller unplugged from USB, it isn't always just sitting there being fully charged, so I wonder about a way to turn the controller off? On a 360 controller, you can just pop the battery off real quick, but this isn't an option on the DS4. Is there a way for the software to push a "Power off" signal to the controller that could then be mapped to a button combo or something? I'm not aware of any other sort of built in power-off timer when it isn't synced to the PS4.

- I just loaded up PSNow with IM open, and since it's doing it's XInput emulation stuff, PSNow didn't realize it was a DS4, gave me a warning that certain features would not be available. Maybe some sort of pass-through enabled by profile (so it could be auto-triggered) or a whitelist of .exes so IM could see that PSNow is being run and just let the dongle do it's normal thing?

Maybe these features are more suited for IM2 with plugins, or maybe they aren't even possible. I admit, I don't really know much about the software, aside from it has been awesome for me, and I'm so excited for it to even be working as it is now. I don't want to come in and be like "Hey, I'm new, do these things.", they were just some thoughts I had in addition to wanting to come say that I can confirm for some sort of tally that the new update is working great for me!

Thanks so much again!
Wobbles's Avatar
Wobbles replied the topic: #19 8 months 6 days ago

marc gooding wrote:

Wobbles wrote: You may need to disable exclusive mode in the IM settings, if that doesn't do it try disabiling "Emulate controller" in the assigned profile.


Cheers for the suggestion, as i say i had disabled the exclusive mode in case that was causing a problem, and disabled the emulate controller in the profile section (couldnt remember its name) but no dice. Did a restart and reinstall IM and the dongle after your last reply and diabled both again but same story. IM and Sonys dongle isnt playing nice for me at all.


Sounds like I need to get my hands on one of these to do some more testing, another user said it was good to go but apparently there is some sort of environmental factor at play here.
marc gooding's Avatar
marc gooding replied the topic: #20 8 months 6 days ago

Wobbles wrote: You may need to disable exclusive mode in the IM settings, if that doesn't do it try disabiling "Emulate controller" in the assigned profile.


Cheers for the suggestion, as i say i had disabled the exclusive mode in case that was causing a problem, and disabled the emulate controller in the profile section (couldnt remember its name) but no dice. Did a restart and reinstall IM and the dongle after your last reply and diabled both again but same story. IM and Sonys dongle isnt playing nice for me at all.
Wobbles's Avatar
Wobbles replied the topic: #21 8 months 1 week ago

marc gooding wrote:

Wobbles wrote: , make sure to remove the DS4, uninstall, un-pair, yada yada completely then let the dongle handle the connecting.


Hey thanks for the reply dude, I had removed all the other devices, but this time i uninstalled inputmapper as well, I had already removed my other BT dongle so the only thing it can connect via is the new Sony one. I can get audio from windows just with the dongle but its useless for anything other than remote play (obviously) So I reinstalled IM then the DLL's and as soon as i turn on IM it kills the ability to pass through audio still, or use it for remote play. If i exit IM, then unplug and reinsert the Sony Dongle the sound comes back through the controller port. I tried turning off exclusive mode and anything else i can think of but nothing works once i turn on IM. :(


You may need to disable exclusive mode in the IM settings, if that doesn't do it try disabiling "Emulate controller" in the assigned profile.
marc gooding's Avatar
marc gooding replied the topic: #22 8 months 1 week ago

Wobbles wrote: , make sure to remove the DS4, uninstall, un-pair, yada yada completely then let the dongle handle the connecting.


Hey thanks for the reply dude, I had removed all the other devices, but this time i uninstalled inputmapper as well, I had already removed my other BT dongle so the only thing it can connect via is the new Sony one. I can get audio from windows just with the dongle but its useless for anything other than remote play (obviously) So I reinstalled IM then the DLL's and as soon as i turn on IM it kills the ability to pass through audio still, or use it for remote play. If i exit IM, then unplug and reinsert the Sony Dongle the sound comes back through the controller port. I tried turning off exclusive mode and anything else i can think of but nothing works once i turn on IM. :(
Wobbles's Avatar
Wobbles replied the topic: #23 8 months 1 week ago

Moskeeto wrote: Is it at all possible to reverse engineer the audio drivers in the Sony dongle? I really don't want to limit myself to one controller.

Another question, does their dongle receive inputs from the controller differently from other bluetooth dongles? I know when I played on PS Now, the only way for it to work was through USB or by using InputMapper emulating Xinput. However, I needed to play through USB without Xinput if I wanted to use the gyroscope for certain games. Would it at all be possible to have it work like that through a regular dongle so I can play PS Now wirelessly with no issues?


The Audio in the DS4 has been reverse engineered and decoded since pretty much the week it launched, the issue has alwayse been the way Windows interacts with hardware (specifically BT devices) prevents the level of free roam access needed to tap into the DS4 services.

The Sony dongle is essentially its own BT (but not really BT, more like a proprietary cousin to BT). Since the wireless connection and decoding is all done at the hardware level it has a more direct access to the DS4 functionality that software level drivers in windows BT have, thus allowing all the features and exposing them properly to windows.
Wobbles's Avatar
Wobbles replied the topic: #24 8 months 1 week ago
@Marc, I suspect either your computer or you are still trying to connect to the DS4 via BT, doing this disconnects the DS4 from the sony dongle and makes it BT. Its a weird thing that I don't know the best way to articulate yet, but contrary to what instinct tells you, make sure to remove the DS4, uninstall, un-pair, yada yada completely then let the dongle handle the connecting.
marc gooding's Avatar
marc gooding replied the topic: #25 8 months 1 week ago
After seeing the video today i went down the town and bought the new Sony Dongle as it has the 'holy grail' of audio pass through like you say in the video. I realise that you dont have this yourself yet, but i want to check something as i feel im getting some wires crossed. Ive downloaded the two DLL files to allow input mapper to connect the Dual shock 4 via the new dongle - great, it works.

I can also see the headset in windows devices, and before i turned on input mapper, when i tapped my microphone its shows as receiving input on the windows recording device.

But now that ive launched inputmapper I cant get sound in or out of a headset connected to DS4. Is it because inputmapper has grabbed the device to use it as a 360 controller? Even when i turn off input mapper the sound doesnt work anymore!

Does anyone have any idea how it does/could work? Bit of a waste if all it does is act the same as my £3.00 dongle - but costs £20.00!

*edit* i rebooted a few times and disconnected any extraneous devices and i can get sound working now AS LONG, as you dont launch input mapper. Once you launch input mapper, sound is disables even after exiting IM again. No way of getting sound to work again until I reboot my machine. So atm, its kind of pointless to get one as far as i know.