mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 21:31:46 +08:00
platform: new fbdev bakend, move in_evdev to bakends
This commit is contained in:
@@ -21,6 +21,7 @@ GNU General Public License for more details.
|
||||
#define VIDEO_NULL 0
|
||||
#define VIDEO_SDL 1
|
||||
#define VIDEO_ANDROID 2
|
||||
#define VIDEO_FBDEV 3
|
||||
|
||||
// audio backends (XASH_SOUND)
|
||||
#define SOUND_NULL 0
|
||||
@@ -37,6 +38,7 @@ GNU General Public License for more details.
|
||||
#define INPUT_NULL 0
|
||||
#define INPUT_SDL 1
|
||||
#define INPUT_ANDROID 2
|
||||
#define INPUT_EVDEV 3
|
||||
|
||||
// timer (XASH_TIMER)
|
||||
#define TIMER_NULL 0 // not used
|
||||
|
||||
@@ -67,6 +67,25 @@ SETUP BACKENDS DEFINITIONS
|
||||
#endif
|
||||
#endif // android case
|
||||
|
||||
#ifdef XASH_FBDEV
|
||||
#ifndef XASH_VIDEO
|
||||
#define XASH_VIDEO VIDEO_FBDEV
|
||||
#endif
|
||||
|
||||
#ifndef XASH_TIMER
|
||||
#define XASH_TIMER TIMER_LINUX
|
||||
#endif
|
||||
|
||||
#ifndef XASH_INPUT
|
||||
#define XASH_INPUT INPUT_EVDEV
|
||||
#endif
|
||||
|
||||
#ifndef XASH_SOUND
|
||||
#define XASH_SOUND SOUND_NULL
|
||||
#endif
|
||||
#define XASH_USE_EVDEV
|
||||
#endif // android case
|
||||
|
||||
#endif // XASH_DEDICATED
|
||||
|
||||
// select crashhandler based on defines
|
||||
|
||||
Reference in New Issue
Block a user