..:: 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
@Dracyr: ok, found it. Bug in the bus, wasn't breaking out of a for loop when looking up the controller id, so would send all output to the last controller connected.

Fixed bus attached. Install it manually with :-
1. Extract the archive to a temp directory.
2. Stop the Service [net stop "SCP DS3 Service" - from an elevated command prompt, or use SCM]
3. Open device manager, browse to System devices -> Scp Virtual Bus Driver.
4. Double Click it, Driver tab -> Update Driver -> Browse my computer for driver software -> Let me pick -> Have Disk.
5. Browse to <extracted archive>\ScpServer\bin\System and select ScpVBus.inf. Press Open -> OK -> Next. Wait till Windows completes installing the driver.
6. Start the Service [net Start "SCP DS3 Service" - from an elevated command prompt, or use SCM]
Works great now! Also i noticed a bunch of Scp Virtual Bus Drivers in my device manager, from reinstalling and testing and such. Maybe do a check to see if it is already present at installation or look if ScpDriver is uninstalling it correctly, if it's not a problem of me messing with stuff too much.
I'm having the same issues as Dracyr. I tried your fix, just as you said in post# 161, but all 3 of my controllers still act as one, even though three xbox controllers are listed in devices.

I also had the issue of multiple scp virtual bus drivers (24 to be exact) in my control panel. I uninstalled everything, manually removed all virtual bus drivers, then reinstalled. I now only have two virtual bus drivers listed. I applied your bus driver update to both drivers, and still no go :-\

Also, I'm not exactly sure what I did to get this, but I kept playing around with the drivers, and my controllers, like dracyr, and at one point it seemed the driver knocked the bluetooth adapter off or something. For some reason, my ps3 controllers all refused to pair again, and the scpmonitor was showing a bluetooth address of 00:00:00:00:00 instead of the correct address. the controllers would work fine plugged in, so im assuming it was just related to the bluetooth. even after a restart, stopping and re-running the service, I still had the same issue. So I uninstalled and re-installed the drivers completely, and eventually got the driver to notice my bluetooth again, but then the controllers still wouldnt pair. I had to push the reset button on the back of the controllers to gain correct bluetooth pairing again. I kept restarting, stopping, and running your service, in attempts to get windows to detect the controllers individually, when this problem occurred.
Hi, I'm here to share my feedback toward this driver (If responding to unvaluablespace's question, please look past my post to answer).


SCP Feedback


MOBILITY:
+Hotswapping During Game = Great
+Less Files to Carry Over in Comparison to Other Programs
+Easy Intall/Uninstall
-Button Names are Far From Standard D-Input Naming When Not Using .Dll


