Rumble and wireless assistance

USB Joystick driver for RISC OS 5
grannyg
Posts: 25
Joined: Fri Dec 13, 2013

Re: Rumble and wireless assistance

Post by grannyg »

Success with 0.25. All the buttons/sticks/dpad responded in the !Configure plug-in.

The test rumble commands weren't 'ready to rumble'.

Code: Select all

*usbjoystick_debug 0
Joystick slot 0 (Sony - PLAYSTATION(R)3 Controller)
  Path                    : devices#interface=0;endpoint=1;nopad;noblock:USB7
  File handle             : 248
  Data stream open        : Yes
  Local USB device name   : USB7
  Interface               : 0
  Endpoint                : 1
  Device manufacturer     : Sony
  Device product name     : PLAYSTATION(R)3 Controller
  Device serial number    : 
  Driver                  : PlayStation 3 controller
  Output transport        : Control pipe (HID output report)
  Capabilities            : Rumble
  Report descriptor       : From the device
  Report id               : 1
  Report data offset      : 0
  Data validator          : No
  Start-up routine        : Yes
  Auto-inverted axis types: 0
  USB vendor id           : 0x054c
  USB product id          : 0x0268
  USB device id           : 0x0100
  Buffer handle           : 256
  Buffer internal id      : 132
  Buffer service routine  : 0xfc1fca98
  Buffer workspace        : 0x20004054
  DeviceFS handle         : 0x20857c74
  Report data length      : 48
  Upcalls                 : 78479 (delta: 78479)
  Good reads              : 78479 (delta: 78479)
  Bad reads               : 0 (delta: 0)
  Raw report data         : 01 00 00 00 00 00 7f 84 7e 7d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 ee 10 00 00 00 00 06 7f 77 01 81 01 d6 01 f7 01 b3 00 
  Number of axes          : 4
  Number of buttons       : 19
  HAT switch              : No
  DPAD                    : No
  Axes:
  Axis 00     X : Slope 8 =    1 (mul), Slope 16 =  257 (mul), Mouse factor =    1, SP =     97:   159, Invert = off, ReportId = 1
  Axis 01     Y : Slope 8 =    1 (mul), Slope 16 =  257 (mul), Mouse factor =    1, SP =     97:   159, Invert = off, ReportId = 1
  Axis 02     Z : Slope 8 =    1 (mul), Slope 16 =  257 (mul), Mouse factor =    1, SP =     97:   159, Invert = off, ReportId = 1
  Axis 03    RZ : Slope 8 =    1 (mul), Slope 16 =  257 (mul), Mouse factor =    1, SP =     97:   159, Invert = off, ReportId = 1
  Button ReportIds : 00=1 01=1 02=1 03=1 04=1 05=1 06=1 07=1 08=1 09=1 10=1 11=1 12=1 13=1 14=1 15=1 16=1 17=1 18=1 
grannyg
Posts: 25
Joined: Fri Dec 13, 2013

Re: Rumble and wireless assistance

Post by grannyg »

With 0.25 the test rumble commands did cause a 'right royal rumble' with a PS4 controller.
Post Reply