..:: 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
@Fox: nothing looks out of place in your logs. Can you test the attached archive, I've increased the priority of the Service and increased the resolution of the BTH Rumble Timer.

1. Stop the "SCP DS3 Service".
2. Replace ScpService and ScpControl.dll with the ones from the archive.
3. Start the "SCP DS3 Service".
4. Test with your games.

@Muguetsu: you don't need the XInput-Wrapper-SCP-2.2.1.88, don't install it.

It looks like you maybe having the same issue that Ocitda reported - ScpService unable to start, caused by security permissions on the install directory.

Can you check the permissions on the "C:\Program Files\Controle" directory for the SYSTEM account. In Explorer, right-click on the directory, select Properties, select the Security tab, select SYSTEM in the names list. [see screenshot]

Edit : attached the screenshot ...
(05-06-2013, 01:56 AM)Scarlet.Crush Wrote: [ -> ]@Excelsis: Now that 1.0.0.103 has been released I'm considering what to implement for future versions.

The biggest issue with X360 controllers is their handling of Triggers in DInput - they are both mapped to the Z axis (Z-,Z+) so only one can be active, and not usable as buttons in most DInput games.

What I'm thinking of doing is making the Virtual Bus capable of handling 3 device types, and being able to switch between them from ScpMonitor.
1. X360 Profile (current implementation).
2. DInput pad with Triggers mapped to separate axis (Z, Rz).
3. DInput pad with Triggers mapped to buttons.

I apologize there are way too many pages of posts to sift through, but is there an ETA for this implementation? I was trying to play Need For Speed Underground 2 last night, and nothing can be mapped to those Z axis triggers except for acceleration and brake (I wanted to use the triggers for shift up and down). I'm sure a lot of users are begging for an XInput-DInput hot toggle to play those older PC games.
(05-18-2013, 08:52 PM)Scarlet.Crush Wrote: [ -> ]@Fox: nothing looks out of place in your logs. Can you test the attached archive, I've increased the priority of the Service and increased the resolution of the BTH Rumble Timer.

1. Stop the "SCP DS3 Service".
2. Replace ScpService and ScpControl.dll with the ones from the archive.
3. Start the "SCP DS3 Service".
4. Test with your games.

@Muguetsu: you don't need the XInput-Wrapper-SCP-2.2.1.88, don't install it.

It looks like you maybe having the same issue that Ocitda reported - ScpService unable to start, caused by security permissions on the install directory.

Can you check the permissions on the "C:\Program Files\Controle" directory for the SYSTEM account. In Explorer, right-click on the directory, select Properties, select the Security tab, select SYSTEM in the names list. [see screenshot]

Hi Scarlet / Muguetsu,
After a few days that I take to think about and pacify myself, I finally
get to work the driver.
This was making the next:
Uninstall all previous (of course)
Make e new install, how mentioned in post #1, BUT CREATING A FILE C:\Program Files\Scarlet.Crush Productions, now I can get the ScpDriver.log, but the controls don't work yet
RESTART THE SYSTEM
RUN ScpServer
And finally the first controller work.
I'm now working hard trying to get the second controller working too.
I think (and wish) that with this step the things must to work in your case too Smile
And remember my native language is spanish, so sorry for my poor englishSad
[quote='Scarlet.Crush' pid='298533' dateline='1368647008']
@kakdu: might take a bit of tinkering, could try bypassing the Service Channel code -

ScpControl\BthDevice.cs::L2CAP_Worker_Thread()

Change
Code:
if (Connection.CanStartSvc)
{
    UInt16 DCID = BthConnection.DCID++;
    L2_DCID = new Byte[2] { (Byte)((DCID >> 0) & 0xFF), (Byte)((DCID >> 8) & 0xFF) };

    L2CAP_Connection_Request(Connection.HCI_Handle.Bytes, m_Id++, L2_DCID, L2CAP.PSM.HID_Service);
    LogDebug(String.Format("<< {0} [{1:X2}] PSM [{2:X2}]", L2CAP.Code.L2CAP_Connection_Request, (Byte) L2CAP.Code.L2CAP_Connection_Request, (Byte) L2CAP.PSM.HID_Service));
}

to
Code:
if (Connection.CanStartSvc)
{
    Connection.CanStartSvc = false;
    OnInitialised(Connection);
}

I noticed that the MAC Address of your and zoomHYPERIONzoom controllers (+ a few other people who reported the same issue) all start with 00:26:5C.

Hi Scarlet,
This is my case too, in the second controller, the MAC Address start with 00:26:5C, it can connect in the USB mode, but no in BT, when I look in the monitor and it's connected by USB it says "PAD2 : 00:26:5C:xxxxxx - USB 0000CFDE Charged", while the first says BTH 0000xxxx Full, when disconnect from USB it says Reserved, and the lights are flickering a few seconds and after stop, even when I press PS3 button in the controller, and obviously can't connect by BT.
The question is how can edit the ScpControl, that you indicates to Kakdu ??
Thanks in advance !!
[quote='Scarlet.Crush' pid='298533' dateline='1368647008']
@kakdu: might take a bit of tinkering, could try bypassing the Service Channel code -

ScpControl\BthDevice.cs::L2CAP_Worker_Thread()

