..:: 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
Tried the latest version of DS3Tool last night, it seems to have solved my problems. Not sure why, but I'm not one to look a gift horse in the mouth.

Edit: Whoops, wrong thread. I meant to post this in the DS4Tool thread, not here.
Hi,
after installing the drivers everything works as it should but after shuting my pc down and booting up i cant reconnect my ds3 again.
After uninstall and install again it works even after reboot but only shutting down causes the problem(disabled fast boot).
What i see after shutdown-boot ist that the HCI changes from 6.258 to 5.258.
System: win8 64bit bluetooth: USB\VID_0CF3&PID_3004
Is there a way to fix this?
Will you be adding the Ability to change the Light Bar Color on the DS4?
Scarlet.Crush: I did some more troubleshooting on the latency issues - first by changing the priority of ScpService to normal - that didn't help, and then tried using the ScpService from .103 and changed it's priority to realtime, and it didn't show any problems when doing so, so perhaps the priority isn't the issue.

recap: Sony DS3 Model# CECHZC2U [a1] & TrendNet TBW-107UB BTH, Vid_0a12&Pid_0001&Rev_8891 (WinXP) & buttons sticking on the dpad (hat) and/or lagged response every 10 seconds or so in a game. Also kept an eye on the cpu usage, and there are no strange spikes when this happens. (no problems with using .103's scpservice.exe)

best regards,
- dink
@wyfer: looks like the drivers that come with your dongle are doing some configuration which is non-standard. This configuration is maintained during a restart because the dongle is not powered down, but does not survive a shutdown since the dongle is powered down. Nothing I can do I'm afraid.

@megaorange: it's a possibility. Currently the colour identifies the Controller ID - Red = Pad 1, Green = Pad 2, Blue = Pad 3, Light Purplish = Pad 4

@dink: weird, I've attached a 1.1.0.136 ScpService with priority not changed from Normal, can you give it a try. [Are you only switching ScpService.exe, or ScpControl.dll as well?]

The major change in ScpService was the addition of Notification events for DS4 controllers on USB, the only thing I can think of is that the GUID used is conflicting with another device on your system. Can you do a registry search for the GUID 2ED90CE1-376F-4982-8F7F-E056CBC3CA71

Could you also zip up and post your ScpService.log after running a test which exhibits the behaviour.
Version 1.1.0.136 of ScpServer.exe doesn't work with BT (I don't use service): it writes "Host Address: <Error>". But version 1.0.0.103 of ScpServer.exe works with no visible problems with the rest of 1.1.0.136 driver set.

Log of ScpServer.exe 1.1.0.136:
Code:
2013-12-19 15:39:39.423 ++ C:\Program Files x64\DS3ScpServer\ScpControl.dll 1.1.0.136
2013-12-19 15:39:39.479 ++ Microsoft Windows Server 2008 R2 Enterprise Service Pack 1 (6.1.7601.65536 AMD64)
2013-12-19 15:39:39.512 -- Controller : UDP_Worker_Thread Starting
2013-12-19 15:39:39.514 -- Bluetooth  : L2CAP_Worker_Thread Starting [82,02]
2013-12-19 15:39:39.522 -- Bluetooth  : HCI_Worker_Thread Starting [81]
2013-12-19 15:39:39.527 << HCI_Reset [0C03]
2013-12-19 15:39:39.687 >> HCI_Command_Complete_EV [0E] [00] [HCI_Reset]
2013-12-19 15:39:39.941 << HCI_Read_BD_ADDR [1009]
2013-12-19 15:39:39.943 >> HCI_Command_Complete_EV [0E] [00] [HCI_Read_BD_ADDR]
2013-12-19 15:39:39.951 << HCI_Read_Buffer_Size [1005]
2013-12-19 15:39:39.953 >> HCI_Command_Complete_EV [0E] [00] [HCI_Read_Buffer_Size]
2013-12-19 15:39:39.956 -- 0136, 40, 000A, 0008
2013-12-19 15:39:39.965 << HCI_Read_Local_Version_Info [1001]
2013-12-19 15:39:39.967 >> HCI_Command_Complete_EV [0E] [00] [HCI_Read_Local_Version_Info]
2013-12-19 15:39:39.972 -- Master 00:1B:DC:05:7C:ED, HCI_Version 4.149C, LMP_Version 4.149C
2013-12-19 15:39:39.981 << HCI_Write_Simple_Pairing_Mode [0C56]
2013-12-19 15:39:39.985 >> HCI_Command_Complete_EV [0E] [00] [HCI_Write_Simple_Pairing_Mode]
2013-12-19 15:39:39.994 << HCI_Write_Simple_Pairing_Debug_Mode [1804]
2013-12-19 15:39:39.999 >> HCI_Command_Complete_EV [0E] [00] [HCI_Write_Simple_Pairing_Debug_Mode]
2013-12-19 15:39:40.009 << HCI_Write_Authentication_Enable [0C20]
2013-12-19 15:39:40.015 >> HCI_Command_Complete_EV [0E] [00] [HCI_Write_Authentication_Enable]
2013-12-19 15:39:40.028 << HCI_Set_Event_Mask [0C01]
2013-12-19 15:39:40.035 >> HCI_Command_Complete_EV [0E] [12] [HCI_Set_Event_Mask]

