Please add a dependency for package patch. Atleast on manjaro its not installed by default.
Thanks!
Git Clone URL: | https://aur.archlinux.org/xboxdrv.git (read-only, click to copy) |
---|---|
Package Base: | xboxdrv |
Description: | Userspace Xbox gamepad driver and input remapper |
Upstream URL: | https://github.com/xiota/xboxdrv |
Licenses: | GPL-3.0-or-later |
Submitter: | None |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 258 |
Popularity: | 0.33 |
First Submitted: | 2009-11-17 12:07 (UTC) |
Last Updated: | 2024-04-05 06:58 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 14 Next › Last »
Please add a dependency for package patch. Atleast on manjaro its not installed by default.
Thanks!
The SHA512 hash for xboxdrv-0.8.8.tar.gz is wrong, and the PKGBUILD is expecting a 'v' in the version number of the source directory.
EDIT: Figured it out, my makepkg.conf had a typo.
Manually installed all dependencies and got this result through yay
(cleanBuild) and manually with makepkg -s PKGBUILD
==> Starting build()...
usage: scons [OPTION] [TARGET] ...
SCons Error: option -j: invalid integer value: '&(nproc)'
==> ERROR: A failure occurred in build().
Aborting...
-> error making: xboxdrv
In the service file, PIDFile=/var/run/xboxdrv.pid should be changed to something like PIDFile=/run/xboxdrv. With it under /var, systemd logs the following warning:
/usr/lib/systemd/system/xboxdrv.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/xboxdrv.pid → /run/xboxdrv.pid; please update the unit file accordingly.
Please change the URL to https://gitlab.com/xboxdrv/xboxdrv
Took some time to search where the project was moved. And that http://pingus.seul.org/~grumbel/xboxdrv link is not working.
After doing some research and installing "pip" the workaround now works to get this compiled. This package should be considered "broken" until the workaround steps are integrated into the package itself. Packages which require manual intervention should be classed as "broken".
@lygamac Solution works , Follow the 6 steps menition in his comment Below
@lygamac thx! Your instructions worked for me.
Clean build fails when compiling XBoxdrv with scons errors:
scons: *** [src/xboxdrv_vfs.hpp] AttributeError : 'SConsEnvironment' object has no attribute 'has_key'
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/SCons/Action.py", line 1279, in execute
result = self.execfunction(target=target, source=rsources, env=env)
File "/var/tmp/pamac-build-spongebob/xboxdrv/src/xboxdrv-0.8.8/SConstruct", line 39, in build_bin2h
if env.has_key("BIN2H_NAMESPACE"):
File "/usr/lib/python3.9/site-packages/SCons/Environment.py", line 2384, in __getattr__
attr = getattr(self.__dict__['__subject'], name)
AttributeError: 'SConsEnvironment' object has no attribute 'has_key'
In file included from /usr/include/boost/bind.hpp:30,
from src/controller.cpp:21:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
src/chatpad.cpp: In constructor ‘Chatpad::Chatpad(libusb_device_handle*, uint16_t, bool, bool)’:
src/chatpad.cpp:62:9: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
62 | memset(m_keymap, 0, 256);
| ~~~~~~^~~~~~~~~~~~~~~~~~
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
i installed everything correctly, got xboxdrv working but my system is still not detecting any input, any clues? It does vibrate (through steam gamepad controll only)
Pinned Comments
xiota commented on 2024-04-02 11:20 (UTC) (edited on 2024-04-05 06:59 (UTC) by xiota)
Although other Xbox gamepad drivers are now available, this package is still useful as an input remapper for programs that support only Xbox controllers.
This package now uses a new repo based on the original stable branch. I plan to merge some fixes/updates from other repos.