mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
InputCommon: Make "Cursor" inputs aware of the rendered aspect ratio.
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
|
||||
#include <QuartzCore/QuartzCore.h>
|
||||
|
||||
#include "Common/Matrix.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
namespace ciface::Quartz
|
||||
@ -64,10 +65,7 @@ public:
|
||||
std::string GetSource() const override;
|
||||
|
||||
private:
|
||||
struct
|
||||
{
|
||||
float x, y;
|
||||
} m_cursor;
|
||||
Common::Vec2 m_cursor;
|
||||
|
||||
uint32_t m_windowid;
|
||||
};
|
||||
|
Reference in New Issue
Block a user