mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
1ad45edd6e
## Link to GitHub Issue, if one exists #345 ## Description of change Simplify camera hook in SDVX5/6. Camera hook will always be installed and return 0 cameras. Deprecate `-sdvxdisablecams` option as it is no longer needed as a result of this change. ## Testing Tested SDVX5 final, SDVX6 year 1, and a recent SDVX6 build.
35 lines
761 B
C++
35 lines
761 B
C++
|
|
#pragma once
|
|
|
|
#include <optional>
|
|
#include <cstdint>
|
|
|
|
#include "games/game.h"
|
|
|
|
namespace games::sdvx {
|
|
|
|
enum SdvxOverlayPosition {
|
|
SDVX_OVERLAY_TOP,
|
|
SDVX_OVERLAY_MIDDLE,
|
|
SDVX_OVERLAY_BOTTOM,
|
|
SDVX_OVERLAY_BOTTOM_LEFT,
|
|
SDVX_OVERLAY_BOTTOM_RIGHT
|
|
};
|
|
|
|
// settings
|
|
extern bool NATIVETOUCH;
|
|
extern uint8_t DIGITAL_KNOB_SENS;
|
|
extern std::optional<std::string> ASIO_DRIVER;
|
|
extern bool BI2X_INITIALIZED;
|
|
extern SdvxOverlayPosition OVERLAY_POS;
|
|
|
|
class SDVXGame : public games::Game {
|
|
public:
|
|
SDVXGame();
|
|
virtual void pre_attach() override;
|
|
virtual void attach() override;
|
|
virtual void post_attach() override;
|
|
virtual void detach() override;
|
|
};
|
|
}
|