macro_rules! pdf {
($x: literal) => { ... };
}Expand description
Create a persistent default layer switch action.
Like df!, but the new default layer is saved to storage and restored on
the next boot (requires the storage feature). This is the QMK PDF key.
§Parameters
$x: Layer number (0-255)
§Example
ⓘ
pdf!(1) // Set layer 1 as the default layer, persisting across reboots