# generated by 'rake generate'
require 'cocoa/bindings/NSObject'
module Cocoa
  class NSEvent < Cocoa::NSObject
    attach_method :CGEvent, :args=>0, :names=>[], :types=>[], :retval=>"^{__CGEvent=}"
    attach_method :absoluteX, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :absoluteY, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :absoluteZ, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_singular_method :addGlobalMonitorForEventsMatchingMask, :args=>2, :names=>[:handler], :types=>["Q", "@?"], :retval=>"@"
    attach_singular_method :addLocalMonitorForEventsMatchingMask, :args=>2, :names=>[:handler], :types=>["Q", "@?"], :retval=>"@"
    attach_method :buttonMask, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :buttonNumber, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :capabilityMask, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :characters, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :charactersIgnoringModifiers, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :clickCount, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :context, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :data1, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :data2, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :deltaX, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :deltaY, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :deltaZ, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :deviceID, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_singular_method :doubleClickInterval, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :enterExitEventWithType, :args=>9, :names=>[:location, :modifierFlags, :timestamp, :windowNumber, :context, :eventNumber, :trackingNumber, :userData], :types=>["Q", "{CGPoint=dd}", "Q", "d", "q", "@", "q", "q", "^v"], :retval=>"@"
    attach_method :eventNumber, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :eventRef, :args=>0, :names=>[], :types=>[], :retval=>"^v"
    attach_singular_method :eventWithCGEvent, :args=>1, :names=>[], :types=>["^{__CGEvent=}"], :retval=>"@"
    attach_singular_method :eventWithEventRef, :args=>1, :names=>[], :types=>["^v"], :retval=>"@"
    attach_method :hasPreciseScrollingDeltas, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isARepeat, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isDirectionInvertedFromDevice, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isEnteringProximity, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_singular_method :isMouseCoalescingEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_singular_method :isSwipeTrackingFromScrollEventsEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :keyCode, :args=>0, :names=>[], :types=>[], :retval=>"S"
    attach_singular_method :keyEventWithType, :args=>10, :names=>[:location, :modifierFlags, :timestamp, :windowNumber, :context, :characters, :charactersIgnoringModifiers, :isARepeat, :keyCode], :types=>["Q", "{CGPoint=dd}", "Q", "d", "q", "@", "@", "@", "B", "S"], :retval=>"@"
    attach_singular_method :keyRepeatDelay, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :keyRepeatInterval, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :locationInWindow, :args=>0, :names=>[], :types=>[], :retval=>"{CGPoint=dd}"
    attach_method :magnification, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :modifierFlags, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :modifierFlags, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :momentumPhase, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_singular_method :mouseEventWithType, :args=>9, :names=>[:location, :modifierFlags, :timestamp, :windowNumber, :context, :eventNumber, :clickCount, :pressure], :types=>["Q", "{CGPoint=dd}", "Q", "d", "q", "@", "q", "q", "f"], :retval=>"@"
    attach_singular_method :mouseLocation, :args=>0, :names=>[], :types=>[], :retval=>"{CGPoint=dd}"
    attach_singular_method :otherEventWithType, :args=>9, :names=>[:location, :modifierFlags, :timestamp, :windowNumber, :context, :subtype, :data1, :data2], :types=>["Q", "{CGPoint=dd}", "Q", "d", "q", "@", "s", "q", "q"], :retval=>"@"
    attach_method :phase, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :pointingDeviceID, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :pointingDeviceSerialNumber, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :pointingDeviceType, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_singular_method :pressedMouseButtons, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :pressure, :args=>0, :names=>[], :types=>[], :retval=>"f"
    attach_singular_method :removeMonitor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :rotation, :args=>0, :names=>[], :types=>[], :retval=>"f"
    attach_method :scrollingDeltaX, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :scrollingDeltaY, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :setMouseCoalescingEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_singular_method :startPeriodicEventsAfterDelay, :args=>2, :names=>[:withPeriod], :types=>["d", "d"], :retval=>"v"
    attach_singular_method :stopPeriodicEvents, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :subtype, :args=>0, :names=>[], :types=>[], :retval=>"s"
    attach_method :systemTabletID, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :tabletID, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :tangentialPressure, :args=>0, :names=>[], :types=>[], :retval=>"f"
    attach_method :tilt, :args=>0, :names=>[], :types=>[], :retval=>"{CGPoint=dd}"
    attach_method :timestamp, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :touchesMatchingPhase, :args=>2, :names=>[:inView], :types=>["Q", "@"], :retval=>"@"
    attach_method :trackSwipeEventWithOptions, :args=>4, :names=>[:dampenAmountThresholdMin, :max, :usingHandler], :types=>["Q", "d", "d", "@?"], :retval=>"v"
    attach_method :trackingArea, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :trackingNumber, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :type, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :uniqueID, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :userData, :args=>0, :names=>[], :types=>[], :retval=>"^v"
    attach_method :vendorDefined, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :vendorID, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :vendorPointingDeviceType, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :window, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :windowNumber, :args=>0, :names=>[], :types=>[], :retval=>"q"
  end
end
