diff options
author | Paul Rouget <me@paulrouget.com> | 2019-08-16 07:26:14 +0200 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2019-08-20 08:17:43 +0200 |
commit | 42f2c472f724edfb31119a7c354e63f7a7f30ede (patch) | |
tree | 78a64b0dca01e16ff17bf8ef4aa000a7063dec19 /support/hololens/ServoApp/Content/SpatialInputHandler.h | |
parent | d09692664e357a05d7238c370099eede682a3a4a (diff) | |
download | servo-42f2c472f724edfb31119a7c354e63f7a7f30ede.tar.gz servo-42f2c472f724edfb31119a7c354e63f7a7f30ede.zip |
Remove Immersive Mode demo
Diffstat (limited to 'support/hololens/ServoApp/Content/SpatialInputHandler.h')
-rw-r--r-- | support/hololens/ServoApp/Content/SpatialInputHandler.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/support/hololens/ServoApp/Content/SpatialInputHandler.h b/support/hololens/ServoApp/Content/SpatialInputHandler.h deleted file mode 100644 index 5212cf108ab..00000000000 --- a/support/hololens/ServoApp/Content/SpatialInputHandler.h +++ /dev/null @@ -1,34 +0,0 @@ -#pragma once - -namespace Immersive { -// Sample gesture handler. -// Hooks up events to recognize a tap gesture, and keeps track of input using a -// boolean value. -class SpatialInputHandler { -public: - SpatialInputHandler(); - ~SpatialInputHandler(); - - winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState - CheckForInput(); - -private: - // Interaction event handler. - void OnSourcePressed( - winrt::Windows::UI::Input::Spatial::SpatialInteractionManager const - &sender, - winrt::Windows::UI::Input::Spatial:: - SpatialInteractionSourceEventArgs const &args); - - // API objects used to process gesture input, and generate gesture events. - winrt::Windows::UI::Input::Spatial::SpatialInteractionManager - m_interactionManager = nullptr; - - // Event registration token. - winrt::event_token m_sourcePressedEventToken; - - // Used to indicate that a Pressed input event was received this frame. - winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState - m_sourceState = nullptr; -}; -} // namespace Immersive |