Upload
daniel-egan
View
122
Download
5
Tags:
Embed Size (px)
DESCRIPTION
Developing for Windows 7 Multitouch
Citation preview
1
The Windows® 7 Developer Experience (mt)
Microsoft® Corporation
2
Windows 7 Multi-Touch
the future is Here!
3
The past drives the future .
4
Input Devices
How many people here use a mouse?When was it invented?
1963 !!! by Douglas Englebart
When was it first (widely) used?Mid 90’sWhile Xerox put out a computer with a mouse in 1982 and others slowly followed, it was not until the MID 90’s that mice were widely used on the computer (30 YEARS!!!)
5
Input Devices
How many people here use a touch screen?When was it invented?
1972 !!! The PLATO IV (Research Scientists At University of Illinois)
6
Multi-touch through the years1985: Sensor Frame (Carnegie
Mellon University)
1992: Flip Keyboard
1995/97: Active Desk
7
Multi-touch through the years
2005: PlayAnywhere
2007: Microsoft Surface Computing
1999: Portfolio Wall
8
Gestures1983: Video Place / Video Desk (Myron Krueger) Essentially “wrote the book” in terms of unencumbered (i.e., no gloves, mice, styli, etc.) rich gestural interaction.
9
Touch History1985: Multi-Touch Tablet (Input Research Group, University of Toronto): (Alias|Wavefront, Toronto On, Canada)
About the same time the mac came out
10
Touch Phones
2006: Synaptics & Pilotfish (San Jose) http://www.synaptics.com
2007: Apple iPhone 1992: Simon (IBM & Bell South) The first touch phone
11
“So how can I play with this now??”
12
3 things to know….
the screensthe hardware
the software
13
The Screens
14
How to touch Resistive Think Push Down and drag
15
How to touch
Capacitive Think Electric Impulse
16
How to touch
Infrared Think laser pointer(s)
17
The Hardware
18
Hardware
CapacitiveHP Touchsmart tx2N-trig (2-10)
InfraredHP Touchsmart IQ816NewWindow(2)
CapacitiveDell LatitudeXT2N-Trig (2-10)
19
The Software
20
Multi-Touch Development TiersGood – Better – BestWindows application can target one of three
levels of touch integrationGood: No specific touch APIs are used but the application UI is appropriately sized and works well with the built-in gestures
Better: The gesture APIs are supported to give smooth natural interactions
Best: Deep touch-focused experiences designed to take advantage of multi-touch features
Best
Better
Good
21
WM_Touch – WM_Gesture
22
PC’s, Form Factors, Technology
Easy to Write code now
WM_Touch
Windows7.Multitouch
Windows7.Multitouch.WPF
23
Massive Multi-touch, Multi-user
PC’s, Form Factors, Technology
Easier to Write code soon
24
// Private data members private int x; // touch x client coordinate in pixels private int y; // touch y client coordinate in pixels private int id; // contact ID private int mask; // mask which fields in the structure are valid private int flags; // flags private int time; // touch event time private int contactX; // x size of the contact area in pixels private int contactY; // y size of the contact area in pixels
protected event EventHandler<WMTouchEventArgs> Touchdown; // touch down event handler protected event EventHandler<WMTouchEventArgs> Touchup; // touch up event handler protected event EventHandler<WMTouchEventArgs> TouchMove; // touch move event handler
The API
25
Working with MultiTouch
demo
26
More Information
Multi-Touch Systems that I Have Known and Loved
http://www.billbuxton.com/multitouchOverview.htmlMike Taulty’s Blog http://bit.ly/NKVTN Example Photo App http://bit.ly/d4eE9
27
Multi-touch is not new
Past Future(http://bit.ly/akq7V)
Present
1972: PLATO IV Touch Screen Terminal Windows 7 Multi-
touchTouchable Hologram
28
The End
(or a new beginning)
29