Sha256: f6316a40817952b23e58418f7972fbb8ab5423a5f49fd48de5b32a160ddfa25c
Contents?: true
Size: 694 Bytes
Versions: 4
Compression:
Stored size: 694 Bytes
Contents
# frozen_string_literal: true require_relative './text_record.rb' module Fusuma module Plugin module Events module Records # Gesture Record class GestureRecord < Record # define gesture format attr_reader :status, :gesture, :finger, :direction Delta = Struct.new(:move_x, :move_y, :zoom, :rotate) # @param status [String] def initialize(status:, gesture:, finger:, direction:) @status = status @gesture = gesture @finger = finger @direction = direction end def type :gesture end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems