..:: 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
Eureka! I got mine working!

Unfortunately the name fix was not enough. Appearently a fake controller will not respond to the standard "Set Feature Report", so it has to be changed slightly to account for this.
I followed the steps made by Report Fix and got it woking!
My approach for the device name problem was to change the name verification to use the "StartsWith" method instead of a comparison.
Code:
for (int i = 0; i < 6; i++) BD_Addr[i] = Buffer[i + 3];
if (Name.StartsWith("PLAYSTATION(R)3 Controller") || Name.StartsWith("PLAYSTATION(R)3Controller") || Name.StartsWith("PLAYSTATION(R)3 Conteroller") || Name.StartsWith("PLAYSTATION(R)3Conteroller") ||
Name == "Navigation Controller" ||
Name == "Wireless Controller")
{
        NameList.Add(bd, nm.ToString());
        Transfered = HCI_Accept_Connection_Request(BD_Addr, 0x00);
}
...
I have uploaded the modified source code and compiled version:
Fake Controller Fix
I'm starting to get really annoyed with this. I installed my PS3 by plugging it in and having Windows install basic drivers (it's listed as Playstation 3 Controller in Devices and Printers).
I downloaded the latest 360 drivers and I'm positive I have the latest Visual C package downloaded.
However, whenever I try to run scpdriver.exe, nothing happens and I just get a generic "scpdriver has stopped working" message. Unblocking the program doesn't do anything, and neither does running it as an administrator.

My PS3 controller's four lights are always blinking red and programs like BetterDS3 and MotionInJoy don't even display it on their lists of controllers.
I'm sure it's not the USB cable as I got it to work on another computer with the same operating system (Windows 7) and controller.
(06-28-2015, 10:31 AM)Khevarash Wrote: [ -> ]Two things you can try: Re-download both archives just like in the instructions. Move the archives over to C:/Temp/ and right click>properties each and make sure they're unblocked. Extract each. This time though, make another folder at the root of C:/ (For example, C:/ScpServer/) and make sure to copy the 1.2.0 files over and run ScpDriver.exe as administrator before overwriting with 1.2.2. Hopefully it's just a weird UAC issue.

Hey, that worked!

(which means what I re-did was basically steps 2-4 of the OP)
(06-29-2015, 11:14 AM)vingamer234 Wrote: [ -> ]Hey, that worked!

(which means what I re-did was basically steps 2-4 of the OP)

You mean for the unblock or the UAC issue? UAC tends to be a bit of a nag when it comes to Program Files. Regular admins on the account are listed after the 'true admin' account. Another way of seeing if UAC was the issue is to recreate the folder in Program Files, Right click > properties > security tab and giving your user full access with file inherited permissions. Windows does a terrible job of handling permissions sometimes.

