Here are some settings optimized for EE and devices. Important to note they use SDL input so you have to auto configure your controllers with the latest pull request compiled:
EmuELEC:dev
← Langerz82:EE-detect-joy-mame-fc-dolphin
opened 06:11AM - 14 Feb 22 UTC
Auto input config. Needs further testing with various controllers.
To enable ad… d in emuelec.conf:
```
advmame_auto_gamepad=1
flycast_auto_gamepad=1
dolphin_auto_gamepad=1
```
You can swap A and B, also X and Y using this for dolphin or flycast only (advmame does not need as has an input remapper):
```
dolphin_joy_swap_ab=1
dolphin_joy_swap_xy=1
flycast_joy_swap_ab=1
flycast_joy_swap_xy=1
```
To enable sdljoytest checking during input config creation (helps order inputs when you have many different devices), do:
[emulator]_joy_sdl_check=1 (for example)
```
advmame_joy_sdl_check=1
dolphin_joy_sdl_check=1
flycast_joy_sdl_check=1
```
To enable caching, once your controllers are setup and you don't change them much you can enable this so it doesn't write to the configs if it's the same as last time.
[emulator]_joy_cache=1 (for example)
```
advmame_joy_cache=1
dolphin_joy_cache=1
flycast_joy_cache=1
```
Note - This is a big patch, and I've tested with 3 different controller types both single and two controllers at once. But it still needs testing with other controllers, and perhaps even with a controller that has a foreign language in it's name. Theoretically the mapping should be ok as it uses the controllerID but the joy creation might fail as it uses the name grabbed from "/proc/bus/input/devices".
Happy testing!!
Dolphin (/storage/.config/emuelec/configs/dolphin-emu/Dolphin.ini, and /storage/.config/emuelec/configs/dolphin-emu/GFX.ini)
Flycast (/storage/.config/flycast/emu.cfg)
Here are the settings:
Dolphin.ini
[DSP]
DSPThread = True
Backend = ALSA
[General]
ShowLag = False
ShowFrameCount = False
ISOPaths = 0
WirelessMac =
GDBSocket =
GDBPort = -1
This file has been truncated. show original
GFX.ini
[Hardware]
VSync = True
Adapter = 0
[Settings]
AspectRatio = 2
Crop = False
wideScreenHack = False
UseXFB = True
UseRealXFB = False
SafeTextureCacheColorSamples = 256
This file has been truncated. show original
emu.cfg
[audio]
backend = auto
disable = 0
[config]
Debug.SerialConsoleEnabled = no
Debug.SerialPTY = no
Dreamcast.AutoLoadState = no
Dreamcast.AutoSaveState = no
Dreamcast.Broadcast = 0
This file has been truncated. show original
1 Like