                 touch.touch_target = touch.target = t.target
                 @touch.touch_events[touch.id] = touch
             @touch.touches = event.touches.length
-
-        root_element.addEventListener 'touchstart', touch_start, false
+        
+        if enable_touch
+            root_element.addEventListener 'touchstart', touch_start, false
 
         touch_end = (event)=>
             event.preventDefault()

                @touch.touch_events[touch.id] = touch
            @touch.touches = event.touches.length

        root_element.addEventListener 'touchmove', touch_move, false

        mouse = @mouse
        mousedown = (event)->

{vec2} = require 'gl-matrix'
class Events
    # All are just 1 or 0
    constructor: (root_element, options={})->
        {enable_touch=true} = options
        @keys_pressed = new Uint8Array 256
        @keys_just_pressed = new Uint8Array 256
        @keys_just_released = new Uint8Array 256
