InputCommon: Make "Cursor" inputs aware of the rendered aspect ratio.
This commit is contained in:
1 parent
42c03c4dad
commit
b92f6480a0
9 files changed
+59
-21
No files matched your search
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "Common/Matrix.h"
|
||||
#include "InputCommon/ControllerInterface/DInput/DInput8.h"
|
||||
#include "InputCommon/ControllerInterface/Device.h"
|
||||
|
||||
@@ -20,10 +21,7 @@ private:
|
||||
{
|
||||
BYTE keyboard[256];
|
||||
DIMOUSESTATE2 mouse;
|
||||
struct
|
||||
{
|
||||
ControlState x, y;
|
||||
} cursor;
|
||||
Common::TVec2<ControlState> cursor;
|
||||
};
|
||||
|
||||
class Key : public Input
|
||||
|
||||
Reference in new issue
Block a user