Yesterday, I made this post about getting my old Xbox 360 controller working wirelessly on Manjaro. The comments suggested using xpadneo- more specifically xpadneo-dkms. xpadneo-dkms only works Xbox One and Series X controllers. Doing a little more research, I came across xboxdrv. I installed the AUR package but gave me an error message saying that I was missing two dependencies: scons and glib2-devel. scons installed with but glib2-devel has been a bit tricky. If I used yay -S glib2-devel it returns this error: -> No AUR package found for glib2-devel there is nothing to do. If I use sudo pacman -S glib2-devel it returns this error: error: target not found: glib2-devel. I could go on but we would be here all day. Any help? Thanks in advance.

  • °˖✧ ipha ✧˖°@lemm.ee
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    5 months ago

    The AUR is for Arch and trying to use it on a different distro will have mixed results at best.

    You can either wait for Manjaro to catch up and add the glib2-devel package which was created over a month ago, or edit the plgbuild and change it to glib2

      • Mereo@lemmy.ca
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        4 months ago

        You can always use Endeavour OS. It’s Arch with a nice installer and some utilities already installed to make it easier to use and maintain. It uses Arch repositories, so for all intents and purposes, it is Arch. Manjaro is not.

  • muhyb@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago

    Normally you don’t even need AUR for that since it’s a core package for Arch. Unless Manjaro did something weird, you should be able to install it via pacman.

    However I checked Manjaro packages and glib2-devel is the same version with Arch. Maybe try a whole system update before adding new packages?

  • sleepyTonia@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 months ago

    I’m confused. Have you tried what is suggested in the arch wiki? Controllers are easier to get working on Linux than in Windows in my experience… And I’m on Manjaro. The Xbox 360 controller was considered the default for such a long time that in many cases, other controllers’ buttons had to be remapped externally to match the xbox 360’s in order to play games. It should be completely plug and play if your adapter and controller both work.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    glib2-devel is a core package and pacman should be able to install it directly. Have you updated your package mirrors and upgraded the system since you installed the machine?