#ifndef BLINKY_ENCODER_EVENT_H_ #define BLINKY_ENCODER_EVENT_H_ #include #include #ifdef __cplusplus extern "C" { #endif struct encoder_event { struct app_event_header header; int8_t detents; }; APP_EVENT_TYPE_DECLARE(encoder_event); #ifdef __cplusplus } #endif #endif /* BLINKY_ENCODER_EVENT_H_ */