mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 08:35:47 +00:00
core/hid: Improve accuary of mouse implementation
This commit is contained in:
parent
dfb63175d1
commit
25521cd948
14 changed files with 79 additions and 48 deletions
|
@ -38,7 +38,7 @@ using MouseButtonValues =
|
|||
std::array<Common::Input::ButtonStatus, Settings::NativeMouseButton::NumMouseButtons>;
|
||||
using MouseAnalogValues =
|
||||
std::array<Common::Input::AnalogStatus, Settings::NativeMouseWheel::NumMouseWheels>;
|
||||
using MouseStickValue = Common::Input::StickStatus;
|
||||
using MouseStickValue = Common::Input::TouchStatus;
|
||||
|
||||
struct MousePosition {
|
||||
f32 x;
|
||||
|
@ -130,7 +130,7 @@ public:
|
|||
MousePosition GetMousePosition() const;
|
||||
|
||||
/// Returns the latest mouse wheel change
|
||||
AnalogStickState GetMouseDeltaWheel() const;
|
||||
AnalogStickState GetMouseWheel() const;
|
||||
|
||||
/**
|
||||
* Adds a callback to the list of events
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue