Some checks failed
Automatic Approve / automatic_approve (push) Has been cancelled
Update API Data / api_data (push) Has been cancelled
CI Builds / CI Build (default) (push) Has been cancelled
CI Builds / CI Build (via) (push) Has been cancelled
CLI CI / test (push) Has been cancelled
Update develop after master merge / develop_update (push) Has been cancelled
Lint Format / lint (push) Has been cancelled
Regenerate Files / regen (push) Has been cancelled
Unit Tests / test (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
neo2 for macOS via the installed software neo2 keyboard layout instead of firmware emulation. The base layer and Mod3 send positional NE_* scancodes that the OS neo2 layout translates; Mod4 (cursor and numpad) is a firmware layer so its keys auto-repeat. Keeps the audax_osx_neo2 key arrangement, home-row mods, macOS shortcuts and media/function layer. The right Mod3 key taps to the neo2 sharp-s; a dedicated right-hand Mod4 key and the Enter thumb both reach the Mod4 layer.
11 lines
423 B
C
11 lines
423 B
C
#pragma once
|
|
|
|
// Software-neo2 layout: the OS-side neo2 keyboard layout owns the base layer,
|
|
// shift and Mod3 (layer 3). Mod4 (layer 4) is kept as a firmware layer so its
|
|
// cursor keys auto-repeat when held.
|
|
enum layers {
|
|
NEO_1, // layer 0: neo2 base (positional scancodes)
|
|
NEO_4, // layer 1: neo2 Mod4 - cursor + numpad (firmware, real keycodes)
|
|
FKEYS // layer 2: media and function keys (not part of neo2)
|
|
};
|