Commit graph

69 commits

Author SHA1 Message Date
Conn O'Griofa
3c3220615a ps3controller: handle legacy uninstall case 2018-03-14 21:03:33 +00:00
Conn O'Griofa
7968356b08 ps3controller: update for new systemd package 2017-10-19 00:07:38 +00:00
Conn O'Griofa
335ef35447 ps3controller: add insserv to depends
This is not present on the default stretch lite installation, leading
to the service not being enabled correctly.
2017-10-06 04:06:08 +00:00
Jools Wills
042cdef9ac variable quoting 2017-09-19 15:36:32 +01:00
Conn O'Griofa
3ac9e3bebf ps3controller: clarify Bluetooth stack compatibility
* Remove obsolete information that driver breaks Bluetooth and replace
  with warning that Bluetooth pairing works in RetroPie menu, but cannot
  be guaranteed elsewhere.
* Add notice after exiting Bluetooth menu (only when sixad is running)
  informing users to re-pair controller, to hopefully reduce confusion.
2017-09-10 02:07:17 +01:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
a49d715373 remove Raspbian wheezy support 2016-12-24 20:15:43 +00:00
Jools Wills
557f2944fd ps3controller - make sure all binaries are present after building to catch errors 2016-11-09 02:04:49 +00:00
Jools Wills
376d389a29 ps3controller - use init.d script directly (more verbose) 2016-10-19 21:55:51 +01:00
Jools Wills
204e9cf9c1 update modules to use new __os_* variables 2016-10-09 05:50:40 +01:00
Jools Wills
14cc370643 cosmetic - trailing whitespace 2016-09-27 23:05:40 +01:00
Jools Wills
3f704714eb ps3controller - rework module
* fix installing of alternative drivers/branches with v4 retropie-setup
 * show which driver is installed / rework gui
2016-09-07 21:27:05 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
bfb219ae86 ps3controller - add dialog regarding bluetooth / ps3 incompatibility 2016-08-09 15:46:39 +01:00
Jools Wills
8f2350a151 make sure bluetoothd permissions are restored on ps3controller removal 2016-06-16 03:09:26 +01:00
Jools Wills
e47901cd2c ps3controller description 2016-06-16 03:08:01 +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
gizmo98
fed5d9c6c1 bluetooth: fix connection problems
Add necessary package rapberrypi-sys-mods.
2016-05-21 12:24:45 +02:00
Stefan
da96ca494a ps3controller: install pi-bluetooth package on raspbian jessie for rpi3 2016-03-03 21:00:35 +01:00
Stefan
b8190ae82a ps3controller.sh: add multiple gasia and shanwan controller support
https://github.com/RetroPie/RetroPie-Setup/issues/1128
2016-01-31 13:24:54 +01:00
Stefan
5530e1141e ps3controller.sh: disable "DiscoverableTimeout"
Under raspbian jessie ps3 controller is not pairable after some minutes. Disable "DiscoverableTimeout" and "PairableTimeout" to make dongle pairable forever.
2016-01-04 18:35:02 +01:00
Jools Wills
7ad6a34d0c no need for pushd/popd 2015-12-20 21:15:29 +00:00
Stefan
28c793569a ps3controller: remove old remarks 2015-12-01 18:43:57 +01:00
Stefan
65105850df ps3controller.sh: add install option for gasia clones 2015-11-23 19:42:23 +01:00
Stefan
ae3413c796 ps3controller: add RetroPie sixad repo
-Use RetroPie sixad repo with initial raspbian jessie support and usb connect fix.
-Enable old module behaviour again. Run sixpair after installation once for users who do not read the new info text.
2015-11-21 14:57:13 +01:00
Stefan
55ae8fa7ca ps3controller: replace hcitool dev with hciconfig
`hcitool dev` shows all hci devices which are `up`. hciconfig shows all hci devices and does not depend on any device state. bluetooth.sh does not work. If `hci0` is down `hcitool dev` shows no hci0 device and `hciconfig hci0 up` will not be executed.
2015-10-26 18:34:50 +01:00
Jools Wills
146ccaf6f0 removed some unneeded dependencies - bluez-utils was just a transitional package for previous debian releases
bluez-compat contains tools we don't use, and we can just include bluetooth which depends on bluez
2015-10-20 21:17:14 +01:00
Stefan
e35cc28e00 ps3controller: merge both helper scripts
and use variable instead of absolute path.
2015-10-19 22:14:15 +02:00
Stefan
ede1d6bcda ps3controller: Clarify current logic. 2015-10-19 07:37:42 +02:00
gizmo98
71b693f421 ps3controller: fix two controller issue
1. Workaround second controller pairing issue. Bluetooth dongle is no
longer discoverable after first controller is paired. Reenable pscan
with a udev rule (if virtual input device bt controller shows up
reenable pscan).

2. Cleanup module from old stuff which is no longer necessary because
udev rules manage everything.

3. Add some checks to ps3pair.sh. Check if sixad is running and enable
bluetooth dongle or pscan if necessary.
2015-10-18 18:45:37 +02:00
Jools Wills
59e31b525b fix up ps3controller module dependencies on jessie - #1029 2015-10-12 00:09:40 +01: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
1150ea9686 re-add "hciconfig hci0 pscan" to ps3pair.sh 2015-10-03 13:54:06 +01:00
Jools Wills
dbc03be77a p3controller set up tweaks - including different method for checking for dongle, and loops for retrying 2015-08-13 18:39:56 +01:00
Jools Wills
f2ec734eaf fix - incorrect logic for checking for ps3 controller after styleguide fixes 2015-08-13 17:01:05 +01:00
Jools Wills
f7ee1ba5f9 there is no need to have a ps3 pairing module that just called the ps3controller module - we can just call configure from retropie-setup menus and if needed install the drivers etc 2015-06-27 18:25:36 +01:00
Jools Wills
a9498bfc9d cosmetic - quoting / trailing spaces 2015-06-27 18:02:15 +01: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
gizmo98
6a2e98b292 sixad: Use newer sixpair sources
Reattach controller after pairing.
2015-05-10 16:11:16 +02:00
Chris Paiano
5f40db3458 -Removed hardcoded hciconfig binary location. PS3 controller pairing on my Pi2 RetroPie fails because my hciconfig binary is actually located in /usr/sbin/ and not /usr/bin. This is far more compatible and safer; as well as used this way everywhere else in this script (this was probably an oversight). 2015-05-01 08:55:36 -07:00
Tele42
799651fff9 Show controller number
With led_n_auto set to 0, all controllers will show controller 1 LED, even if they are not the first controller.
2015-04-22 13:50:51 -04:00
gizmo98
644fc71c06 Sixad: Styling nits
Change some things related to jools remarks.
2015-04-16 18:16:39 +02:00
gizmo98
5042cc66d0 Sixad: Enable rumble 2015-04-16 17:30:01 +02:00
gizmo98
fe1dee2322 Add default sixad settings
Disable sensitive buttons:
http://blog.petrockblock.com/forums/topic/ps3-controller-too-sensitive-to-map/#post-95059
2015-04-16 17:20:59 +02:00
gizmo98
b0d492cf25 Remove MAC address name adittion
So retroarch autoconfigs work
2015-04-15 18:21:01 +02:00
Jools Wills
a96827af1d variable quoting 2015-04-10 00:02:13 +01:00
Jools Wills
fe40f5ded4 indentation 2015-04-10 00:01:42 +01:00
gizmo98
90a9b3cc27 Start sixad daemon after installation 2015-04-04 15:50:41 +02:00
gizmo98
714fc8673a Invert some checks and remove absolute path to hciconfig 2015-04-04 15:35:45 +02:00