Method: MacOS::Mouse#middle_down

Defined in:
lib/macos/mouse.rb

#middle_down(x:, y:) ⇒ Object

Parameters:

  • x (Integer)
  • y (Integer)


92
93
94
95
96
# File 'lib/macos/mouse.rb', line 92

def middle_down(x:, y:)
  trigger(x:, y:,
    type: Library::CoreGraphics::EventType::OTHER_MOUSE_DOWN,
    button: Library::CoreGraphics::MouseButton::CENTER)
end