Input: rotary_encoder - convert to use gpiod API