Files
WinDurango/dlls/winrt_x/Implementation/Windows.Xbox.Input.InputManager.cpp
Serenity 9d6d26d584 Refactor Xbox Services SDK and enhance logging
Renamed functions in `dllmain.cpp` and `hooks.h` for clarity, including `XWinePatchImport` to `XPatchImport` and `XWineGetImport` to `XGetImport`. Added `<atlbase.h>` include in `hooks.h`. Updated comments to reflect contributions from the "XWine1 Team".

Standardized logging for unimplemented methods across various Xbox Services and Kinect classes, ensuring consistent use of `LOG_NOT_IMPLEMENTED()`.

Implemented new methods in `MultiplayerService`, `PresenceService`, `CatalogService`, `InventoryService`, and `PrivacyService` to enhance functionality related to multiplayer sessions, user presence, catalog management, and privacy settings.

Overall, these changes improve code organization, readability, and maintainability while laying the groundwork for future enhancements.
2025-06-03 05:04:16 -04:00

104 lines
4.2 KiB
C++

#include "pch.h"
#include "Windows.Xbox.Input.InputManager.h"
#include "Windows.Xbox.Input.InputManager.g.cpp"
namespace winrt::Windows::Xbox::Input::implementation
{
void InputManager::SetKinectOnePersonSystemEngagement()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::SetKinectTwoPersonSystemEngagement()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::SetKinectOnePersonManualEngagement(winrt::Windows::Xbox::Input::BodyHandPair const& bodyHandPair)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::SetKinectTwoPersonManualEngagement(winrt::Windows::Xbox::Input::BodyHandPair const& bodyHandPair1, winrt::Windows::Xbox::Input::BodyHandPair const& bodyHandPair2)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Input::BodyHandPair> InputManager::KinectManualEngagedHands()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::Input::KinectEngagementMode InputManager::KinectEngagementMode()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
uint32_t InputManager::MaximumKinectEngagedPersonCount()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::Input::SystemCursorVisibility InputManager::SystemCursorVisibility()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::SystemCursorVisibility(winrt::Windows::Xbox::Input::SystemCursorVisibility const& visibility)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::DeferSystemGestures()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::OverrideKinectInteractionMode(winrt::Windows::Xbox::Input::KinectInteractionMode const& mode)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool InputManager::DoesGamepadDeferKinectInteractions()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::DoesGamepadDeferKinectInteractions(bool doesGamepadDeferKinectInteractions)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
bool InputManager::IsKinectPersonEngaged()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::event_token InputManager::IsKinectPersonEngagedChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::Input::IsKinectPersonEngagedChangedEventArgs> const& handler)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::IsKinectPersonEngagedChanged(winrt::event_token const& token) noexcept
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::Input::InputMode InputManager::SmartglassInputMode()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::SmartglassInputMode(winrt::Windows::Xbox::Input::InputMode const& mode)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::Input::ManipulationMode InputManager::SmartglassManipulationModes()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::SmartglassManipulationModes(winrt::Windows::Xbox::Input::ManipulationMode const& mode)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::Input::InputMode InputManager::GamepadInputMode()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::GamepadInputMode(winrt::Windows::Xbox::Input::InputMode const& mode)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::Input::ManipulationMode InputManager::GamepadManipulationModes()
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
void InputManager::GamepadManipulationModes(winrt::Windows::Xbox::Input::ManipulationMode const& mode)
{
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
}
}