qmk/qmk_firmware

[Bug] Portico 75 rotary encoder is mapped in reverse

Open

#25.051 aperta il 23 mar 2025

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C (43.867 fork)batch import
bughelp wanted

Metriche repository

Star
 (20.368 star)
Metriche merge PR
 (Merge medio 20g 9h) (27 PR mergiate in 30 g)

Descrizione

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

Guida contributor