flycast/core/linux-dist
Jan Holthuis c24a5faf5b Linux: Use $XDG_CONFIG_HOME if possible
This coommit makes reicast use $XDG_CONFIG_HOME from XDG Base Directory
Specification[1] if possible.

For backwards-compatability with older installations, it checks if the
old-style config directory at $HOME/.reicast exists. If so, it'll use
that instead.

All new installation should use $XDG_CONFIG_HOME/reicast (or if
that environment variable is not set: $HOME/.config/reicast).

[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2015-08-29 01:05:39 +02:00
..
evdev.cpp linux-dist/evdev: Move *_inverted in mappings to compat section 2015-08-26 01:11:16 +02:00
evdev.h linux-dist/evdev: Remove unecessary newlines 2015-08-25 21:45:38 +02:00
joystick.cpp linux-dist: Fix indentation 2015-08-19 12:02:47 +02:00
joystick.h linux-dist/joystick: Disable legacy joystick API by default 2015-08-26 01:34:49 +02:00
main.cpp Linux: Use $XDG_CONFIG_HOME if possible 2015-08-29 01:05:39 +02:00
main.h linux-dist: Fix indentation 2015-08-19 12:02:47 +02:00
x11.cpp linux/x11: Map X11 ESC key to exit emulator 2015-08-28 04:06:36 +02:00
x11.h linux-dist: Fix indentation 2015-08-19 12:02:47 +02:00