qmk/qmk_firmware

[Bug] Portico 75 rotary encoder is mapped in reverse

Open

#25,051 创建于 2025年3月23日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)C (43,867 fork)batch import
bughelp wanted

仓库指标

Star
 (20,368 star)
PR 合并指标
 (平均合并 20天 9小时) (30 天内合并 27 个 PR)

描述

Describe the Bug

I recently acquired a (second hand, but new in box) Portico 75 and the factory firmware worked correctly with the encoder (clockwise = volume up, counterclockwise = volume down). The firmware only supported VIA protocol version 9 which didn't have full support for encoders (it just showed it as 3 buttons), but otherwise everything worked fine.

I upgraded to the latest QMK firmware to upgrade VIA protocol to version 12 so that the encoder would be correctly shown on the UI, and now the encoder seems to be reversed (clockwise = volume down, counterclockwise = volume up). The mapping shown in VIA is correct, so it's the hardware decoding of the the rotary encoder that is reversed.

Is this "just" a matter of swapping the pin_a and pin_b in the keyboard.json? (In the meantime I have a work around of mapping the encoder "backwards" in using VIA).

Keyboard Used

portico75

Link to product page (if applicable)

No response

Operating System

Debian Linux

qmk doctor Output

qmk is not installed

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

贡献者指南