PMW3610 Optical Mouse Sensor
PMW3610 is a low‑power optical mouse sensor.
Note
- Currently, only implemented for nRF52 and RP2040 with a single-wire (SDIO) half-duplex SPI.
- Set
motionpin for better power efficiency. If omitted, the sensor is polled. - By default, report rate is limited to 125 Hz to prevent flooding the event channel, which causes latency issues especially over BLE.
toml configuration
Warning
spi.mosi and spi.miso must be the same pin, or one of them empty.
Split
To add the sensor to the central or peripheral use
Rust configuration
Define a PointingDevice and add it to run_all! macro.
For a split keyboard this must be added to the file (central.rs or peripheral.rs) corresponding to the side the sensor is connected to.
And define a PointingProcessor and add it to run_all! macro to process the events.
Warning
This should be added to the central.rs-File even if the sensor is on split peripheral.