..:: 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
@dink: I can't see anything in the log that indicates a problem ...

So looks like it's nothing that has changed in the ScpService.exe code that is causing your issue. ScpControl.dll contains the BTH stack, it's looking like one or more of the configuration calls to the dongle to support SSP Authentication and Encryption is causing your dongle to throw a wobbler.

I think the best way to procede is for me to build a bunch of ScpControl dlls with each of the new messages added in turn so we can find which one causes the issue. If your willing to test them out it will take a day or so to get them ready, let me know.

@blah0r: Battery Status / Flashing on low Battery are next on the list, after getting any problems with BTH Dongles sorted out.

Lightbar colour/brightness is something I'm considering.
Hi there!

I have tried the latest version of the driver, 1.1.0.136, and am hitting an issue for any game that tries to perform a rumble/vibration.

System:
Windows 8x64
PS3 - Dual Shock 3 -- plugged into USB 2.0 port with cable.
No bluetooth

Reproduction:
* I successfully installed the drivers
* Start a game (say Asassin's Creed IV)
* Controls work fine
* Something in game triggers vibration
* Controller completely stops responding
* Cannot regain use of gamepad

Workaround:/
* Restart the SCP Driver Service will get the controller working again
* Turn off vibration in game to prevent from happening again

Is vibration a non-supported feature for this driver, or is there something I can do to get it working?

Thank you very much for any help!
(12-19-2013, 01:26 AM)Scarlet.Crush Wrote: [ -> ]@znation: so looks like the mask change fixed the startup in ScpService. The Ds4Pair tool also uses ScpControl.dll, so if it is in a different folder from ScpService you will also have to copy ScpControl.dll to that folder.

@dink: can you run the Service from 1.1.0.136 and manually change the priority from Real Time to Normal from Task Manager before connecting any DS3/DS4s and see how it runs.

@dielectric: Both Zadig & ScpDriver install WinUSB drivers onto the dongle, so if Zadig fails ScpDriver would also fail. It sounds like your dongle is not compatible with WinUSB, sorry.

@HyeVltg3: good to hear you got it working. It is looking like the 0A12's have issues with the HCI_Set_Event_Mask call, which can hopefully be fixed.

it's doesn't work while bluetooth pairing

Log attached
@Scarlet.Crush: I would like to help in any way possible to get this solved, thanks!

best regards,
- dink
@kaidon: the USB Hub/Port which your DS3 is connected to can't supply enough power while the DS3 is rumbling. Connect your DS3 to a different USB Port. If your using an external USB Hub make sure it is self-powered and it's power source is turned on.

@znation: ok, from the log we are getting closer. I've attached an updated ScpControl.dll, can you try it out.

edit: oops dll attached now

@dink: cool, I'll get dlls to you as soon as possible.
(12-19-2013, 11:10 PM)Scarlet.Crush Wrote: [ -> ]@kaidon: the USB Hub/Port which your DS3 is connected to can't supply enough power while the DS3 is rumbling. Connect your DS3 to a different USB Port. If your using an external USB Hub make sure it is self-powered and it's power source is turned on.
Thanks Scarlet,

I tried another USB 3.0 port, but had no luck. I will try again with a different port tonight.

The same port I am using now supported rumble when using MotionJoy (though I had to do a system restore for the issues installing that app caused!) so I am not sure if it is a power issue.
@kaidon: hmm, all the driver does for rumble is send the controller a message over USB with the Left/Right motor values. It sounds like for some reason it is resetting itself without disconnecting/reconnecting from USB. Do you hear a bing/bong sound from Windows when it happens?

Usually when the controller connects to USB Windows sends the driver a notification event, this event triggers the driver to send a Start command over USB to the controller. Without this Start command the controller will not send any reports for Button presses or Stick movements.

Can you zip up and post your ScpService.log after the problem occurs.

You don't need to restart the service or reboot to get the DS3 recognised again, just disconnect it from USB and then reconnect it.

It's also worth trying a pinhole reset of the controller when it is disconnected from USB.
(12-20-2013, 01:00 AM)Scarlet.Crush Wrote: [ -> ]@kaidon: Do you hear a bing/bong sound from Windows when it happens?
No, I don't. The controller simply becomes unresponsive immediately after a rumble signal is sent to it. I will reproduce and see if I can hear it again.

(12-20-2013, 01:00 AM)Scarlet.Crush Wrote: [ -> ]Can you zip up and post your ScpService.log after the problem occurs.
Sure. Is there any flag I should set to increase verbosity of logging?

(12-20-2013, 01:00 AM)Scarlet.Crush Wrote: [ -> ]You don't need to restart the service or reboot to get the DS3 recognised again, just disconnect it from USB and then reconnect it.
This makes sense. Although, every time I unplug my ps3 controller from my computer while powered on, it turns on my ps3 in the other room and attempts to connect to it. Restarting the service is faster than turning the console off.

(12-20-2013, 01:00 AM)Scarlet.Crush Wrote: [ -> ]It's also worth trying a pinhole reset of the controller when it is disconnected from USB.
Ok, if it comes down to it I'll give that shot.

Thanks a lot for your help!
@kaidon: no flags required. If you can run ScpMonitor before starting your game and if possible run the game windowed. ScpMonitor displays a packet counter for reports received from the controller, it should be constantly incrementing.

After the controller stops responding - right-click on the icon in the task bar, select Configuration, check Disable LED, click OK.
Repeat and uncheck Disable LED. Let me know if the LED switches Off and On.

You can also disable Rumble from this rather than in-game
AAHHH an update featuring rumble latency over BT. Thank you! That's what I needed and now it's in official SCP Biggrin (upgrading from special SCP)
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