PDC09 – Pre-Conference – Windows Bootcamp Part 8 – Multi-Touch
Architecture
- Handled using a Driver Model that is implemented by the partners
- Based on WM_Messages that are exchanged by the application and the Multi-touch Hardware
Development Tiers
- Good
- Everything that comes for free
- APIs
- Panning/Zoom gestures
- Right-click Gestures
- Native Win32
- Controls with standard scrollbars
- WPF4
- Click Events
- ScrollViewer
- WinForms
- Controls with standard scrollbars
- Better
- Using the API’s to get the application more interesting
- Using the Microsoft Touch Pack
- Best
- Everything done before and even handle events that the Multi-touch supports
Coding with MultiTouch
- Gestures
- Native
- .NET 4.0 / WPF
- .NET 3.5
- Raw Touch
- Native
- .NET 4.0 / WPF
- Silverlght
- .NET 3.5
- Manipulation
- Native
- .NET 4.0 / WPF
- .NET 3.5
- Inertia
- Native
- .NET 4.0 / WPF
- .NET 3.5
Gestures
- One or two fingers “actions”
- Pre-defined in the platform
- On by default in Windows 7
- Using WM_Gestures
Touch
- Using WM_Touch
- Similar to WM_Gestures but just a lot more of them
- We need to opt-in to have Touch capabilities
- In case of using Touch we won’t get Gestures any more, just Raw touch