qmk/qmk_firmware

[Bug] Portico 75 rotary encoder is mapped in reverse

Open

#25.051 aberto em 23 de mar. de 2025

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)C (43.867 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (20.368 stars)
Métricas de merge de PR
 (Mesclagem média 20d 9h) (27 fundiu PRs em 30d)

Description

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

Guia do colaborador