Rotary encoders
toml configuration
You can define a rotary encoder in your keyboard.toml. The default type of rotary encoder is EC11, you can config it as:
Multiple encoders can be added directly, the encoder index is determined by the order:
Rust configuration
With Rust, you can define a rotary encoder as the following:
You can also use the resolution based phase:
Then adding the encoder to the device list of run_device.