• just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 个月前

    You’re having a problem with Sunshine. The udev rules work fine, because the controller is officially supported in the kernel. If it’s detected, it’s working fine.

    If it’s NOT working with Sunshine involved, that’s a Sunshine problem.

    Test with the calibration tools of your DE, and also under Steam. If everything works everywhere else, it’s not udev which is only responsible for detecting and capturing the device input.

    If you think it’s a group problem, then…just…add your user to the group maybe?

    • muusemuuse@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 个月前

      there is no DE. it’s just headless sway. it works outside steam and steam games but steam stuff wont map correctly. manually setting the group for /dev/hidraw0 to :input fixes the issue temporarily, but its not connected directly to the host. So I need this rule to fire and put this device into the input group when it appears as it is appears within the sessions, not as a directly connected device.

        • muusemuuse@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          8 个月前

          No, steam accesses the controller differently then say retroarch does. To demonstrate this, if I connect to a session and chown hidraw0 (the device that steam grabs onto) to group input, which the user is in, it’s fine. It works perfectly. Left alone, not all options are exposed in steam and many buttons are improperly assigned.

          • just_another_person@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            8 个月前

            Kid…look. You keep coming back here and asking this same question, and when people give you very specific answers you keep saying “Nuh-uh, cuzz…”.

            You’re missing the point entirely, and you don’t want to listen. If everyone here is so stupid, then why are you here?

                • muusemuuse@sh.itjust.worksOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  8 个月前

                  no, steam is the symptom because it only happens in steam and steam games. changing the permissions on /dev/hidraw0 fixes that, but that device is destroyed after each session and recreated on new sessions, so manually assigning a group isnt viable.

  • Björn@swg-empire.de
    link
    fedilink
    arrow-up
    1
    ·
    8 个月前

    What if you remove the ATTRS{name}=="Sunshine PS5 (virtual) pad" conditions? The rules seem to be about virtual controllers that would be created by Sunshine. Not about the physical controller itself.