..:: 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
(03-25-2015, 10:17 PM)RayfenWindspear Wrote: [ -> ]You are most welcome. Glad it worked out for you. After getting this working I ordered 2 more of these pads for myself... only $20 for both of them Smile

I also have two of this pads and I must admit that they are only good for some arcade games (kids games, driving, etc.) I tried to play multiplayer Last of us on ps3 and that was horrible. You can`t shoot nearly anybody. Dead zones on analog sticks are sucks. So I suggest to everybody who are intend to play some shooter game that original is original.
(03-25-2015, 07:50 PM)RayfenWindspear Wrote: [ -> ]For starters, did you install the update as well? The latest version is 1.2.2.175, but it doesn't come in a full install version, you have to update to it. If that doesn't do it, then try the "Search Thread" near the bottom of the page here and see if anything helps. There are a lot of replies if you specifically type in: bth 00000000 none

I did read some posts similar with my case. My controller can work quite well with a built-in Bluetooth laptop. Maybe it's a fake controller. So are there any solution to force Xinput Wrapper work with not genuine controller?
(03-25-2015, 11:47 PM)dcardoso Wrote: [ -> ]I have the same PANHAI controller and three weeks ago I also edited the source code and made some progress by making the changes you also made by adding my device ID to the fix for fake ds3's and enabling the service bypass, but still I get no connection via bluetooth. I already tried your modified version of ScpControl.dll but still no luck. Maybe the problem is on my bluetooth dongle, can you tell me what's yours HCI and LMP version?

I didn't have to add mine for the fix, only the service bypass. Strange that you tried my dll and it didn't work though. Its possible that it could be the dongle, but I really have no idea. Most 2.0 and above should work, though I have seen a few posts here about certain dongles that just refuse to work.

My HCI is 3.416F, LMP 3.430E
It could be yours is old, I was worried mine was too old. I can't really claim to know any more than what little I discovered crawling through the code.

Did you remember to stop the service before swapping the dll? I've forgotten that a number of times myself. Blush

If it is an anomalous controller, I have 2 more coming today so maybe I'll get one that doesn't want to play nice...

EDIT:
I looked at your log a little closer and discovered that your server only went through the rounds once before the HCI_DISCONNECTION kicked in. It never even got to the ServiceByPass line. I'm not really sure what to make of that, but try making sure that you DO NOT do the fix for fake ds3.

Here is a snippet of my log during successful BT connection.

Code:
2015-03-26 10:00:25.956 >> HCI_Connection_Request_EV [04]
2015-03-26 10:00:25.972 << HCI_Delete_Stored_Link_Key [0C12]
2015-03-26 10:00:25.972 << HCI_Remote_Name_Request [0419]
2015-03-26 10:00:25.972 >> HCI_Command_Complete_EV [0E] [00] [HCI_Delete_Stored_Link_Key]
2015-03-26 10:00:25.972 >> HCI_Command_Status_EV [0F] [00] [HCI_Remote_Name_Request]
2015-03-26 10:00:26.003 >> HCI_Remote_Name_Request_Complete_EV [07]
2015-03-26 10:00:26.003 -- Remote Name : 8A:53:02:01:0F:27 - PLAYSTATION(R)3Conteroller-PANHAI
2015-03-26 10:00:26.019 << HCI_Accept_Connection_Request [0409]
2015-03-26 10:00:26.034 >> HCI_Command_Status_EV [0F] [00] [HCI_Accept_Connection_Request]
2015-03-26 10:00:26.175 >> HCI_Role_Change_EV [12]
2015-03-26 10:00:26.331 >> HCI_Connection_Complete_EV [03]
2015-03-26 10:00:26.347 >> L2CAP_Connection_Request [02] PSM [11]
2015-03-26 10:00:26.347 << L2CAP_Connection_Response [03]
2015-03-26 10:00:26.362 << L2CAP_Configuration_Request [04]
2015-03-26 10:00:26.394 >> L2CAP_Configuration_Request [04]
2015-03-26 10:00:26.409 << L2CAP_Configuration_Response [05]
2015-03-26 10:00:26.425 >> L2CAP_Configuration_Response [05]
2015-03-26 10:00:26.456 >> L2CAP_Connection_Request [02] PSM [13]
2015-03-26 10:00:26.487 << L2CAP_Connection_Response [03]
2015-03-26 10:00:26.503 << L2CAP_Configuration_Request [04]
2015-03-26 10:00:26.550 >> L2CAP_Configuration_Request [04]
2015-03-26 10:00:26.565 << L2CAP_Configuration_Response [05]
2015-03-26 10:00:26.597 >> L2CAP_Configuration_Response [05]
2015-03-26 10:00:26.628 >> ServiceByPass [8A:53:02:01:0F:27 - PLAYSTATION(R)3Conteroller-PANHAI]
2015-03-26 10:00:26.628 ++ Plugin Port #1 for [8A:53:02:01:0F:27]

EDIT 2:
One thing I just remembered is that when I am rebuilding from source, it is useful to stop the service and not start it at all. Then using ScpServer.exe is sure to use the one I just built.
(03-26-2015, 08:12 AM)Stjepan1403 Wrote: [ -> ]I also have two of this pads and I must admit that they are only good for some arcade games (kids games, driving, etc.) I tried to play multiplayer Last of us on ps3 and that was horrible. You can`t shoot nearly anybody. Dead zones on analog sticks are sucks. So I suggest to everybody who are intend to play some shooter game that original is original.

