March 10, 2011
11:11 p.m.
On Mar 10, 2011, at 10:48 52PM, Igor Stasenko wrote:
This is a constants, used by EventSensor to identify various event types and theirs contents. NOTE: A constant values should be kept in sync with VM-side, which are defined in sq.h header file.
IE I am more "InputEventConstants" than "EventSensorConstants" really. (All are related to the events passed from the vm themselves, not the sensor) Funnily enough, EventSensorConstants (MouseButtonBit 2r0010, correct preswap), MouseEvent (#blueButtonPressed mask: 2r0001, correct postswap, if swapped), and the InputEventSensor (#blueButtonPressed mask: 2r0111, ie, ANY of the buttons pressed) all disagree on what the blue button bit is actually supposed to be. :P Cheers, Henry