..:: 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
@king_dick:
@hugo19941994:

added your hardware ids, see Post #639.

@crap13: just keep doing Uninstall (delete) / Scan, eventually you will get to the default Bluetooth driver.

@Mahrahia: copy bin\Win32\XInput1_3.dll to your PCSX2 directory (this provides the pressure extensions), copy bin\Win32\LilyPad-Scp-r5350.dll to your PCSX2\plugins directory (or Pokopom). Make sure your DS3 is connected and active before starting PCSX2. If your using Lilypad select LilyPad-Scp-r5350.dll as your pad plugin, configure as per screenshot.

@GenericHero: I think the issue is your controller, sounds like it is not a genuine Sony DS3. When a game sends out rumble commands it does so by sending out a series of rumble commands at a high rate to give the effect it requires (usually a ramped effect). It sounds like your controller can't handle the frequency of these rumble commands.

I test the drivers with my non-rev DS3s and Rev A1 DS3s using PCSX2 and Onimusha 2, which is very demanding (20ms between rumble commands) and have never seen the issue you are having. Nobody else has reported it either. You wont see the problem with SCPUser since it is not really possible to move the rumble sliders fast enough manually.

@soyo: haven't come across this myself, can't think of anything specific that could be causing it. Could try re-seating data / power connections, possibly moving the usb card to a different expansion slot.

@DeclanRand: the drivers don't support disabling rumble as this is a standard feature of X360 controllers.

@OminaeYu: nope, you can't blacklist Bluetooth adapters. You could remove hardware ids from the inf file, but this will leave the package as unsigned.
Hmm. Any way to determine if it's really a fake controller? I bought it new from Walmart in a relatively upscale town in Northern California new in box, sealed, etc. No rumble isn't really a problem to me, but it looks and feels exactly like a legitimate controller that came with my friends phat PS3. I don't own Onimusha 2 so I can't test that on PCSX2.

What's weird about the 360ce is that when it does cause the disconnect it does it all the time, but when I shut down all things that use XInput and restart 360ce it doesn't do it anymore. Glad to hear that no one else has reported this problem, I can imagine some people getting really frustrated at this, in any case, if it is possible to determine if this is a genuine controller I would like to help figure this thing out.
Hi Scarlet. I must've uninstalled your bluetooth driver via Device Manager for over 10 times already (no exaggeration) but still to no avail. I've also tried continuously uninstalling via ScpDriver.exe but it still doesn't get removed.
Generic Hero, is it a ds3 controller? Or just sixaxxis? Because that could explain the lack of rumble. Unless it worked with motion joy
"Dualshock3 sixaxis" in blue on the controller. Rumble does function on SCPUser.exe
Maybe I'm just not too swift, but I can't find an answer by searching.

I mainly installed the bluetooth support to get my ps3 controller working for XBMC. The problem is, once I disconnect it from usb and the scp ds3 monitor catches it and pairs it to bluetooth, windows then recognizes it as a xbox 360 controller.

This is problematic for writing proper key mappings. Any reason why it does it show it as a DS3 control once it's on bluetooth?

Thanks
@GenericHero: "fake" controllers can be very hard to distinguish from the real thing without dismantling them. Usually it is only their behaviour when used via Bluetooth that indicates they are not genuine.

Other possibilities -
1. Controller has "locked up" - sometimes a genuine DS3 can exhibit strange behaviour, a pinhole reset will usually fix this.
2. Dodgy USB Port / Cable - try to verify using another USB device (pendrive / printer / phone / other cable), ensure it is a USB 2.0 port.
3. Try borrowing your friends DS3 and test with it.

@crap13: can you do the following -

1. Open an elevated command prompt.
2. cd to your install directory.
3. run the following command : pnputil -e > DrvStore.log
4. Zip up DrvStore.log and ScpDriver.log and post as an attachment.

@corpgator: your DS3 should appear as an X360 controller on both USB and BTH, sounds like the USB driver has not been installed.

can you do the following -
1. Unplug your DS3 from USB.
2. Restart the Service (or reboot your PC).
3. Plugin your DS3 to USB.
4. Wait 30 seconds.
5. Unplug your DS3 from USB.
6. Wait 30 seconds.
7. Plugin your DS3 to USB.
8. Wait 30 seconds.
9. Unplug your DS3 from USB.
10. Wait 30 seconds.
11. Zip up your ScpService.log and ScpDriver.log and post as an attachment.
Good news, it was my mini usb cable. I swapped it for one I use for serial output on my beaglebone and it worked perfectly. The old "bad" cable appears to work fine for serial output to putty, so my issue is fixed. If I can find my multimeter I will check voltages and such on the cable to see if it's something there.

Thanks for your help, and double thanks for writing great software. Smile
This looks promising. I may have to look into this thread later, when i get the chance.
(05-03-2013, 08:28 PM)Scarlet.Crush Wrote: [ -> ]@GenericHero: "fake" controllers can be very hard to distinguish from the real thing without dismantling them. Usually it is only their behaviour when used via Bluetooth that indicates they are not genuine.

Other possibilities -
1. Controller has "locked up" - sometimes a genuine DS3 can exhibit strange behaviour, a pinhole reset will usually fix this.
2. Dodgy USB Port / Cable - try to verify using another USB device (pendrive / printer / phone / other cable), ensure it is a USB 2.0 port.
3. Try borrowing your friends DS3 and test with it.

@crap13: can you do the following -

1. Open an elevated command prompt.
2. cd to your install directory.
3. run the following command : pnputil -e > DrvStore.log
4. Zip up DrvStore.log and ScpDriver.log and post as an attachment.

@corpgator: your DS3 should appear as an X360 controller on both USB and BTH, sounds like the USB driver has not been installed.

can you do the following -
1. Unplug your DS3 from USB.
2. Restart the Service (or reboot your PC).
3. Plugin your DS3 to USB.
4. Wait 30 seconds.
5. Unplug your DS3 from USB.
6. Wait 30 seconds.
7. Plugin your DS3 to USB.
8. Wait 30 seconds.
9. Unplug your DS3 from USB.
10. Wait 30 seconds.
11. Zip up your ScpService.log and ScpDriver.log and post as an attachment.

Can you point me to a link that has the button equivalents between the 360 ds3, so I can keymap them?
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