Package Details: joycond-cemuhook-git r120.3c0e073-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 (chrhasse)
Last Packager: chrhasse
Votes: 6
Popularity: 0.000004
First Submitted: 2020-05-18 09:46 (UTC)
Last Updated: 2023-08-22 22:05 (UTC)

Dependencies (15)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

dodecahedron commented on 2021-07-08 03:03 (UTC)

Adding to my previous comment, you can pass the arguments from the script with $@.

dodecahedron commented on 2021-05-13 20:40 (UTC) (edited on 2021-05-13 22:18 (UTC) by dodecahedron)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

add python-pyudev to dependencies?

heavysink commented on 2020-12-09 15:00 (UTC)

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 (UTC) (edited on 2020-10-30 07:54 (UTC) by iwxlartn)

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 (UTC)

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 (UTC) (edited on 2020-10-18 22:15 (UTC) by iwxlartn)

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"
}