HostInterface: Better configuration of custom crosshair/software cursor
This commit is contained in:
parent
f0c1dfefe7
commit
e374853cf5
8 changed files with 110 additions and 62 deletions
|
|
@ -41,6 +41,11 @@ float Controller::GetVibrationMotorStrength(u32 motor)
|
|||
|
||||
void Controller::LoadSettings(HostInterface* host_interface, const char* section) {}
|
||||
|
||||
bool Controller::GetSoftwareCursor(const Common::RGBA8Image** image, float* image_scale)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
std::unique_ptr<Controller> Controller::Create(System* system, ControllerType type, u32 index)
|
||||
{
|
||||
switch (type)
|
||||
|
|
@ -208,6 +213,9 @@ Controller::SettingList Controller::GetSettings(ControllerType type)
|
|||
case ControllerType::AnalogController:
|
||||
return AnalogController::StaticGetSettings();
|
||||
|
||||
case ControllerType::NamcoGunCon:
|
||||
return NamcoGunCon::StaticGetSettings();
|
||||
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue