Input: rotary-encoder - add support for half-period encoders