Accelerometer event in event_id

In the dwm-simple.c example code (as seen in the attached picture), the event triggers on the update of the new location if found. I want to get the update of the location if any accelerometer event occurs or get the position only if the TAG is not stationary. How to get the accelerometer event handle in event_id in dwm_evt_cb_register.

1 Like