Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Plugin for Cordova adding touchstart/touchend event pass thru for Google Glass
Java
branch: master

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');
    }
);
Something went wrong with that request. Please try again.