Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
cannonball
Commits
d06aa35c
Commit
d06aa35c
authored
Nov 19, 2021
by
Libretro-Admin
Browse files
Get rid of directx/ffeedback
parent
58c60799
Pipeline
#67617
passed with stages
in 1 minute and 12 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/main/directx/ffeedback.cpp
deleted
100644 → 0
View file @
58c60799
#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
};
src/main/directx/ffeedback.hpp
deleted
100644 → 0
View file @
58c60799
/***************************************************************************
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
();
};
src/main/engine/ooutputs.cpp
View file @
d06aa35c
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment