• john89@lemmy.ca
    link
    fedilink
    arrow-up
    17
    arrow-down
    3
    ·
    21 days ago

    Fantastic. It’s my understanding that SDL is responsible for why we can connect generic controllers to Linux without having to download specific drivers.

    • refalo@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      20 days ago

      In my experience… not really. I would say SDL makes the task of writing controller support code within your own applications easier and higher-level, but in reality it still has not much to do with “drivers” (I assume you mean kernel modules), which the kernel and OS stack already provide multiple unified interfaces for with things like jsdev/evdev/udev/hidapi, regardless of how you access those subsystems (via SDL or otherwise).