Skip to content

Instantly share code, notes, and snippets.

@yvt
Created February 22, 2017 07:39
Show Gist options
  • Save yvt/59cdc22c5b75e7bb330316262b22b009 to your computer and use it in GitHub Desktop.
Save yvt/59cdc22c5b75e7bb330316262b22b009 to your computer and use it in GitHub Desktop.

http://affinelayer.com/pixsrv/index.html

Astropad Fix

var x=getEventListeners(document)['mousemove'][0].listener,y=getEventListeners(document)['mousedown'][0].listener;
document.removeEventListener('mousedown',y);
document.addEventListener('mousedown',function(e){x(e);window.requestAnimationFrame(function(){y(e)});});

Touch input support

TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment