Class: SwipeTrigger
- Inherits:
-
Trigger
- Object
- MacroObject
- Trigger
- SwipeTrigger
- Defined in:
- lib/ruby-macrodroid.rb
Overview
Category: User Input
Instance Attribute Summary
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SwipeTrigger
constructor
A new instance of SwipeTrigger.
Methods inherited from Trigger
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SwipeTrigger
1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 |
# File 'lib/ruby-macrodroid.rb', line 1661 def initialize(h={}) = { swipe_start_area: 0, swipe_motion: 0, cleared: true } super(.merge h) end |