feat: report key matrix and layer over raw HID for keyglance

Enable RAW_ENABLE and send a report on every physical key event (row,
col, pressed) and on layer changes (active layer) via raw_hid_send, so
the keyglance overlay can highlight the exact physical keys pressed —
including while in steno mode, where the steno protocol otherwise hides
which physical keys are down.
  - rules.mk: RAW_ENABLE = yes
  - keymap.c: raw_hid_receive stub, kg_send_key/kg_send_layer helpers,
process_record_user reports real matrix keys (combos/virtual filtered),
layer_state_set_user reports the highest active layer
This commit is contained in:
afiqzudinhadi 2026-06-03 22:55:00 +08:00
parent 6384d080d4
commit 38a9772364
2 changed files with 29 additions and 2 deletions

View file

@ -17,4 +17,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover
COMBO_ENABLE = yes # Enable Key Combos
STENO_ENABLE = yes # Stenography keys
STENO_PROTOCOL = geminipr # Can be geminipr or txbolt
MOUSEKEY_ENABLE = no # Mouse keys
MOUSEKEY_ENABLE = no # Mouse keys
RAW_ENABLE = yes