diff --git a/AppKit/CPEvent.j b/AppKit/CPEvent.j index a5fe949bd..2d3c3cf49 100644 --- a/AppKit/CPEvent.j +++ b/AppKit/CPEvent.j @@ -204,6 +204,8 @@ var _CPEventPeriodicEventPeriod = 0, BOOL _isARepeat; unsigned _keyCode; DOMEvent _DOMEvent; + int _data1; + int _data2; float _deltaX; float _deltaY; @@ -517,6 +519,16 @@ var _CPEventPeriodicEventPeriod = 0, return _DOMEvent; } +- (int)data1 +{ + return _data1; +} + +- (int)data2 +{ + return _data2; +} + // Getting Scroll Wheel Event Information /*! Returns the change in the x-axis for a mouse event.