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)
|
||
|
|
};
|