Controller: Add emulation of Namco GunCon
This commit is contained in:
parent
2026ef99e8
commit
e6bd6587fd
11 changed files with 320 additions and 7 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <vector>
|
||||
|
||||
class StateWrapper;
|
||||
class System;
|
||||
|
||||
class Controller
|
||||
{
|
||||
|
|
@ -48,7 +49,7 @@ public:
|
|||
virtual float GetVibrationMotorStrength(u32 motor);
|
||||
|
||||
/// Creates a new controller of the specified type.
|
||||
static std::unique_ptr<Controller> Create(ControllerType type);
|
||||
static std::unique_ptr<Controller> Create(System* system, ControllerType type);
|
||||
|
||||
/// Gets the integer code for an axis in the specified controller type.
|
||||
static std::optional<s32> GetAxisCodeByName(ControllerType type, std::string_view axis_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue