diff options
| -rw-r--r-- | docs/feature_layouts.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/feature_layouts.md b/docs/feature_layouts.md index 24c42c09f..bfae92044 100644 --- a/docs/feature_layouts.md +++ b/docs/feature_layouts.md | |||
| @@ -35,10 +35,12 @@ New names should try to stick to the standards set by existing layouts, and can | |||
| 35 | 35 | ||
| 36 | ## Supporting a Layout | 36 | ## Supporting a Layout |
| 37 | 37 | ||
| 38 | For a keyboard to support a layout, the variable (`[a-z0-9_]`) must be defined in it's `<keyboard>.h`, and match the number of arguments/keys (and preferably the physical layout): | 38 | For a keyboard to support a layout, the variable must be defined in it's `<keyboard>.h`, and match the number of arguments/keys (and preferably the physical layout): |
| 39 | 39 | ||
| 40 | #define LAYOUT_60_ansi KEYMAP_ANSI | 40 | #define LAYOUT_60_ansi KEYMAP_ANSI |
| 41 | 41 | ||
| 42 | The name of the layout must match this regex: `[a-z0-9_]+` | ||
| 43 | |||
| 42 | The folder name must be added to the keyboard's `rules.mk`: | 44 | The folder name must be added to the keyboard's `rules.mk`: |
| 43 | 45 | ||
| 44 | LAYOUTS = 60_ansi | 46 | LAYOUTS = 60_ansi |
