Package Details: joycond-cemuhook-git r46.857395b-1

Git Clone URL: https://aur.archlinux.org/joycond-cemuhook-git.git (read-only, click to copy)
Package Base: joycond-cemuhook-git
Description: Support for cemuhook's UDP protocol for joycond devices
Upstream URL: https://github.com/joaorb64/joycond-cemuhook
Keywords: joycon motion nintendo switch
Licenses: unknown
Conflicts: joycond-cemuhook
Submitter: nissen22
Maintainer: nissen22
Last Packager: nissen22
Votes: 3
Popularity: 0.024194
First Submitted: 2020-05-18 09:46
Last Updated: 2021-01-30 22:58

Dependencies (10)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

Ta180m commented on 2021-05-13 20:40

Can you add the line #!/bin/sh to the run.sh file? My system complains that The file '/usr/bin/joycond-cemuhook-git' is marked as an executable but could not be run by the operating system. without it.

EDIT: Also, would it be possible to rewrite the script to pass arguments as well?

burrhole commented on 2021-05-09 01:00

This doesn't seem to work without Upower, so that should be listed in the dependencies I think

phush0 commented on 2021-02-02 07:59

After install with yay it will complain that version is downgraded from r81.ce3ad27 to r46.857395b and wants to install it again and again, please change version

nissen22 commented on 2021-01-30 22:55

It seems hid-nintendo did not actually get merged in Linux 5.10, but I will make the dkms module optional anyway as having a dkms dependency is a bit messy.

xhyinne commented on 2021-01-22 22:55

add python-pyudev to dependencies?

heavysink commented on 2020-12-09 15:00

I think dependency of hid-nintendo-dkms will become optional since hid-nintendo will be provided in linux 5.10.

iwxlartn commented on 2020-10-30 07:35

A systemd service has already been discussed upstream at https://github.com/joaorb64/joycond-cemuhook/pull/6. It would need some upstream work to be properly usable, as the current script is interactive. I'll be looking at upstream, and seeing if I can contribute. Also, on my own system there seems to be a lot of packages including README's, so maybe that should be kept.

nissen22 commented on 2020-10-29 11:42

I think I fixed it now. Thanks for the input, sorry for the late response!

I think it would be a good idea to make a systemd service out of this, do you agree?

iwxlartn commented on 2020-10-18 22:14

I use zsh but I'm building it in a chroot with aurutils. It wouldn't build for me because makepkg just couldn't find the file in the parent directory. I think this is because with normal makepkg, it downloads sources in the same directory as the PKGBUILD, then makes a src directory in that same directory and copies the sources into there. Whereas, I think makechrootpkg bind mounts the src directory into the chroot, rather than the directory with the PKGBUILD and sources.

Also, why is pwd called in the package function? It doesn't really do anything as far as I can tell.

It would probably be best to rewrite the package function to use the $srcdir variable anyway, the wiki recommends it so you don't need to worry about the working directory. I managed to build using the below package function both in a chroot and with just normal makepkg:

package() {
    install -Dm755 "${srcdir}/run.sh" "${pkgdir}/usr/bin/${pkgname}"

    install -Dm644 "${srcdir}/${_pkgname}/joycond-cemuhook.py" "${pkgdir}/usr/lib/${pkgname}/${pkgname}.py"

    install -Dm644 "${srcdir}/${_pkgname}/Nintendo Switch Combined Joy-Cons.json" "${pkgdir}/usr/lib/${pkgname}/Nintendo Switch Combined Joy-Cons.json"
    install -Dm644 "${srcdir}/${_pkgname}/Nintendo Switch Left Joy-Con.json" "${pkgdir}/usr/lib/${pkgname}/Nintendo Switch Left Joy-Con.json"
    install -Dm644 "${srcdir}/${_pkgname}/Nintendo Switch Pro Controller.json" "${pkgdir}/usr/lib/${pkgname}/Nintendo Switch Pro Controller.json"
    install -Dm644 "${srcdir}/${_pkgname}/Nintendo Switch Right Joy-Con.json" "${pkgdir}/usr/lib/${pkgname}/Nintendo Switch Right Joy-Con.json"    

    install -Dm644 "${srcdir}/${_pkgname}/README.rst" "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
}

nissen22 commented on 2020-10-18 20:18

It installs perfectly fine for me. Can you tell me how to recreate the issue? What shell are you using?

I will add git to makedepends though!