Have you tried using joy.cpl to calibrate the controllers? That helped quite a bit with mine. I think I also did something to get them to be recognized as an Xbox 360 controller, but I can't for the life of me remember what I did. I admit they aren't as good as official pads, but I'm not much of a pad gamer anyway so they are fine for me. If I was a hardcore console FPS player, I would definitely get a better controller.
(03-26-2015, 05:37 PM)RayfenWindspear Wrote: [ -> ]I didn't have to add mine for the fix, only the service bypass. Strange that you tried my dll and it didn't work though. Its possible that it could be the dongle, but I really have no idea. Most 2.0 and above should work, though I have seen a few posts here about certain dongles that just refuse to work.

My HCI is 3.416F, LMP 3.430E
It could be yours is old, I was worried mine was too old. I can't really claim to know any more than what little I discovered crawling through the code.

Did you remember to stop the service before swapping the dll? I've forgotten that a number of times myself. Blush

If it is an anomalous controller, I have 2 more coming today so maybe I'll get one that doesn't want to play nice...

EDIT:
I looked at your log a little closer and discovered that your server only went through the rounds once before the HCI_DISCONNECTION kicked in. It never even got to the ServiceByPass line. I'm not really sure what to make of that, but try making sure that you DO NOT do the fix for fake ds3.

Here is a snippet of my log during successful BT connection.

Code:
2015-03-26 10:00:25.956 >> HCI_Connection_Request_EV [04]
2015-03-26 10:00:25.972 << HCI_Delete_Stored_Link_Key [0C12]
2015-03-26 10:00:25.972 << HCI_Remote_Name_Request [0419]
2015-03-26 10:00:25.972 >> HCI_Command_Complete_EV [0E] [00] [HCI_Delete_Stored_Link_Key]
2015-03-26 10:00:25.972 >> HCI_Command_Status_EV [0F] [00] [HCI_Remote_Name_Request]
2015-03-26 10:00:26.003 >> HCI_Remote_Name_Request_Complete_EV [07]
2015-03-26 10:00:26.003 -- Remote Name : 8A:53:02:01:0F:27 - PLAYSTATION(R)3Conteroller-PANHAI
2015-03-26 10:00:26.019 << HCI_Accept_Connection_Request [0409]
2015-03-26 10:00:26.034 >> HCI_Command_Status_EV [0F] [00] [HCI_Accept_Connection_Request]
2015-03-26 10:00:26.175 >> HCI_Role_Change_EV [12]
2015-03-26 10:00:26.331 >> HCI_Connection_Complete_EV [03]
2015-03-26 10:00:26.347 >> L2CAP_Connection_Request [02] PSM [11]
2015-03-26 10:00:26.347 << L2CAP_Connection_Response [03]
2015-03-26 10:00:26.362 << L2CAP_Configuration_Request [04]
2015-03-26 10:00:26.394 >> L2CAP_Configuration_Request [04]
2015-03-26 10:00:26.409 << L2CAP_Configuration_Response [05]
2015-03-26 10:00:26.425 >> L2CAP_Configuration_Response [05]
2015-03-26 10:00:26.456 >> L2CAP_Connection_Request [02] PSM [13]
2015-03-26 10:00:26.487 << L2CAP_Connection_Response [03]
2015-03-26 10:00:26.503 << L2CAP_Configuration_Request [04]
2015-03-26 10:00:26.550 >> L2CAP_Configuration_Request [04]
2015-03-26 10:00:26.565 << L2CAP_Configuration_Response [05]
2015-03-26 10:00:26.597 >> L2CAP_Configuration_Response [05]
2015-03-26 10:00:26.628 >> ServiceByPass [8A:53:02:01:0F:27 - PLAYSTATION(R)3Conteroller-PANHAI]
2015-03-26 10:00:26.628 ++ Plugin Port #1 for [8A:53:02:01:0F:27]

EDIT 2:
One thing I just remembered is that when I am rebuilding from source, it is useful to stop the service and not start it at all. Then using ScpServer.exe is sure to use the one I just built.

I've checked my dongle vendor ID and it matches one of the supported ones. Tried again your dll and it won't print the Service Bypass log. Will download Visual Studio and compile again from source and debug and see if I can make any progress. I've always tested with ScpServer.exe and it always assumes the new dll once I replace it with a new compiled version.

Let me know if you can get your new controllers to work with SCP.

Best regards
I got my other two controllers and they connect without a hitch. One thing to note though. Earlier today I tried to connect my first one without success, the logs didn't even budge when I connected it. I had to use the zadig tool to forcefully install the DS3 driver for it again. For whatever reason Windows decided to use its driver. I don't know why exactly, but if you ever have it do that, just use the zadig tool on the controller.
(03-26-2015, 11:18 AM)bangrobe Wrote: [ -> ]I did read some posts similar with my case. My controller can work quite well with a built-in Bluetooth laptop. Maybe it's a fake controller. So are there any solution to force Xinput Wrapper work with not genuine controller?

Post logs please.
Registered just to say thank you. My crappy gamepads fully working in win10 now at every game i tried.
(03-28-2015, 01:43 AM)nnm Wrote: [ -> ]Registered just to say thank you. My crappy gamepads fully working in win10 now at every game i tried.

Windows 10?

Damn, maybe it would be worth upgrading to if my laptop's hardware updates to that.
Many thanks for this. I don't need xbox360 contoller emulators anymore and wireless support is great. It will be perfect if following features are available:

1. inverted axis
2. sensitivity adjustment
3. d-pad <-> button mapper
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