RFC sixaxis: Improved support for DualShock 3 clones
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest3 patches 0 repliesNew
- v1 RFC2 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | core/device: Add support for setting SDP recordsrc/ src/ | +34 | 0 replies | |
| 2/3 | sixaxis: Provide DualShock 3 SDP record while adding new deviceMakefile.plugins plugins/ | +167 | 0 replies | |
| 3/3 | profiles/input: Remove sixaxis specific codeprofiles/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC v2 0/3] sixaxis: Improved support for DualShock 3 clones
Hi,
Some DualShock3 clones (eg ShanWan) were reported to not provide valid SDP record required by HID profile. Due to this those failed to work with current BlueZ sixaxis code (ie no input device were created).
This small serie is an attempt to extend DS3 support also with those misbehaving clones. Idea is that we can provide fixed SDP recrod for devices that use valid PID/VID and skip SDP search.
In this version SDP is kept in sixaxis plugin and provided via btd_device_set_record instead of SDP search. Nice addition is that sixaxis specific code is no longer needed in input server.
This makes code similar to how original Fedora sixaxis plugin worked as suggested in previous review round.
I tested this with genuine DS3 and it seems to work OK. Testing with clones is stil required though.
@Alex
Testing with Navigation Controller is also needed ie if SDP record is same as with DS3 or if we need dedicated one.
BR
Szymon Janc
Szymon Janc (3):
core/device: Add support for setting SDP record
sixaxis: Provide DualShock 3 SDP record while adding new device profiles/input: Remove sixaxis specific code
Makefile.plugins | 1 + plugins/sixaxis.c | 166 ++++++++++++++++++++++++++++++++++++++++++++++++ profiles/input/server.c | 89 +------------------------- src/device.c | 31 +++++++++ src/device.h | 3 + 5 files changed, 203 insertions(+), 87 deletions(-)
Signature · 1 line
2.1.4