mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
7624ded512
## Link to GitHub Issue, if one exists n/a ## Description of change Add a new option that allows absolute position analog input, such as SDVX controller knobs and IIDX turntables, to be bound as input for Polaris Chord faders. In practice this means turning a knob counter-clockwise results in fader being held left (relative to velocity), and vice versa. ## Testing Tested using FauceTwo and a mouse.
18 lines
343 B
C++
18 lines
343 B
C++
#pragma once
|
|
|
|
#include "games/game.h"
|
|
|
|
namespace games::pc {
|
|
extern std::string PC_INJECT_ARGS;
|
|
extern bool PC_NO_IO;
|
|
extern bool PC_KNOB_MODE;
|
|
|
|
class PCGame : public games::Game {
|
|
public:
|
|
PCGame() : Game("Polaris Chord") {}
|
|
|
|
virtual void attach() override;
|
|
virtual void detach() override;
|
|
};
|
|
}
|