3#include <Core/Input/DeviceTypes/MouseKeyboard.h>
5#include <windows.applicationmodel.core.h>
23 HRESULT OnKeyEvent(ABI::Windows::UI::Core::ICoreWindow* coreWindow, ABI::Windows::UI::Core::IKeyEventArgs* args);
24 HRESULT OnCharacterReceived(ABI::Windows::UI::Core::ICoreWindow* coreWindow, ABI::Windows::UI::Core::ICharacterReceivedEventArgs* args);
25 HRESULT OnPointerMovePressEnter(ABI::Windows::UI::Core::ICoreWindow* coreWindow, ABI::Windows::UI::Core::IPointerEventArgs* args);
26 HRESULT OnPointerWheelChange(ABI::Windows::UI::Core::ICoreWindow* coreWindow, ABI::Windows::UI::Core::IPointerEventArgs* args);
27 HRESULT OnPointerReleasedOrExited(ABI::Windows::UI::Core::ICoreWindow* coreWindow, ABI::Windows::UI::Core::IPointerEventArgs* args);
28 HRESULT OnPointerCaptureLost(ABI::Windows::UI::Core::ICoreWindow* coreWindow, ABI::Windows::UI::Core::IPointerEventArgs* args);
29 HRESULT OnMouseMoved(ABI::Windows::Devices::Input::IMouseDevice* mouseDevice, ABI::Windows::Devices::Input::IMouseEventArgs* args);
33 HRESULT UpdateMouseButtonStates(ABI::Windows::UI::Input::IPointerPoint* pointerPoint);
39 bool m_bShowCursor =
true;
43 Microsoft::WRL::ComPtr<ABI::Windows::UI::Core::ICoreWindow> m_coreWindow;
44 Microsoft::WRL::ComPtr<ABI::Windows::UI::Core::ICoreCursor> m_cursorBeforeHide;
45 Microsoft::WRL::ComPtr<ABI::Windows::Devices::Input::IMouseDevice> m_mouseDevice;
47 EventRegistrationToken m_eventRegistration_keyDown;
48 EventRegistrationToken m_eventRegistration_keyUp;
49 EventRegistrationToken m_eventRegistration_characterReceived;
50 EventRegistrationToken m_eventRegistration_pointerMoved;
51 EventRegistrationToken m_eventRegistration_pointerEntered;
52 EventRegistrationToken m_eventRegistration_pointerExited;
53 EventRegistrationToken m_eventRegistration_pointerCaptureLost;
54 EventRegistrationToken m_eventRegistration_pointerPressed;
55 EventRegistrationToken m_eventRegistration_pointerReleased;
56 EventRegistrationToken m_eventRegistration_pointerWheelChanged;
57 EventRegistrationToken m_eventRegistration_mouseMoved;
Enum
Definition MouseKeyboard.h:10
@ NoClip
The mouse can move unrestricted and leave the application window.
Definition MouseKeyboard.h:11