Commit graph

1904 commits

Author SHA1 Message Date
Jools Wills
c3a3d8ad2e wifi configuration script - thanks to herbfargus for the initial work. 2015-08-02 23:09:38 +01:00
Jools Wills
226c4a3161 add runcommand option to exit without launching emulator. previously the Cancel button did the same as "launch", so that is removed and
replaced with a more descriptive item in the main menu
2015-08-01 17:40:54 +01:00
HerbFargus
890d7c92a8 Add Miroof's Virtual Gamepad
script that installs a virtual gamepad with node.js that enables people
to use their smartphone as a gamepad.

Update virtualgamepad.sh

Simplify script. installs virtual gamepad into /opt/retropie/supplementary/virtualgamepad

cosmetic changes
2015-07-26 12:18:31 -06:00
Jools Wills
5c9a35907e add option to retropie menu to launch RGUI directly without any core loaded 2015-07-16 23:53:56 +01:00
Jools Wills
5bfd3d35da change retroarch appendconfig character to '|' - #899 2015-07-11 18:01:28 +01:00
Jools Wills
bd250ade64 make hotkey module part of the retroarchinput functionality 2015-07-03 16:57:29 +01:00
Jools Wills
4a4feb46d9 if using a keyboard as input, set the input_enable_hotkey as with joypads, so retroarch hotkeys don't collide with the configured input.
this also enables easy access to the retroarch gui via select+x from arcade stick controllers etc (such as the picade), without the need
of an additional keyboard
2015-07-03 16:43:43 +01:00
Jools Wills
f83552ecc4 typo in retroarch keyboard config 2015-07-02 04:12:16 +01:00
Jools Wills
7f00499977 not everyone may want wicd-curses, so only install it if the menu option is chosen 2015-07-02 01:01:53 +01:00
Jools Wills
81607e6b9c allow joystick input device to be passed to joy2key.py as the first parameter
get the first joystick in /dev/input/js* in case there is a js3 but not js0 and use that as the device
2015-07-02 00:43:50 +01:00
Jools Wills
21f088a252 when generating input config for emulationstation, only backup es_input.cfg if it already exists rather than after a blank xml is generated 2015-06-29 15:44:15 +01:00
Florian
60bb4ef630 CHG: Fixed input configuration script for EmulationStation 2015-06-28 19:40:38 +02:00
Jools Wills
0ae44bb8b4 variable name/scope 2015-06-28 06:33:35 +01:00
Jools Wills
36ff32dc05 improve input configuration script documentation 2015-06-28 05:02:39 +01:00
Jools Wills
f8970e4f20 minor documentation fix 2015-06-28 05:00:21 +01:00
Jools Wills
be60687d83 rewrite the inputconfiguration modules to use less functions. Rather than a function per button we now just have
function onstart_<filename without extension>_<inputtype>()

function onend_<filename without extension>_<inputtype>()

and

map_<filename without extension>()_<inputtype>()

which is run for every input. This has removed a lot of duplication and has simplified the existing modules.
2015-06-28 04:05:42 +01:00
Jools Wills
480458b417 use bash string replace rather than sed for retroarch joypad configuration filename. Remove spaces to match naming scheme of retroarch-joyconfig
to avoid duplicate configurations
2015-06-28 01:22:01 +01:00
Jools Wills
593c6104ba significantly speed up processing of the input configuration by using xmlstarlet to parse the input xml in one go and load it into an associative array.
Previously the code run xmlstartlet 5 times for every button, for every inputconfig module.

We also skip checking whether the xml contains a button, as rather than hardcoding them, we get
them directly from the xml.

This brings processing time on a rpi1 from 27 seconds to under 5.
2015-06-28 01:09: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
a7d3975471 retroarch-joyconfig is installed correctly by the retroarch makefile now - update path to bin folder for retroarchinput module 2015-06-24 18:37:08 +01:00
Jools Wills
cb87960ea8 I think it is more logical that right shoulder does page down and left does page up in es - in the way that left is back and right is often forwards in guis etc (at least for those using LTR languages) 2015-06-23 05:01:26 +01:00
Jools Wills
227b65e5ef use enter and tab for joy2key buttons in runcommand menu (so we can escape if accidently in the retroarch params config editor - space is not needed) 2015-06-23 02:20:47 +01:00
Jools Wills
c5709876b7 joy2key.py - move variable initialisation 2015-06-23 02:15:43 +01:00
Jools Wills
09dcc9fa73 replace old c joy2key code with simpler code recreated in python specifically for the purpose of navigating our menus. testing on Xbox
controller with analog / digital controls and gamepad. #778
2015-06-23 02:10:50 +01:00
Jools Wills
046876d24a inputconfiguration - add _btn to control names for hat inputs in retroarch keypad configs - #878 2015-06-21 14:09:40 +01:00
Jools Wills
8c6a3bc956 fix up remapping path to new location for retroarch auto configs 2015-06-20 01:28:49 +01:00
Jools Wills
be8457702e binaries of joy2key are now available 2015-06-20 00:23:28 +01:00
Jools Wills
308eb8ec9a only launch joy2key if /dev/input/js0 exists 2015-06-20 00:13:43 +01:00
Jools Wills
3c4fefd2be basic joypad control for runcommand gui (if joy2key installed). Now accept any keypress to access menu. 2015-06-19 23:43:44 +01:00
Jools Wills
216513a32d added initial support for controlling retropie-setup with a joystick using modified joy2key #778 2015-06-19 22:32:43 +01:00
Florian
68ed50d536 Merge pull request #872 from joolswills/input_changes
shouldn't be any reason to run inputconfiguration as root - all confi…
2015-06-17 11:06:26 +02:00
Florian
e53675c1e6 Merge pull request #873 from joolswills/reorg
Reorg
2015-06-17 10:55:47 +02:00
Jools Wills
739f2d81b1 de-duplication of destination path for retroarchinput, and print the path in resulting dialog 2015-06-16 18:52:11 +01:00
Jools Wills
ca0265fe4d use /tmp/ for tempory controller config 2015-06-16 18:44:28 +01:00
Jools Wills
fa44fbeb85 removed unused scripts and the esconfig module - we dont use it for control configuration, and we have a new retropie menu now. 2015-06-16 18:12:09 +01:00
Jools Wills
5632fd6313 moved asplashscreen init.d script to scriptmodules/supplementary/splashscreen/asplashscreen 2015-06-16 18:10:53 +01:00
Jools Wills
117be6ff96 shouldn't be any reason to run inputconfiguration as root - all configurations should be in $user readable places now (and if not, we need to fix that). But certainly emulationstation and retroarch are. 2015-06-16 17:36:05 +01:00
Jools Wills
fc2175b883 need to pass the parameters from onstart_inputconfig_emulationstation_keyboard to onstart_inputconfig_emulationstation_joystick 2015-06-16 17:34:22 +01:00
Jools Wills
a6933a6445 use githubs preferred access protocol - https:// - before we had mixed git:// and http:// around the code 2015-06-16 16:50:37 +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
Jools Wills
33ef0520f2 moved repositories from joolswills to RetroPie organisation. 2015-06-16 16:29:44 +01:00
Jools Wills
2490add313 moved runcommand + fix string quoting 2015-06-15 17:25:53 +01:00
Jools Wills
b6cfa8a1f0 moved usbromservice data to scriptmodules 2015-06-15 17:20:39 +01:00
Jools Wills
da732fee67 move moduledata to under scriptmodules - keeps everything together 2015-06-15 17:18:13 +01:00
Jools Wills
da8da8bc4e Merge pull request #869 from joolswills/autoconfigs
change location of retroarch joypad configurations to /opt/retropie/c…
2015-06-15 17:06:35 +01:00
Jools Wills
a6bb217e2e change location of retroarch joypad configurations to /opt/retropie/configs/all/retroarch-joypads/
don't install the retroarch-joypad-autoconfig files by default - they can be confusing and collide with our generated configs
minor tweaks to temp file used in retrorch inputconfiguration
2015-06-15 17:03:33 +01:00
Florian
cb196804d6 CHG: Transferred EmulationStation fork to RetroPie Github organization 2015-06-15 17:13:42 +02:00
Florian
699db49b8e CHG: Added RetroPie Logo variations, set new default splashscreen 2015-06-14 09:33:07 +02:00
Florian
036404652c CHG: Added new RetroPie splashscreen 2015-06-09 22:28:21 +02:00