Working prototype of new accelerometer event block.