Commit graph

41 commits

Author SHA1 Message Date
cmitu
ee346fbf3c xboxdrv: remove obsolete USB options
According to the Raspi docs, `dwc_otg.speed=1` sets the USB port to USB 1.0 speed and should be enabled only for debugging purposes.
I don't think it's needed anymore.
2023-10-15 17:08:09 +01:00
cmitu
32565df7de xboxdrv: upgrade the build process to python3
Python3 is the default in current Debian & friends distros, but the current fork from zerojay/xboxdrv.git doesn't support it.

Upstream has moved back to Github [1] and added the necessary fixes for building with `python3`, so merge the upstream code with the various fixes added in zerojay/xboxdrv under retropie/xboxdrv.git. This fixes building under RaspiOS _bullseye_.

Since the new Sconsfile doesn't build with `python2` anymore, make the `python3` usage explicit for the `deps` and `build` phases.
2023-01-03 18:18:08 +00:00
Jools Wills
0fecb55bf6 supplementary - add rp_module_repo info for some of the supplementary packages that should with it 2021-02-15 23:54:13 +00:00
Jools Wills
042cdef9ac variable quoting 2017-09-19 15:36:32 +01:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
8528c5ac66 xboxdrv - don't force removal of packaged xboxdrv 2016-07-21 00:20:19 +01:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
zerojay
f8b5772b2a [xboxdrv] Switch to xboxdrv repo with pending pull requests/fixes
Updating to point to a new xboxdrv repo that integrates the following pull requests from the original xboxdrv repo:

137 - Fix zero-length rumble packets causing infinite rumble on some controllers.
169 - Add support for MadCatz Xbox 360 Marvel vs Capcom Tournament Edition Fightstick.
173 - Fix minor typo.
174 - Fix USB read error causing controller to be unusable until xboxdrv is restarted manually. (Happens somewhat frequently to me, personally.)
175 - Add support for Xbox One controllers (rumble and LED lights not functional yet).
2016-01-10 01:15:46 -04:00
Jools Wills
4959b1f722 allow updating of xboxdrv config when one exists 2016-01-09 19:56:04 +00:00
Jools Wills
e96405753a fix up xboxdrv on platforms without binaries 2016-01-09 19:47:25 +00:00
Jools Wills
bfd5885b83 show default controllers/deadzone in xboxdrv gui 2016-01-09 19:44:57 +00:00
Jools Wills
a5e8da1cb4 no need for while loop 2016-01-09 18:54:16 +00:00
Jools Wills
14a9d1dc01 use for loop for config generation for xboxdrv, and de-duplicate params 2016-01-09 15:12:48 +00:00
Jools Wills
408eb2508d rework xboxdrv controllers/deadzone changes - remembers defaults during session, and cleanups 2016-01-09 15:04:04 +00:00
Jools Wills
9c02a5cfbf fix indentation 2016-01-09 14:31:34 +00:00
zerojay
382f108270 [xboxdrv] Allow user to select number of controllers to enable and analog stick deadzones. 2016-01-09 13:59:59 +00:00
zerojay
fff7e5e4bf Minor typo fix.
xbodrv -> xboxdrv typo fix.
2016-01-05 10:37:27 -04:00
Jools Wills
b3c2ded458 remove call to enable_xboxdrv from configure_xboxdrv - we don't want to enable it here 2015-12-23 00:20:21 +00:00
Jools Wills
edcc921e00 add configure function to xboxdrv and move code to update existing configs to it. This will then get run if retropie-setup is updated, and binaries installed. 2015-12-23 00:18:50 +00:00
Jools Wills
0e8ec7a0e1 change parameter ordering for xboxdrv 2015-12-22 18:39:57 +00:00
Jools Wills
b853745ee7 use gui_xboxdrv instead of configure_xboxdrv, so it is installed but the gui is not shown. other settings will be migrated to "gui" rather than "configure" later to separate graphical configuration from automatic configuration etc 2015-12-21 01:37:47 +00:00
Jools Wills
be4ef0afc3 switch to updated own compiled xboxdrv to support additional joysticks/clones 2015-12-20 20:36:00 +00:00
Jools Wills
d7f843d473 copyright sp / minor wording tweak 2015-10-12 00:09:22 +01:00
Florian
db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
Jools Wills
ce8ede4def updated licence url (to RetroPie org). Remove . at end of licence url to avoid any confusion 2015-06-16 16:41:34 +01:00
Florian
4df425c338 CHG: Updated header information 2015-03-28 06:19:16 +01:00
Florian
aab7fbd52d CHG: Added license information to all files 2015-03-27 17:28:38 +01:00
Jools Wills
abd3b92696 fix reverse logic for adding xboxdrv to /etc/rc.local which happened after our styleguide changes - #697 2015-03-03 11:01:16 +00:00
Jools Wills
d87c7b9a36 use printMsgs for msgbox dialogs and add some /dev/tty redirects to gamecondriver dialogs 2015-02-26 03:52:09 +00:00
Jools Wills
6e2c6a09fc fix some more warnings from shellcheck 2015-01-11 21:30:38 +00:00
Jools Wills
8b902ad292 styleguide changes:
* `command` -> $(command)
2015-01-11 17:44:37 +00:00
Jools Wills
231051ccad styleguide changes:
* add newline to end of main scripts
2015-01-11 17:32:20 +00:00
Jools Wills
f937baa863 rename checkNeededPackages to getDepends 2015-01-08 22:03:12 +00:00
Jools Wills
a132751df8 use nobin instead of nobindist 2015-01-07 00:47:55 +00:00
Jools Wills
9a12b1ef88 initial support for creating/installing via split binary packages #553 2015-01-07 00:18:16 +00:00
Jools Wills
32419850b9 reworked ini/config setting to reduce copy/paste and make the calling simpler. Since the most common usage is to change a few configuration
values at once, we now have a iniConfig function that sets up the delimiter type (such as "=" or " = "), the value quote
character (often "" nothing or "\"" a single quote) and the filename. you can then just call "iniSet" or "iniUnset" with two parameters
for key and value. A third parameter can be used in case you wish to use the current ini settings but on a different file. We should now easily
be able to handle any key/value configs whilst keeping the code simple/compact
2015-01-03 13:38:57 +00:00
Jools Wills
227a06070c renamed rps_checkNeededPackages to checkNeededPackages as it is used by modules and setup 2014-12-12 17:59:23 +00:00
Jools Wills
d07f45028b de-duplicate setting of dialog backtitle everywhere - use a global variable and set it in retropie_setup.sh once 2014-08-02 18:52:05 +01:00
Jools Wills
e53ca18bb8 fixed xboxdrv function naming 2014-07-20 21:49:15 +01:00
Jools Wills
de6cec861f split supplementary.sh into auto-loading modules 2014-07-20 20:35:26 +01:00