User Tools

Site Tools


api_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

api_reference [2017/05/02 16:13]
curtisb created
api_reference [2019/01/21 16:34]
Line 1: Line 1:
-====== API Reference ====== 
-===== Overview ===== 
-The GestureWorks Core API consists of a series of methods, functions and data structures which are used to connect applications to GestureWorks,​ prompt the core to analyze and process gestures, then return structured gesture event data to the application layer. 
- 
- 
- 
----- 
-===== Core Functions ===== 
-The functions available through GestureWorks are as follows: 
- 
-GestureWorks* **initializeGestureWorks(int screen_width,​ int screen_height)** 
-Initializes GestureWorks with a default set of gestures. This returns an instance of GestureWorks to use on future function calls. 
- 
-GestureWorks* **initializeGestureWorksScreenGestures(int screen_width,​ int screen_height)** 
-Initializes GestureWorks with default options and a default set of gestures. This is used for screen mode, where gestures are global and not attached to individual touch objects. 
- 
-GestureWorks* **initializeGestureWorksGML(int screen_width,​ int screen_height,​ const char *gml_file_path)** 
-Initializes GestureWorks with a custom gml file. 
- 
-void **destroyGestureWorks(GestureWorks *gesture_works)** 
-Deletes an instance of GestureWorks. 
- 
- 
- 
- 
- 
  
api_reference.txt ยท Last modified: 2019/01/21 16:34 (external edit)