Log of ScpServer.exe 1.0.0.103:
Code:
19.12.2013 15:43:17.644++ Z:\Program Files x64\DS3ScpServer\ScpControl.dll 1.0.0.103
19.12.2013 15:43:17.685++ Microsoft Windows Server 2008 R2 Enterprise Service Pack 1 (6.1.7601.65536 AMD64)
19.12.2013 15:43:17.697-- Controller : UDP_Worker_Thread Starting
19.12.2013 15:43:17.699-- Bluetooth  : L2CAP_Worker_Thread Starting [82,02]
19.12.2013 15:43:17.699-- Bluetooth  : HCI_Worker_Thread Starting [81]
19.12.2013 15:43:17.718<< HCI_Reset [0C03]
19.12.2013 15:43:17.720>> HCI_Command_Complete_EV [0E] [00]
19.12.2013 15:43:17.976<< HCI_Read_BD_ADDR [1009]
19.12.2013 15:43:17.978>> HCI_Command_Complete_EV [0E] [00]
19.12.2013 15:43:17.992<< HCI_Read_Buffer_Size [1005]
19.12.2013 15:43:17.994>> HCI_Command_Complete_EV [0E] [00]
19.12.2013 15:43:18.000-- 0136, 40, 000A, 0008
19.12.2013 15:43:18.012<< HCI_Read_Local_Version_Info [1001]
19.12.2013 15:43:18.016>> HCI_Command_Complete_EV [0E] [00]
19.12.2013 15:43:18.029-- Master 00:1B:DC:05:7C:ED, HCI_Version 4.5276, LMP_Version 4.5276
19.12.2013 15:43:18.032<< HCI_Write_Scan_Enable [0C1A]
19.12.2013 15:43:18.042>> HCI_Command_Complete_EV [0E] [00]
@Senti: are you using a dongle with hardware id USB\VID_0A12&PID_0001?

Identified an issue with the mask used in HCI_Set_Event_Mask with some these controllers - see Post #1864.
@Scarlet.Crush: yes.

Changed dll and now new version works.
@Scarlet.Crush: Thanks for the continued help troubleshooting this lag issue Smile

I tried the new ScpService.exe which changes the priority to normal, but that didn't help - I'm not too sure how to change the priority of the dll. There are no occurances of 2ED90CE1-376F-4982-8F7F-E056CBC3CA71 in the registry. Oh, I also tried the updated ScpControl.dll from #1864, but no dice Sad

Here is also the log you requested: [attachment=47384]
@Scarlet.Crush: thx for adding ds4 support. The tool works fantastic (service mode, win7 x64, bt dongle with CSR8510 chipset)!

A few things I'd love to see implemented, to make ds4 support complete:
* battery status of ds4
* option to configure the lightbar color for each controller, or an option to tone down the lightbar (30/255 would be a decent value imho)
* flashing lightbar if the controller reaches a certain battery level (eg. 20% or configurable)

And one more question: are donations welcome to support development?
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