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

貢獻者指南