HostInterface: Add software cursor mode

This will probably need to be extended in the future.
This commit is contained in:
Connor McLaughlin
2020-06-08 02:53:53 +10:00
parent f98bb033ff
commit f9eb3719e3
5 changed files with 58 additions and 3 deletions

View File

@ -9,9 +9,15 @@
#include <array>
Log_SetChannel(NamcoGunCon);
NamcoGunCon::NamcoGunCon(System* system) : m_system(system) {}
NamcoGunCon::NamcoGunCon(System* system) : m_system(system)
{
m_system->GetHostInterface()->EnableSoftwareCursor();
}
NamcoGunCon::~NamcoGunCon() = default;
NamcoGunCon::~NamcoGunCon()
{
m_system->GetHostInterface()->DisableSoftwareCursor();
}
ControllerType NamcoGunCon::GetType() const
{