(06-28-2015, 06:58 PM)CRACING Wrote: [ -> ]What happens if we add whole remote name to "Name.StartsWith"? i.e (Name.StartsWith("PLAYSTATION®3Conteroller-PANHAI")

Yeah, I tried it unfortunately. I'm nearly 100% certain this controller specifically doesn't like 2.0 adapters. This makes me wish I priority'd the bluetooth dongle. Wonder if there's anyone else I know that has a bluetooth adapter...

Code:
2015-06-29 11:21:07.117 >> HCI_Connection_Request_EV [04]
2015-06-29 11:21:07.137 << HCI_Delete_Stored_Link_Key [0C12]
2015-06-29 11:21:07.159 << HCI_Remote_Name_Request [0419]
2015-06-29 11:21:07.169 >> HCI_Command_Complete_EV [0E] [00] [HCI_Delete_Stored_Link_Key]
2015-06-29 11:21:07.177 >> HCI_Command_Status_EV [0F] [00] [HCI_Remote_Name_Request]
2015-06-29 11:21:07.231 >> HCI_Remote_Name_Request_Complete_EV [07]
2015-06-29 11:21:07.238 -- Remote Name : 00:F8:94:65:63:25 - PLAYSTATION(R)3Conteroller-PANHAI
2015-06-29 11:21:07.249 << HCI_Accept_Connection_Request [0409]
2015-06-29 11:21:07.260 >> HCI_Command_Status_EV [0F] [00] [HCI_Accept_Connection_Request]
2015-06-29 11:21:07.430 >> HCI_Role_Change_EV [12]
2015-06-29 11:21:07.579 >> HCI_Connection_Complete_EV [03]
2015-06-29 11:21:07.597 >> HCI_Max_Slots_Change_EV [1B]
2015-06-29 11:21:07.609 >> L2CAP_Connection_Request [02] PSM [11]
2015-06-29 11:21:07.623 << L2CAP_Connection_Response [03]
2015-06-29 11:21:07.633 << L2CAP_Configuration_Request [04]
2015-06-29 11:21:07.654 >> L2CAP_Configuration_Request [04]
2015-06-29 11:21:07.664 << L2CAP_Configuration_Response [05]
2015-06-29 11:21:07.670 >> L2CAP_Configuration_Response [05]
2015-06-29 11:21:28.736 >> HCI_Disconnection_Complete_EV [05]

(06-28-2015, 09:56 PM)Hyori Wrote: [ -> ]Eureka! I got mine working!

Unfortunately the name fix was not enough. Appearently a fake controller will not respond to the standard "Set Feature Report", so it has to be changed slightly to account for this.

Hey, congratulations! I went to check to see if I was going to have similar success:

Code:
2015-06-29 11:07:29.914 >> HCI_Connection_Request_EV [04]
2015-06-29 11:07:29.934 << HCI_Delete_Stored_Link_Key [0C12]
2015-06-29 11:07:29.954 << HCI_Remote_Name_Request [0419]
2015-06-29 11:07:29.961 >> HCI_Command_Complete_EV [0E] [00] [HCI_Delete_Stored_Link_Key]
2015-06-29 11:07:29.971 >> HCI_Command_Status_EV [0F] [00] [HCI_Remote_Name_Request]
2015-06-29 11:07:30.000 >> HCI_Remote_Name_Request_Complete_EV [07]
2015-06-29 11:07:30.005 -- Remote Name : 00:F8:94:65:63:25 - PLAYSTATION(R)3Conteroller-PANHAI
2015-06-29 11:07:30.015 << HCI_Accept_Connection_Request [0409]
2015-06-29 11:07:30.021 >> HCI_Command_Status_EV [0F] [00] [HCI_Accept_Connection_Request]
2015-06-29 11:07:30.172 >> HCI_Role_Change_EV [12]
2015-06-29 11:07:30.321 >> HCI_Connection_Complete_EV [03]
2015-06-29 11:07:30.345 -- Fake DualShock3 found. Workaround applied
2015-06-29 11:07:30.354 >> HCI_Max_Slots_Change_EV [1B]
2015-06-29 11:07:30.371 >> L2CAP_Connection_Request [02] PSM [11]
2015-06-29 11:07:30.381 << L2CAP_Connection_Response [03]
2015-06-29 11:07:30.388 << L2CAP_Configuration_Request [04]
2015-06-29 11:07:30.396 >> L2CAP_Configuration_Request [04]
2015-06-29 11:07:30.405 << L2CAP_Configuration_Response [05]
2015-06-29 11:07:30.411 >> L2CAP_Configuration_Response [05]
2015-06-29 11:07:51.672 >> HCI_Disconnection_Complete_EV [05]

Ehhh, bummer. I was rather enthusiastic about saving on a 3rd party controller. I'm split on whether that was a good decision or not, haha.

Can't say I haven't learned a lot from this experience. I took a VB course a while back and now realize dealing with a tiny bit of C# is like going from building blocks to building schematics.
(06-28-2015, 09:56 PM)Hyori Wrote: [ -> ]Eureka! I got mine working!

Congratulations on getting your controller working and thanks for sharing. I hope your solution will help other users of VINS controllers.

(06-29-2015, 04:35 PM)Khevarash Wrote: [ -> ]Yeah, I tried it unfortunately. I'm nearly 100% certain this controller specifically doesn't like 2.0 adapters. This makes me wish I priority'd the bluetooth dongle. Wonder if there's anyone else I know that has a bluetooth adapter...

Ehhh, bummer. I was rather enthusiastic about saving on a 3rd party controller. I'm split on whether that was a good decision or not, haha.

I hoped Hyori's solution will atleast work for you but unfortunately it didn't.

Don't lose hopes yet. If the controller works with android sixaxis app then it should work on pc too. It is something to do with either the dongle or scp control dll.

(06-29-2015, 04:35 PM)Khevarash Wrote: [ -> ]Can't say I haven't learned a lot from this experience. I took a VB course a while back and now realize dealing with a tiny bit of C# is like going from building blocks to building schematics.

VB is very easy programming language which has GUI designing plus coding but C# is totally different language and full of coding. It is difficult to do and involving a lot of effort but if you can, then it will be a great achievement.
I've been using this for a while with a DS3 and it's been flawless, but I tried to pair my DS4 the other night and had some problems.

I followed one of the posts, which I'm not sure if its outdated or not, but it had me use Zadig to install some drivers. I accidently installed them on USB Input Device instead of Wireless controller. I did it to 2 USB Input Devices. After this SCP wouldn't start anymore, I'd use my batch command and it would just error quick and disappear. So I went into device manager and rolled back the 2 USB input device drivers (the ones I think I messed up with Zadig) After that I was still paranoid, so I system restored to a day earlier. Everything's been working fine since that, but I feel like I have a bit of input lag with my DS3 now. Am I just crazy or could I have screwed something up EVEN with a System Restore.

Thanks for any help!
My fake ds3 works great with android sixaxis via Bluetooth.
It has no delays at all.
And even vibration works flawlessly.
But on PC, it works only via USB.
And BTH connection has lots of delays.
My Bluetooth dongle is CSR Bluetooth 2.0 rev_1958.
Is this weak?
(06-29-2015, 09:07 PM)fapsock Wrote: [ -> ]I've been using this for a while with a DS3 and it's been flawless, but I tried to pair my DS4 the other night and had some problems.

Saw this while scrolling through. Down at the DS4 section. You can try it and see what happens.

(06-29-2015, 09:39 PM)BeNeMeSh Wrote: [ -> ]My fake ds3 works great with android sixaxis via Bluetooth.
It has no delays at all.
And even vibration works flawlessly.
But on PC, it works only via USB.
And BTH connection has lots of delays.
My Bluetooth dongle is CSR Bluetooth 2.0 rev_1958.
Is this weak?

Is it connecting via 2.0? As I've seen in the thread, 2.0 and 2.1 adapters are acceptable but not really recommended. Some others have noticed delay with 2.0 and some others find it okay. If you can test it on a 3.0 or 4.0 it might work flawlessly. I'm waiting on my 4.0 dongle.

(06-29-2015, 07:02 PM)CRACING Wrote: [ -> ]Don't lose hopes yet. If the controller works with android sixaxis app then it should work on pc too. It is something to do with either the dongle or scp control dll.
VB is very easy programming language which has GUI designing plus coding but C# is totally different language and full of coding. It is difficult to do and involving a lot of effort but if you can, then it will be a great achievement.

I'm still hopeful. This controller was to replace my loyal cheap-y brand wireless controller. Batteries started getting annoying to deal with and the O button was giving out a second time after swapping the rubber from my PS2 controller. The reception for it's IR dongle was terrible and it used directinput so it was becoming less compatible with newer games.

I took VB kinda as a "sure why not" course. It would be pretty cool to know something much bigger like C#, C++, or even JavaScript.
(06-30-2015, 02:58 AM)Khevarash Wrote: [ -> ]I'm still hopeful. This controller was to replace my loyal cheap-y brand wireless controller. Batteries started getting annoying to deal with and the O button was giving out a second time after swapping the rubber from my PS2 controller. The reception for it's IR dongle was terrible and it used directinput so it was becoming less compatible with newer games.

Yeah, those cheap wireless controllers are terrible and won't last long. Atleast these fake PS3 controllers are better.

(06-29-2015, 09:39 PM)BeNeMeSh Wrote: [ -> ]My fake ds3 works great with android sixaxis via Bluetooth.
It has no delays at all.
And even vibration works flawlessly.
But on PC, it works only via USB.
And BTH connection has lots of delays.
My Bluetooth dongle is CSR Bluetooth 2.0 rev_1958.
Is this weak?

There are lots of bluetooth dongles and even if there hardware id matches, the built quality and design differs. You wanna try different bluetooth dongles and see if it solves the delay in response.

As of vibration over bluetooth, I don't think its supported in SCP program. Atleast with fake controllers because many have reported.
(06-30-2015, 02:58 AM)Khevarash Wrote: [ -> ]Saw this while scrolling through. Down at the DS4 section. You can try it and see what happens.

Thanks for the reply, but that wasn't my question
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