Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft HoloLens Developer???s Guide

You're reading from   Microsoft HoloLens Developer???s Guide A Complete Guide to HoloLens Application Development

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781786460851
Length 390 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Dennis Vroegop Dennis Vroegop
Author Profile Icon Dennis Vroegop
Dennis Vroegop
Arrow right icon
View More author details
Toc

Events

Looking at things is pretty nice, showing the cursor when the user looks at something they can use even better. However, the system would be quite useless if we could not command the app to do something with objects. We need to use gestures.

The HoloLens currently only supports one gesture. It recognizes the tap gesture. In chapter 6, Take a Look Around You, we will delve into this more and use the different gestures to move our instruments across the stage, but we need to set things up here to delay some groundwork.

Gestures in DirectX

Take a look at our GazeSampleDirectX project and the main class GazeSampleDirectXMain. In here, you will find the spatialInputHandler field of the SpatialInputHandler type. This class...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image