class TouchscreenTaps::Event
Parsed Event
object
Attributes
finger[R]
move_x[R]
move_y[R]
timestamp[R]
type[R]
Public Class Methods
new(type, finger, move_x = nil, move_y = nil)
click to toggle source
# File lib/touchscreen_taps/event.rb, line 12 def initialize(type, finger, move_x = nil, move_y = nil) @type = type @finger = finger @move_x = move_x @move_y = move_y @timestamp = Process.clock_gettime(Process::CLOCK_MONOTONIC) end