I'm curious, in new EventSensor , which is replacement of InputSensor , there are ivar, called inputSemaphore , which should indicate that there are events waiting to be handled. But there is no code except initialization/shutdown, where it's really used.
Also, windows platform sources storing inputsensor index only to check that image is using new (EventSensor) framework for working with input events, but there is no code which signals it.
Is that was introduced only to indicate how VM should behave (using old or new event handling mechanisms)? But then, why it's a semaphore, a simple flag is enough for that.