Change
Code:
if (Connection.CanStartSvc)
{
    UInt16 DCID = BthConnection.DCID++;
    L2_DCID = new Byte[2] { (Byte)((DCID >> 0) & 0xFF), (Byte)((DCID >> 8) & 0xFF) };

    L2CAP_Connection_Request(Connection.HCI_Handle.Bytes, m_Id++, L2_DCID, L2CAP.PSM.HID_Service);
    LogDebug(String.Format("<< {0} [{1:X2}] PSM [{2:X2}]", L2CAP.Code.L2CAP_Connection_Request, (Byte) L2CAP.Code.L2CAP_Connection_Request, (Byte) L2CAP.PSM.HID_Service));
}

to
Code:
if (Connection.CanStartSvc)
{
    Connection.CanStartSvc = false;
    OnInitialised(Connection);
}

I noticed that the MAC Address of your and zoomHYPERIONzoom controllers (+ a few other people who reported the same issue) all start with 00:26:5C.

Hi Scarlet,
This is my case too, in the second controller, the MAC Address start with 00:26:5C, it can connect in the USB mode, but no in BT, when I look in the monitor and it's connected by USB it says "PAD2 : 00:26:5C:xxxxxx - USB 0000CFDE Charged", while the first says BTH 0000xxxx Full, when disconnect from USB it says Reserved, and the lights are flickering a few seconds and after stop, even when I press PS3 button in the controller, and obviously can't connect by BT.
The question is how can edit the ScpControl, that you indicates to Kakdu ??
Thanks in advance !!
First, I'd like to say hello to everyone here, and offer a special thanks to Scarlet for your wonderful work and support.

I don't know much about computers but I am curious about something that was mentioned in this thread about 1 month ago.

(04-09-2013, 06:40 PM)faseone Wrote: [ -> ]I have been using the drivers successfully for a few weeks now. I recently am trying to play Final Fantasy 11 again and it requires DInput. I thought by running the test app and minimizing I would be able to use for DInput games, however the triggers are still not being recognized. Any ideas as per what I am doing wrong?
probably something stupid on my end....

(04-09-2013, 11:21 PM)Scarlet.Crush Wrote: [ -> ]@faseone: which driver version are you using?

(04-10-2013, 03:02 AM)faseone Wrote: [ -> ]The most recent RC.
Win8 x64

(04-10-2013, 09:19 PM)Scarlet.Crush Wrote: [ -> ]@faseone: the DInput for X360 controllers map the triggers to the Z Axis. FFXI does not allow mapping axis to buttons.

I found myself in this exact situation yesterday. I desperately want to use the triggers as buttons for FFXI. Is there any work around to this at all? I understand that these drivers pretty much allow a DS3 to emulate a 360 controller, but is there a way to sort of stop the emulation and allow the DS3 to work like a DS3 in the way that that horrid malware "MotionInJoy" does?

Please forgive me if this has been addressed in previous posts, but as has been mentioned, this thread is too extensive to comb through.

Thanks again for your continued efforts and support of these great drivers!
Scarlet and friends, You know I'm no good with english language, but I think that at this point of the thread it will be nice for all, the experts and the newbies, to make a new clean thread with, if posible, a tutorial or anything similar, covering the installation, the put in work, the possibles known problems, and the diferents ways to use the PS3 Controller in mode XBOX360, original PS3 or another if it can.
However, this is my humble opiniĆ³n based on the difficulties that I see in every new post that asume the imposibility of read the full thread. I'm at your service in case you choose as your own this proposal.
Hi, Scarlet, I'm here again, in the post #998 you say to @kakdu:
@kakdu: might take a bit of tinkering, could try bypassing the Service Channel code -
ScpControl\BthDevice.cs::L2CAP_Worker_Thread()
Change ...

This is my case too, in the second controller, the MAC Address start with 00:26:5C, it can connect in the USB mode, but no in BT, when I look in the monitor and it's connected by USB it says "PAD2 : 00:26:5C:xxxxxx - USB 0000CFDE Charged", while the first says BTH 0000xxxx Full, when disconnect from USB it says Reserved, and the lights are flickering a few seconds and after stop, even when I press PS3 button in the controller, and obviously can't connect by BT.
The question is how can edit the ScpControl, that you indicates to Kakdu ??
Thanks in advance !!
(05-18-2013, 08:52 PM)Scarlet.Crush Wrote: [ -> ]@Fox: nothing looks out of place in your logs. Can you test the attached archive, I've increased the priority of the Service and increased the resolution of the BTH Rumble Timer.

1. Stop the "SCP DS3 Service".
2. Replace ScpService and ScpControl.dll with the ones from the archive.
3. Start the "SCP DS3 Service".
4. Test with your games.

Rumble became much WORSE on both Class 2 and PCI-E bluetooth! I've reverted files for now. There has to be something with "BTH Rumble Timer" that you mentioned earlier. Try decrease instead of "increase"?
Heya.

I use this and love it although I had to format..came back to download and the archive now appears to be broken? Getting file error and I tried downloading about 10 times.

Also on the newest version I see on one of the recent pages is the installation the same as in the first post?


//The other 3 downloads work but the main 1.03 one keeps stopping at 4 or so Mb saying is corrupt.
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