Plugin for Cordova adding touchstart/touchend event pass thru for Google Glass
Java
Switch branches/tags
Nothing to show
Latest commit b999c31 Apr 20, 2014 @aphex Updated for XE16
Permalink
Failed to load latest commit information.
src/com/rossgerbasi/cordova/glass
README.md
plugin.xml

README.md

##Cordova Glass Touch Plugin##

This plugin will not get further updates as it has been merged into the Cordova Glass Plugin that contains all the same features plus voice triggering, voice prompting and gesture event processing.


This plugin adds basic touch events from the Google Glass Touchpad to your Cordova based application. If you need greater gesture support then basic touch events you will then want to look at the CordovaGlassGesture Plugin.

###Events###

  • touchstart
  • touchend

###Usage###

Add plugin via Node

cordova plugin add https://github.com/aphex/cordova-glass-touch

Add an event listener to the document of your web application

document.addEventListener('touchstart', 
	function() {
		console.log('onTouchStart');
	}
);