29
1 The Windows ® 7 Developer Experience (mt) Microsoft ® Corporation

Win7 Multi Touch

Embed Size (px)

DESCRIPTION

Developing for Windows 7 Multitouch

Citation preview

Page 1: Win7 Multi Touch

1

The Windows® 7 Developer Experience (mt)

Microsoft® Corporation

Page 2: Win7 Multi Touch

2

Windows 7 Multi-Touch

the future is Here!

Page 3: Win7 Multi Touch

3

The past drives the future .

Page 4: Win7 Multi Touch

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!!!)

Page 5: Win7 Multi Touch

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)

Page 6: Win7 Multi Touch

6

Multi-touch through the years1985: Sensor Frame  (Carnegie

Mellon University)

1992: Flip Keyboard

1995/97: Active Desk

Page 7: Win7 Multi Touch

7

Multi-touch through the years

2005: PlayAnywhere

2007: Microsoft Surface Computing

1999: Portfolio Wall

Page 8: Win7 Multi Touch

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.

Page 9: Win7 Multi Touch

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

Page 10: Win7 Multi Touch

10

Touch Phones

2006: Synaptics & Pilotfish (San Jose) http://www.synaptics.com

2007: Apple iPhone 1992:  Simon (IBM & Bell South) The first touch phone

Page 11: Win7 Multi Touch

11

“So how can I play with this now??”

Page 12: Win7 Multi Touch

12

3 things to know….

the screensthe hardware

the software

Page 13: Win7 Multi Touch

13

The Screens

Page 14: Win7 Multi Touch

14

How to touch Resistive Think Push Down and drag

Page 15: Win7 Multi Touch

15

How to touch

Capacitive Think Electric Impulse

Page 16: Win7 Multi Touch

16

How to touch

Infrared Think laser pointer(s)

Page 17: Win7 Multi Touch

17

The Hardware

Page 18: Win7 Multi Touch

18

Hardware

CapacitiveHP Touchsmart tx2N-trig (2-10)

InfraredHP Touchsmart IQ816NewWindow(2)

CapacitiveDell LatitudeXT2N-Trig (2-10)

Page 19: Win7 Multi Touch

19

The Software

Page 20: Win7 Multi Touch

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

Page 21: Win7 Multi Touch

21

WM_Touch – WM_Gesture

Page 22: Win7 Multi Touch

22

PC’s, Form Factors, Technology

Easy to Write code now

WM_Touch

Windows7.Multitouch

Windows7.Multitouch.WPF

Page 23: Win7 Multi Touch

23

Massive Multi-touch, Multi-user

PC’s, Form Factors, Technology

Easier to Write code soon

Page 24: Win7 Multi Touch

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

Page 25: Win7 Multi Touch

25

Working with MultiTouch

demo

Page 26: Win7 Multi Touch

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

Page 27: Win7 Multi Touch

27

Multi-touch is not new

Past Future(http://bit.ly/akq7V)

Present

1972: PLATO IV Touch Screen Terminal Windows 7 Multi-

touchTouchable Hologram

Page 28: Win7 Multi Touch

28

The End

(or a new beginning)

Page 29: Win7 Multi Touch

29