..:: 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
(03-24-2014, 12:10 AM)Scarlet.Crush Wrote: [ -> ]@Rily: pin-hole reset - disconnect your DS3 from USB, on the back of your DS3 you'll see a small circular hole to the right of the centre screw. Insert a pin into this hole and gently push until you feel a slight click, hold at this position for 10 seconds then release it.

for 10 seconds, for 20 seconds, i should see a led flashing or some signal? i did it but i don't now if i need restar ds3 service or te pc, because still not working
hey dudes could you explain why scpservice.exe consumes bandwidth? (actually ~11kb for upload in resmon)
Thank you very much with dll version 166 everything works fine also with my joypads!
Hi

Without wanting to search too deep, and no information in the O.P. regarding this program's capabilities being present, I'd like to ask given the development clearly being made with this project if 6axis control (that is, the PS3 controller's motion controls: gyro/accelerometer) is possible now?

From the image posted through this link a few pages back ( http://forums.pcsx2.net/attachment.php?aid=49599 ) it almost gives me hope that it has been included with options such as "DS3 axis"...

And if it is supported, how do I go about implementing it? I have a couple of very specific games that I could really use this kind of control for.

Either way, thanks.

p.s.
Is it possible to simultaneously use the bluetooth dongle for my wireless keyboard along with a PS3 controller? Or would the service interrupt the keyboard functionality?
(03-24-2014, 12:53 AM)x_berzerker Wrote: [ -> ]hey dudes could you explain why scpservice.exe consumes bandwidth? (actually ~11kb for upload in resmon)

It uses a local connection between the driver and scpmonitor and service to communicate, it doesn't actually leave the computer or go out on the internet.

best regards,
- dink
Is there a way to check battery status of the DS4 yet?
is there some way to convert the hex "Charging" numbers into a percentage?

Dongle: USB\VID_0CF3&PID_3002&REV_0001
Controller: DS4

Just updated to 1.2.0.160 (+.165 update) ( from 1.1.0.136) <<<< DS4 was working in this version


Getting this error on trying to run DsPair.exe as Admin

Exception message
Code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.MissingMethodException: Method not found: 'ScpControl.DeviceState ScpControl.BthDongle.get_State()'.
   at Ds4Pair.Ds4Form.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Ds4Pair
    Assembly Version: 1.1.0.136
    Win32 Version: 1.1.0.136
    CodeBase: file:///C:/Program%20Files/XInput%20Wrapper%20for%20DS3/ScpServer/bin/Ds4Pair.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ScpControl
    Assembly Version: 1.2.1.165
    Win32 Version: 1.2.1.165
    CodeBase: file:///C:/Program%20Files/XInput%20Wrapper%20for%20DS3/ScpServer/bin/ScpControl.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

DsPairErro.jpg - Error window has extra detail not pasted above
Installed.jpg - Programs and Features showing Framework version and Visual C installed.

Oops didnt read the part about DsPair not being needed anymore. But my DS4 still does not connect via BT after being unplugged from USB
(03-24-2014, 05:36 AM)chroma Wrote: [ -> ]Hi

Without wanting to search too deep, and no information in the O.P. regarding this program's capabilities being present, I'd like to ask given the development clearly being made with this project if 6axis control (that is, the PS3 controller's motion controls: gyro/accelerometer) is possible now?

From the image posted through this link a few pages back ( http://forums.pcsx2.net/attachment.php?aid=49599 ) it almost gives me hope that it has been included with options such as "DS3 axis"...

And if it is supported, how do I go about implementing it? I have a couple of very specific games that I could really use this kind of control for.

Either way, thanks.

p.s.
Is it possible to simultaneously use the bluetooth dongle for my wireless keyboard along with a PS3 controller? Or would the service interrupt the keyboard functionality?

Check out my DS4Windows project to see what the DualShock4's SixAxis stuff looks like. I haven't added bindings yet but it details the data you get. I can help you walk through it to find that information if you like.
hello
i can use my ds3 using usb cable
but i can't use it via bluetooth
i was installed the bth driver in scpdriver.exe
then the bluetooth icon remains visible in system tray
so i can't connect the ds3
any suggestions?
PLAYSTATION®3Conteroller-ghic 00:18:01:0A:C1:E7 won't connect

Code:
2014-03-24 13:11:09.593 ++ C:\Program Files\Scarlet.Crush Productions\ScpServer.exe  1.2.0.160
2014-03-24 13:11:09.609 ++ C:\Program Files\Scarlet.Crush Productions\ScpControl.dll 1.2.1.167
2014-03-24 13:11:09.718 ++ Microsoft Windows XP Home Edition Service Pack 3 (5.1.2600.196608 x86)
2014-03-24 13:11:09.718 -- Bus Open   : Offset 0
2014-03-24 13:11:09.734 -- Bus Open   : Path \\?\ROOT#SYSTEM#0003#{F679F562-3164-42CE-A4DB-E7DDBE723909}
2014-03-24 13:11:09.812 ## Mapper.Initialize() - Profiles [5] Active [Default] Mappings [0]
2014-03-24 13:11:09.875 -- Bluetooth  : HCI_Worker_Thread Starting [81]
2014-03-24 13:11:09.890 << HCI_Reset [0C03]
2014-03-24 13:11:10.015 >> HCI_Command_Complete_EV [0E] [00] [HCI_Reset]
2014-03-24 13:11:10.281 << HCI_Read_BD_ADDR [1009]
2014-03-24 13:11:10.281 >> HCI_Command_Complete_EV [0E] [00] [HCI_Read_BD_ADDR]
2014-03-24 13:11:10.296 << HCI_Read_Buffer_Size [1005]
2014-03-24 13:11:10.312 >> HCI_Command_Complete_EV [0E] [00] [HCI_Read_Buffer_Size]
2014-03-24 13:11:10.312 -- 0136, 40, 000A, 0008
2014-03-24 13:11:10.468 << HCI_Read_Local_Version_Info [1001]
2014-03-24 13:11:10.484 >> HCI_Command_Complete_EV [0E] [00] [HCI_Read_Local_Version_Info]
2014-03-24 13:11:10.484 -- Master 00:15:83:4C:3A:5B, HCI_Version 6.22BB, LMP_Version 6.22BB
2014-03-24 13:11:10.500 << HCI_Write_Scan_Enable [0C1A]
2014-03-24 13:11:10.500 >> HCI_Command_Complete_EV [0E] [00] [HCI_Write_Scan_Enable]
2014-03-24 13:11:10.812 -- Bluetooth  : L2CAP_Worker_Thread Starting [82,02]
2014-03-24 13:11:11.812 -- Controller : UDP_Worker_Thread Starting
2014-03-24 13:11:18.234 >> HCI_Connection_Request_EV [04]
2014-03-24 13:11:18.250 << HCI_Delete_Stored_Link_Key [0C12]
2014-03-24 13:11:18.265 << HCI_Remote_Name_Request [0419]
2014-03-24 13:11:18.296 >> HCI_Command_Complete_EV [0E] [00] [HCI_Delete_Stored_Link_Key]
2014-03-24 13:11:18.312 >> HCI_Command_Status_EV [0F] [00] [HCI_Remote_Name_Request]
2014-03-24 13:11:18.343 >> HCI_Remote_Name_Request_Complete_EV [07]
2014-03-24 13:11:18.343 -- Remote Name : 00:18:01:0A:C1:E7 - PLAYSTATION(R)3Conteroller-ghic
2014-03-24 13:11:18.359 << HCI_Accept_Connection_Request [0409]
2014-03-24 13:11:18.375 >> HCI_Command_Status_EV [0F] [00] [HCI_Accept_Connection_Request]
2014-03-24 13:11:18.515 >> HCI_Role_Change_EV [12]
2014-03-24 13:11:18.546 >> HCI_Connection_Complete_EV [03]
2014-03-24 13:11:18.578 >> HCI_Page_Scan_Repetition_Mode_Change_EV [20]
2014-03-24 13:11:33.890 >> HCI_Disconnection_Complete_EV [05]
2014-03-24 13:11:33.921 >> HCI_Connection_Request_EV [04]
2014-03-24 13:11:33.937 << HCI_Delete_Stored_Link_Key [0C12]
2014-03-24 13:11:33.953 << HCI_Remote_Name_Request [0419]
2014-03-24 13:11:33.984 >> HCI_Command_Complete_EV [0E] [00] [HCI_Delete_Stored_Link_Key]
2014-03-24 13:11:34.000 >> HCI_Command_Status_EV [0F] [00] [HCI_Remote_Name_Request]
2014-03-24 13:11:34.031 >> HCI_Remote_Name_Request_Complete_EV [07]
2014-03-24 13:11:34.046 -- Remote Name : 00:18:01:0A:C1:E7 - PLAYSTATION(R)3Conteroller-ghic
2014-03-24 13:11:34.062 << HCI_Accept_Connection_Request [0409]
2014-03-24 13:11:34.093 >> HCI_Command_Status_EV [0F] [00] [HCI_Accept_Connection_Request]
2014-03-24 13:11:34.234 >> HCI_Role_Change_EV [12]
2014-03-24 13:11:34.265 >> HCI_Connection_Complete_EV [03]
2014-03-24 13:11:34.281 >> HCI_Page_Scan_Repetition_Mode_Change_EV [20]
2014-03-24 13:11:49.609 >> HCI_Disconnection_Complete_EV [05]
2014-03-24 13:11:49.640 >> HCI_Connection_Request_EV [04]
2014-03-24 13:11:49.671 << HCI_Delete_Stored_Link_Key [0C12]
2014-03-24 13:11:49.687 << HCI_Remote_Name_Request [0419]
2014-03-24 13:11:49.703 >> HCI_Command_Complete_EV [0E] [00] [HCI_Delete_Stored_Link_Key]
2014-03-24 13:11:49.734 >> HCI_Command_Status_EV [0F] [00] [HCI_Remote_Name_Request]
2014-03-24 13:11:49.765 >> HCI_Remote_Name_Request_Complete_EV [07]
2014-03-24 13:11:49.781 -- Remote Name : 00:18:01:0A:C1:E7 - PLAYSTATION(R)3Conteroller-ghic
2014-03-24 13:11:49.796 << HCI_Accept_Connection_Request [0409]
2014-03-24 13:11:49.828 >> HCI_Command_Status_EV [0F] [00] [HCI_Accept_Connection_Request]
2014-03-24 13:11:49.968 >> HCI_Role_Change_EV [12]
2014-03-24 13:11:50.000 >> HCI_Connection_Complete_EV [03]
2014-03-24 13:11:50.015 >> HCI_Page_Scan_Repetition_Mode_Change_EV [20]
2014-03-24 13:12:05.343 >> HCI_Disconnection_Complete_EV [05]
2014-03-24 13:12:05.531 >> HCI_Connection_Request_EV [04]
2014-03-24 13:12:05.546 << HCI_Delete_Stored_Link_Key [0C12]
2014-03-24 13:12:05.546 << HCI_Remote_Name_Request [0419]
2014-03-24 13:12:05.562 >> HCI_Command_Complete_EV [0E] [00] [HCI_Delete_Stored_Link_Key]
2014-03-24 13:12:05.578 >> HCI_Command_Status_EV [0F] [00] [HCI_Remote_Name_Request]
2014-03-24 13:12:05.609 >> HCI_Remote_Name_Request_Complete_EV [07]
2014-03-24 13:12:05.609 -- Remote Name : 00:18:01:0A:C1:E7 - PLAYSTATION(R)3Conteroller-ghic
2014-03-24 13:12:05.640 << HCI_Accept_Connection_Request [0409]
2014-03-24 13:12:05.640 >> HCI_Command_Status_EV [0F] [00] [HCI_Accept_Connection_Request]
2014-03-24 13:12:05.781 >> HCI_Role_Change_EV [12]
2014-03-24 13:12:05.796 >> HCI_Connection_Complete_EV [03]
2014-03-24 13:12:05.828 >> HCI_Page_Scan_Repetition_Mode_Change_EV [20]
2014-03-24 13:12:15.968 ## Mapper.Shutdown()
2014-03-24 13:12:15.968 << HCI_Disconnect [0406]
2014-03-24 13:12:16.484 << HCI_Reset [0C03]
2014-03-24 13:12:15.968 -- Controller : UDP_Worker_Thread Exiting
2014-03-24 13:12:15.968 >> HCI_Command_Status_EV [0F] [00] [HCI_Disconnect]
2014-03-24 13:12:16.984 -- Bluetooth  : L2CAP_Worker_Thread Exiting
2014-03-24 13:12:16.984 -- Bluetooth  : HCI_Worker_Thread Exiting
@Rily: after completing the pin-hole reset, press the PS Button. If your DS3 is still not connecting repeat the procedure I outlined before and post your zipped ScpService.log as an attachment.

@x_berzerker: as dink said, ScpService uses localhost UDP connections to provide status details to ScpMonitor and also to publish the Native feed. This data stays internal to your machine, it never reaches your network card. You can disable Native Feed in Configuration Options in ScpMonitor & then close ScpMonitor, you will see the usage drop to 0.

Native Feed : a DS3 on USB sends reports every 10ms, each report is formatted into a Native Feed packet which is 96 bytes. 96 * 100 = 9.6 KB/s.

ScpMonitor sends a status request every 100ms to ScpService. Status data is returned as a variable length string ~150 bytes in length. 150 * 10 = 1.5 KB/s.

Localhost UDP connections are implemented by Windows as shared memory blocks, not by the Network driver stack.

@chroma: currently no, sixaxis data is not exposed. I am looking at ways that this could be exposed and used, but I would want to normalise it for consistant usage across DS3 & DS4.

@HyeVltg3: did you follow the Repair procedure outlined in Post #2505?

@randito34: can you do the following -

1. Disconnect your DS3 from USB.
2. Reboot your PC.
3. Start ScpMonitor. [Do you see HCI & LMP Version information for your Dongle?]
4. Plugin your DS3 to USB.
5. Wait 10 seconds.
6. Unplug your DS3 from USB. [Do you see the LEDs flashing?]
7. Wait 30 seconds.
8. Plugin your DS3 to USB.
9. Wait 10 seconds.
10. Zip up your ScpService.log & ScpDriver.log and post as an attachment.

@Mikhail0: don't see it attempting to connect the L2CAP channels (PSM [11] & PSM [13). I implemented the same fix as yetifrisstlama2 so should work with your controller, do you have an ScpService.log from when you were using it? Can you also try a pin-hole reset of the controller.

btw. the "00:16:FE:71" signature presents with the name PLAYSTATION®3Conteroller-VINS, so assuming these are from the same manufacturer with a slightly different version of firmware.
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