OpenLogi
功能(Features)

0x2001 · swapLeftRightButton

在固件层面互换鼠标主键与副键的角色,使设备无需操作系统配置即可作为左手鼠标使用,且设置持久保存于设备中。

swapLeftRightButton is a HID++ 2.0 feature for mice that allows the host to swap the roles of the primary (left) and secondary (right) mouse buttons at the firmware level, making the device behave as a left-handed mouse without OS-level remapping. The setting is typically stored persistently on the device so it survives power cycles and host reconnections. The related feature 0x2005 buttonSwapCancel is also registered in the Logitech HID++ feature set.

Not implemented in OpenLogi

OpenLogi's vendored hidpp crate does not provide a typed wrapper for this feature yet. The notes below summarise the HID++ feature in general terms, not OpenLogi behaviour.

What it does

  • Left/right button swap — provides a function to enable or disable the hardware swap of left and right mouse buttons, letting the device report swapped clicks without any operating-system configuration change.
  • Swap state query — provides a function to read back the current swap state (enabled or disabled) from the device's persistent storage.
  • Persistent effect — the swap setting is stored on the device and applies regardless of which host or operating system the mouse is connected to, including across power cycles and USB re-enumeration.
  • Mouse-class feature — this feature appears on Logitech mice and pointing devices; it is not defined for keyboards, headsets, or receivers.

Status: Not implemented · Feature ID: 0x2001 · See also: 0x2005 buttonSwapCancel

本页目录