Files
2025-07-09 08:58:00 -07:00

124 lines
6.7 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
#pragma once
#ifndef WINRT_Windows_Devices_Input_2_H
#define WINRT_Windows_Devices_Input_2_H
#include "winrt/impl/Windows.Devices.Input.1.h"
WINRT_EXPORT namespace winrt::Windows::Devices::Input
{
struct MouseDelta
{
int32_t X {};
int32_t Y {};
};
inline bool operator==(MouseDelta const& left, MouseDelta const& right) noexcept
{
return left.X == right.X && left.Y == right.Y;
}
inline bool operator!=(MouseDelta const& left, MouseDelta const& right) noexcept
{
return !(left == right);
}
struct PointerDeviceUsage
{
uint32_t UsagePage {};
uint32_t Usage {};
int32_t MinLogical {};
int32_t MaxLogical {};
int32_t MinPhysical {};
int32_t MaxPhysical {};
uint32_t Unit {};
float PhysicalMultiplier {};
};
inline bool operator==(PointerDeviceUsage const& left, PointerDeviceUsage const& right) noexcept
{
return left.UsagePage == right.UsagePage && left.Usage == right.Usage && left.MinLogical == right.MinLogical && left.MaxLogical == right.MaxLogical && left.MinPhysical == right.MinPhysical && left.MaxPhysical == right.MaxPhysical && left.Unit == right.Unit && left.PhysicalMultiplier == right.PhysicalMultiplier;
}
inline bool operator!=(PointerDeviceUsage const& left, PointerDeviceUsage const& right) noexcept
{
return !(left == right);
}
struct WINRT_IMPL_EMPTY_BASES KeyboardCapabilities : winrt::Windows::Devices::Input::IKeyboardCapabilities
{
KeyboardCapabilities(std::nullptr_t) noexcept {}
KeyboardCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IKeyboardCapabilities(ptr, take_ownership_from_abi) {}
KeyboardCapabilities();
};
struct WINRT_IMPL_EMPTY_BASES MouseCapabilities : winrt::Windows::Devices::Input::IMouseCapabilities
{
MouseCapabilities(std::nullptr_t) noexcept {}
MouseCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IMouseCapabilities(ptr, take_ownership_from_abi) {}
MouseCapabilities();
};
struct WINRT_IMPL_EMPTY_BASES MouseDevice : winrt::Windows::Devices::Input::IMouseDevice
{
MouseDevice(std::nullptr_t) noexcept {}
MouseDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IMouseDevice(ptr, take_ownership_from_abi) {}
static auto GetForCurrentView();
};
struct WINRT_IMPL_EMPTY_BASES MouseEventArgs : winrt::Windows::Devices::Input::IMouseEventArgs
{
MouseEventArgs(std::nullptr_t) noexcept {}
MouseEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IMouseEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES PenButtonListener : winrt::Windows::Devices::Input::IPenButtonListener
{
PenButtonListener(std::nullptr_t) noexcept {}
PenButtonListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenButtonListener(ptr, take_ownership_from_abi) {}
static auto GetDefault();
};
struct WINRT_IMPL_EMPTY_BASES PenDevice : winrt::Windows::Devices::Input::IPenDevice,
impl::require<PenDevice, winrt::Windows::Devices::Input::IPenDevice2>
{
PenDevice(std::nullptr_t) noexcept {}
PenDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenDevice(ptr, take_ownership_from_abi) {}
static auto GetFromPointerId(uint32_t pointerId);
};
struct WINRT_IMPL_EMPTY_BASES PenDockListener : winrt::Windows::Devices::Input::IPenDockListener
{
PenDockListener(std::nullptr_t) noexcept {}
PenDockListener(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenDockListener(ptr, take_ownership_from_abi) {}
static auto GetDefault();
};
struct WINRT_IMPL_EMPTY_BASES PenDockedEventArgs : winrt::Windows::Devices::Input::IPenDockedEventArgs
{
PenDockedEventArgs(std::nullptr_t) noexcept {}
PenDockedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenDockedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES PenTailButtonClickedEventArgs : winrt::Windows::Devices::Input::IPenTailButtonClickedEventArgs
{
PenTailButtonClickedEventArgs(std::nullptr_t) noexcept {}
PenTailButtonClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenTailButtonClickedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES PenTailButtonDoubleClickedEventArgs : winrt::Windows::Devices::Input::IPenTailButtonDoubleClickedEventArgs
{
PenTailButtonDoubleClickedEventArgs(std::nullptr_t) noexcept {}
PenTailButtonDoubleClickedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenTailButtonDoubleClickedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES PenTailButtonLongPressedEventArgs : winrt::Windows::Devices::Input::IPenTailButtonLongPressedEventArgs
{
PenTailButtonLongPressedEventArgs(std::nullptr_t) noexcept {}
PenTailButtonLongPressedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenTailButtonLongPressedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES PenUndockedEventArgs : winrt::Windows::Devices::Input::IPenUndockedEventArgs
{
PenUndockedEventArgs(std::nullptr_t) noexcept {}
PenUndockedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPenUndockedEventArgs(ptr, take_ownership_from_abi) {}
};
struct WINRT_IMPL_EMPTY_BASES PointerDevice : winrt::Windows::Devices::Input::IPointerDevice,
impl::require<PointerDevice, winrt::Windows::Devices::Input::IPointerDevice2>
{
PointerDevice(std::nullptr_t) noexcept {}
PointerDevice(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::IPointerDevice(ptr, take_ownership_from_abi) {}
static auto GetPointerDevice(uint32_t pointerId);
static auto GetPointerDevices();
};
struct WINRT_IMPL_EMPTY_BASES TouchCapabilities : winrt::Windows::Devices::Input::ITouchCapabilities
{
TouchCapabilities(std::nullptr_t) noexcept {}
TouchCapabilities(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Input::ITouchCapabilities(ptr, take_ownership_from_abi) {}
TouchCapabilities();
};
}
#endif