GAME COMPATIBILITY:
-Resident Evil Operation Raccoon City --- GREAT
-Mirror's Edge --- GREAT
-Resident Evil Operation Raccoon City --- GREAT
-Sleeping Dogs --- DOESN'T WORK CORRECTLY (Button Presses nor Rumble)
-Deus Ex Human Revolution + Expansion --- ONLY WORKS WHEN RENAMING XINPUT1_3.DLL TO XINPUT9_1_0.DLL
-Ghostbusters --- GREAT
-Guilty Gear Isuka --- GREAT (After Reconfiguring Buttons Thru Built-In Utility)
-Guilty Gear X2 #Reload --- GREAT (After Reconfiguring Buttons Thru Built-In Utility)
-Street Fighter IV --- DOESN'T WORK CORRECTLY (Button/Dpad Presses nor Rumble) *cannot custom remap keys in loader
-Akatsuki BK --- DOESN'T WORK CORRECTLY (Face Buttons)
-Akatsuki Shisei Ichigou --- DOESN'T WORK CORRECTLY (Face Buttons)
-Super Street Fighter IV AE 2012 --- ONLY WORKS WHEN RENAMING XINPUT1_3.DLL TO XINPUT9_1_0.DLL or XINPUT1_2.DLL
-Streets of Rage v5 Remake --- GREAT (Don't Deed .dll)
-Yatagarasu --- DOESN'T WORK CORRECTLY (Dpad)
-The Walking Dead --- DOESN'T WORK CORRECTLY
-Fighter Maker 2002 Games --- DOESN'T WORK CORRECTLY (D-Pad)
-M.U.G.E.N. Variants --- GREAT (Don't Need .dll)
Scarlet.Crush:
I do have the original DS3 it seems, CECHZC2E. Any other ideas? Tongue2
(01-13-2013, 08:53 PM)shinra358 Wrote: [ -> ]GAME COMPATIBILITY:

-Street Fighter IV --- DOESN'T WORK CORRECTLY (Button/Dpad Presses nor Rumble) *cannot custom remap keys in loader

All buttons and rumble work fine for me, no dll needed. I think the loader doesn't allow real Xbox controller to be remapped either. The attack buttons can still be changed in the in-game options menu.
(01-13-2013, 09:42 PM)rama Wrote: [ -> ]Scarlet.Crush:
I do have the original DS3 it seems, CECHZC2E. Any other ideas? Tongue2

Rama, are you just having issues with the controller working via Bluetooth, or does it not work via usb as well? I'm wondering if its possibly a compatibility issue with the bluetooth adapter your using?

Scarlett, I have another bluetooth Adapter if you wouldn't mind adding it to your device for testing. I have someone else willing to test it out. I think its a similar adapter to others you have already added in, just a different revision Smile

vid_0a12&pid_0001rev5276
Bluetooth Prototype 4.1 (includes all updates since 4.0)

1. Fixed Detection of Virtual Bus during driver install. (will no longer see multiple instances)
2. Reworked installer, provides a summary of what was configured after completing. (see attachment 1).
3. Installer no longer extracts files from an internal resource, all binaries and driver files are contained directly within the archive. (people were getting caught out by it overwriting updated files. also reduces the size of the archive so can post as one file containing both binaries & source).

Important - make sure your Bluetooth dongle and DS3(s) are plugged in via USB before running ScpDriver.exe

New Install
1. Connect your Dongle and DS3 via USB and let Windows install it's default drivers.
2. Unpack the archive.
3. Create a directory where you want the Service/Server to run from [I used C:\Program Files\Scarlet.Crush Productions - create from an elevated command prompt]
4. Copy the contents of the ScpServer\bin to the directory you created.
5. Run ScpDriver.exe as Administrator.
6. Click Install [if you don't want the Service installed uncheck Configure Service first]
7. Click Exit.

Upgrade from Prototype 4
1. Unpack the archive.
2. Stop the Service [net stop "SCP DS3 Service" - from an elevated command prompt, or use SCM]
3. Close ScpMonitor.
4. Delete all instances of Scp Virtual Bus Driver in Device Manager.
5. Copy the contents of the ScpServer\bin to the directory you created.
6. Run ScpDriver.exe as Administrator.
7. Uncheck Configure Service, then click Install.
8. Start the Service [net Start "SCP DS3 Service" - from an elevated command prompt, or use SCM]

@unvaluablespace: I think you were getting caught out by ScpDriver.exe overwriting and re-installing drivers.
If your Bluetooth dongle gets hung you need to remove power from it, easiest way is to just unplug it form the USB port and plug it back in, you may also need to reset the DS3(s) via it's reset button.
Added your hardware id to inf/cat.

@rama: is your dongle BT 2.1 + EDR compliant? (DS3s require this as a minimum). One other thing to check is it is plugged in to a USB 2.0 port, I had some strange behaviour from my dongles when I tried them in my keyboard hub (1.1). Belkin dongle wasn't seen by the OS, Asus dongle reported a different hardware id and wouldn't work at all.
Can you update to 4.1, stop the service and run ScpServer.exe. Attempt to connect via Bluetooth. Post a screenshot of the trace.

@Ba'al: I think shinra358 is refering to the filter driver from Post #1, which has some limitations - hence the development of the Prototype.
Ah ok, I'll keep that in mind. Can't wait to try the update tonight! Laugh

Noticed two things with the driver:

When paired via Bluetooth, the controllers do not seem to have a time out period for saving of battery. Had a controller on for almost an hour before I realized it never shut itself off.

Also noticed when multiple ds3's are paired, once turned off, controllers power back on to initial control input upon power up. Example: controller 3 still turns on as controller 3, even though controllers 1 & 2 are no longer on and connected. Would it be possible to make it so the controller powers on to the first disconnected input? As in the previous example, having controller 3 power back on as controller 1 because controllers 1&2 are now shut off? Smile
Alright, installed v4.1 as per instructions and attempted again, still the same. This is the ScpServer screenshot:
[attachment=41882]

I do know that my dongle was very cheap but it was bought around 2010 or so, so it should be new enough. The BT version reported in your app seems correct.
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