Commit d06aa35c authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Get rid of directx/ffeedback

parent 58c60799
Pipeline #67617 passed with stages
in 1 minute and 12 seconds
#include "ffeedback.hpp"
//-----------------------------------------------------------------------------
// Dummy Functions For Non-Windows Builds
//-----------------------------------------------------------------------------
namespace forcefeedback
{
bool init(int a, int b, int c) { return false; } // Did not initialize
void close() {}
int set(int x, int f) { return 0; }
bool is_supported() { return false; } // Not supported
};
/***************************************************************************
Copyright Chris White.
See license.txt for more details.
***************************************************************************/
#pragma once
//-----------------------------------------------------------------------------
// Function prototypes
//-----------------------------------------------------------------------------
namespace forcefeedback
{
extern bool init(int max_force, int min_force, int force_duration);
extern void close();
extern int set(int xdirection, int force);
extern bool is_supported();
};
......@@ -27,7 +27,7 @@
#include "engine/ohud.hpp"
#include "engine/oinputs.hpp"
#include "engine/ooutputs.hpp"
#include "directx/ffeedback.hpp"
#include "libretro/ffeedback.hpp"
OOutputs::OOutputs(void)
{
......@@ -968,4 +968,4 @@ void OOutputs::coin_chute_out(CoinChute* chute, bool insert)
chute->counter[0] = 6;
set_digital(chute->output_bit);
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment