Files
itgmania212121/stepmania/src/arch/arch_default.h
T
2005-10-24 10:37:56 +00:00

60 lines
2.4 KiB
C

#ifndef ARCH_DEFAULT_H
#define ARCH_DEFAULT_H
#include "arch/arch_platform.h"
/* Define the default driver sets. It's okay to have in the sets drivers that
* might not be available, just as long as you don't mind if they're used when
* they are available. (For example, if we're using X11, we don't want
* InputHandler_SDL to be used.) */
/* InputHandler drivers */
#if defined (HAVE_XDK)
#define DEFAULT_INPUT_DRIVER_LIST "Xbox"
#elif defined(HAVE_DIRECTX) && !defined(HAVE_XDK)
#define DEFAULT_INPUT_DRIVER_LIST "DirectInput,Pump,Para"
#elif defined(HAVE_X11) // Prefer X11 over SDL
#define DEFAULT_INPUT_DRIVER_LIST "X11,Joystick"
#elif defined(MACOSX)
# define DEFAULT_INPUT_DRIVER_LIST "Carbon,SDL"
#elif defined(HAVE_SDL)
#define DEFAULT_INPUT_DRIVER_LIST "SDL"
#elif defined(LINUX)
#define DEFAULT_INPUT_DRIVER_LIST "Joystick"
#else
#define DEFAULT_INPUT_DRIVER_LIST "Null"
#endif
/* MovieTexture drivers */
#define DEFAULT_MOVIE_DRIVER_LIST "Theora,FFMpeg,DShow,Null"
/* RageSoundDrivers */
#define DEFAULT_SOUND_DRIVER_LIST "ALSA,DirectSound,ALSA-sw,DirectSound-sw,CoreAudio,OSS,QT1,WaveOut,Null"
#endif
/*
* (c) 2002-2005 Glenn Maynard, Ben Anderson
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, and/or sell copies of the Software, and to permit persons to
* whom the Software is furnished to do so, provided that the above
* copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/