Multi-touch API. More...
#import <UIKit/UIKit.h>
#include "mo_def.h"
#include <map>
#include <vector>
Go to the source code of this file.
Classes | |
struct | MoTouchTrack |
one track associated with a touch gesture (from begin to end/cancel) More... | |
class | MoTouchUpdater |
[Internal/Do Not Use] More... | |
class | MoTouch |
Multi-touch (static class). More... | |
Typedefs | |
typedef void(* | MoTouchCallback )(NSSet *touches, UIView *view, std::vector< MoTouchTrack > &tracks, void *data) |
definition for the general touch callback function |
Multi-touch API.
Mobile Music research @ CCRMA, Stanford University: http://momu.stanford.edu/
definition for the general touch callback function
To access multi-touch, create a touch callback with this type definition, register the callback (i.e. MoTouch::addCallback( touchCallback ); ) and start receiving multi-touch events.