..:: PCSX2 Forums ::..

Full Version: XInput Wrapper for DS3 and Play.com USB Dual DS2 Controller
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510
@Zolcillonca:

Code:
public enum Ds3Battery : byte { None = 0x00, Dieing = 0x01, Low = 0x02, Medium = 0x03, High = 0x04, Full = 0x05, Charging = 0xEE, Charged = 0xEF };

Your controller shows 241 (decimal) => 0xF1.

I highly doubt that any firmware localisation would change an enumeration constant.

When a genuine DS3 shows strange behaviour it is usually fixed by a pinhole reset. Do you feel a slight click when you press the reset button?

@WatchEmFall: the main changes between 103 and 136/139 was the addition of Secure Simple Pairing (SSP) to support DS4s. Your dongle is failing one of the setup calls for SSP, so upgrade to 139 then go into configuration and check the "Disable SSP" option [this reverts the behaviour to be the same as 103]

@PB84: genuine Sony DS3s have no issues with Rumble over BTH.

@hellbringer616:
@ultimategrayfox:

you can use a dongle which is not directly supported in the list by using Zadig to install WinUSB on it. See Post #1851

@DirtyShady: DS3/DS4 on the same dongle [I'm sitting at my games machine with 1 DS4 on BTH, 1 DS4 on USB, 1 DS3 on BTH, 1 DS3 on USB - all working correctly].

To use a DS4 on BTH your Dongle must support Secure Simple Pairing (SSP).

@Reznik Akime: I think you have missed out installing one of the prereqs -

Quote:3. Latest DirectX Runtime.

1. Remove any dll you have manually placed in Windows\System32.
2. Download and Save the DirectX Runtime from - http://www.microsoft.com/en-us/download/...px?id=8109
3. Move the directx_Jun2010_redist.exe file from your Downloads directory to a temp directory [eg C:\Temp]
4. Run the exe, it is a self-extracting archive.
5. Go to the directory that you extracted it to and run DXSETUP.exe.
6. After it has completed run Windows Update.
7. Reboot.
8. Run ScpUser.exe from the ScpServer\bin\Win32 directory.
9. Click Advanced, click Extensions - verify that you see variable pressure on Circle, Triangle, Cross and Square.
10. Report back - if everything is good can continue to PCSX2 configuration.

@Sky-Dragon: I think your Dongle should be OK, try a pin-hole reset on your DS3.

The dongle is also responding correctly to all the setup calls for Secure Simple Pairing, so should work with DS4.

- I had a Trust dongle which worked well until I tried to move it from a front-panel port to a USB Hub port, it fell apart when I pulled it out >.<
(01-31-2014, 10:23 PM)Scarlet.Crush Wrote: [ -> ]@Sky-Dragon: I think your Dongle should be OK, try a pin-hole reset on your DS3.

The dongle is also responding correctly to all the setup calls for Secure Simple Pairing, so should work with DS4.

- I had a Trust dongle which worked well until I tried to move it from a front-panel port to a USB Hub port, it fell apart when I pulled it out >.<

Thanks again for the help! Smile And I'm sorry about your Trust Dongle, I hate when stuff like this happens :/

Also I'm glad the Secure Simple Pairing seems fine, like said my DS4 works like a charm though even now after a pinhole reset my White DS3 won't connect over BTH.

Just to be sure I also tried my second DS3 that came with my PS3 and it wouldn't connect over BTH aswell with the Trust Dongle, I even disabled Secure Simple Pairing to test if that was the issue with the DS3s and no dice Sad

On my old Hama Dongle both of my DS3 worked flawlessly but as mentioned before the DS4 can't work with it due to the lack of Secure Simple Pairing :/

Would it be possible to use both dongles at the same time? Or atleast, lets say I have both dongles plugged in, could I disable one depending if I want to use a DS3 or DS4? Thanks in advance for any additional help! Smile

EDIT: If I plug in my old dongle at the same time with my new one the old one is recognized fine in the device manager but it doesn't blink so I guess it conflicts with the new one :/
@Sky-Dragon: you can't use both dongles at the same time, but you could switch between them with a bit of faffing around.

Using DS4, switch to DS3 -
1. Disable SSP in Configuration.
2. Stop the Service.
3. In Device Manager - Disable the Trust Dongle, Enable the Hama Dongle.
4. Start the Service.

Using DS3, switch to DS4 -
1. Enable SSP in Configuration.
2. Stop the Service.
3. In Device Manager - Disable the Hama Dongle, Enable the Trust Dongle.
4. Start the Service.

It's a bit weird that your DS3s don't work with the Trust dongle though ...

The Service only uses the first active dongle that it finds - so if both are active, only the first is used, the other is ignored. Hence the Disable/Enable steps.
(01-31-2014, 10:23 PM)Scarlet.Crush Wrote: [ -> ]@Zolcillonca:

Code:
public enum Ds3Battery : byte { None = 0x00, Dieing = 0x01, Low = 0x02, Medium = 0x03, High = 0x04, Full = 0x05, Charging = 0xEE, Charged = 0xEF };

Your controller shows 241 (decimal) => 0xF1.

I highly doubt that any firmware localisation would change an enumeration constant.

When a genuine DS3 shows strange behaviour it is usually fixed by a pinhole reset. Do you feel a slight click when you press the reset button?

@WatchEmFall: the main changes between 103 and 136/139 was the addition of Secure Simple Pairing (SSP) to support DS4s. Your dongle is failing one of the setup calls for SSP, so upgrade to 139 then go into configuration and check the "Disable SSP" option [this reverts the behaviour to be the same as 103]

@PB84: genuine Sony DS3s have no issues with Rumble over BTH.

@hellbringer616:
@ultimategrayfox:

you can use a dongle which is not directly supported in the list by using Zadig to install WinUSB on it. See Post #1851

@DirtyShady: DS3/DS4 on the same dongle [I'm sitting at my games machine with 1 DS4 on BTH, 1 DS4 on USB, 1 DS3 on BTH, 1 DS3 on USB - all working correctly].

To use a DS4 on BTH your Dongle must support Secure Simple Pairing (SSP).

@Reznik Akime: I think you have missed out installing one of the prereqs -


1. Remove any dll you have manually placed in Windows\System32.
2. Download and Save the DirectX Runtime from - http://www.microsoft.com/en-us/download/...px?id=8109
3. Move the directx_Jun2010_redist.exe file from your Downloads directory to a temp directory [eg C:\Temp]
4. Run the exe, it is a self-extracting archive.
5. Go to the directory that you extracted it to and run DXSETUP.exe.
6. After it has completed run Windows Update.
7. Reboot.
8. Run ScpUser.exe from the ScpServer\bin\Win32 directory.
9. Click Advanced, click Extensions - verify that you see variable pressure on Circle, Triangle, Cross and Square.
10. Report back - if everything is good can continue to PCSX2 configuration.

@Sky-Dragon: I think your Dongle should be OK, try a pin-hole reset on your DS3.

The dongle is also responding correctly to all the setup calls for Secure Simple Pairing, so should work with DS4.

- I had a Trust dongle which worked well until I tried to move it from a front-panel port to a USB Hub port, it fell apart when I pulled it out >.<

Did the steps you listed and I'm afraid it didn't work. SCPuser's extension reports nothing but N/A across the board, but the controller is detected and working flawlessly otherwise. Even tried a pinhole reset for ten seconds. :\ Is there any kind of config or device info I can give you that will help?
(02-01-2014, 12:28 AM)Scarlet.Crush Wrote: [ -> ]@Sky-Dragon: you can't use both dongles at the same time, but you could switch between them with a bit of faffing around.

Using DS4, switch to DS3 -
1. Disable SSP in Configuration.
2. Stop the Service.
3. In Device Manager - Disable the Trust Dongle, Enable the Hama Dongle.
4. Start the Service.

Using DS3, switch to DS4 -
1. Enable SSP in Configuration.
2. Stop the Service.
3. In Device Manager - Disable the Hama Dongle, Enable the Trust Dongle.
4. Start the Service.

It's a bit weird that your DS3s don't work with the Trust dongle though ...

The Service only uses the first active dongle that it finds - so if both are active, only the first is used, the other is ignored. Hence the Disable/Enable steps.

Ah okay thanks for the detailed steps, that doesn't sound like too much
trouble given that I would only switch to the DS3s while friends come over for multiplayer gaming or if my PS4 is in use. I will give my PC a good reboot tomorrow and redo everything to make sure nothing messes with the DS3's but I think I can live with the situation like this Smile

Otherwise I can still always return the dongle for a Belkin or similar one I will see! Out of curiosity, assuming I have a dongle that works with DS3's and DS4's, is it possible to use both types of controllers simultaneously?
@Sky-Dragon: yeah, I'm running DS3s & DS4s simultaneously on both my games machine & HTPC.

@Reznik Akime: was your DS3 connected before you ran ScpUser, and the XInput1_3.dll from the package in the same directory as ScpUser? [inadvertently done a Move instead of Copy at some point?].

Can you do the following -
1. Run ScpMonitor.
2. Verify your DS3 is displayed in Pad 1.
3. Open Configuration - Verify that "Disable Native Feed" is not checked.
4. Run ScpUser and check the Extensions - ensure only 1 copy is running.
5. Open a command prompt and run : netstat -abn > netstat.log
6. Zip up ScpService.log, ScpDriver.log, ScpControl.xml and netstat.log and post as an attachment.
Hi SC,

Great code work and good ideas

It works fine for me as long as I am connected with USB...when installing with SCPDriver it does not install the Bluetooth Driver and I have not been successful finding workarounds to manually pair it. Other programs like Motioninjoy also do not detect my bluetooth adapter.

PS: Whenever I tried to install the driver on (what I think was) the port for the bluetooth adapter in Motioninjoy there was an error, something I have not experienced on other computers.

Running Windows 8
Adapter: Intel Dual-Band Wireless N-7260

Thanks in advance
@DatPratt: it's not a Bluetooth Adapter, it's WiFi.
(02-01-2014, 04:58 AM)Scarlet.Crush Wrote: [ -> ]@DatPratt: it's not a Bluetooth Adapter, it's WiFi.

True....I wasn't clear on that lol...

However, it does have Bluetooth capabilities. I do have bluetooth drivers installed for it.

It may be listed as a different device but I think it runs on the same chip. Heres the info from Intel

[Image: hVHlhiN.png]
@DatPratt: ok, so it's an "Intel Dual-Band Wireless N-7260 Plus Bluetooth".

Select the Details tab, select Hardware Ids from the drop down.

Run Zadig, as described in Post #1851. In Step 8 select the device that matches the Hardware Id on the Details tab.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510