Skip to content

Interesting discovery #1

@sunryze-git

Description

@sunryze-git

I'm not sure if youre actively working on this but ive been doing my own research to get a fully featured implementation for the switch 2 controllers in linux.

With my current configuration i get different packets than your parser expects. My BTLE packets on the Pro Controller are 112 bytes. The offsets differ and the IMU data is basically unrecognizable as it contains an extra 16 bytes (bringing it up to 40 bytes worth of IMU-related data, up from 24 on USB)

Pro Controller BTLE packet: 88 20 00 00 00 09 48 89 28 18 7E 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 92 00 03 0F 83 C4 D5 8F CD 33 F1 F8 06 09 40 47 7A 01 DE 37 E8 BB 14 41 D9 5F 40 3E A2 CE 9C 25 1D A2 60 E3 0F 78 B0 0B 00 00 00 00 00 00

I also see the same thing on my Joy Cons:

E8 18 00 00 07 4F 88 7E 38 00 00 00 00 FF 00 28 EF 74 02 0F 63 DB FC 79 59 48 58 55 B6 D3 DB 04 08 8F 1A 41 33 FC 36 40 12 17 F9 C3 E6 03 A0 F2 5D 87 E1 08 47 EB A5 1D 00 00 00 00 00 00 00

Same sized IMU data and seem to be structured identically. Both also start with 28 being some magic number.

I'm not exactly sure where to proceed here with this and im wondering if you have any input. I also get these on different interfaces than you recorded, 0x002E for the Pro Controller and 0x000E for the Joy Con (right).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions