diff options
| author | Stacy Harper <contact@stacyharper.net> | 2021-08-26 09:16:47 +0200 |
|---|---|---|
| committer | John Sullivan <jsullivan@csumb.edu> | 2021-10-19 23:12:01 -0700 |
| commit | 328cc429df014b74f3a48cefbf765a1b51430804 (patch) | |
| tree | 4a0d5655d4c4a7ccead00db4d32b635cf3537ba7 /keyboard.c | |
| parent | b88d2cd0a556f8cbf1e3bc571281c945abf2d41a (diff) | |
| download | suggpicker-328cc429df014b74f3a48cefbf765a1b51430804.tar.gz | |
WIP refacto keyboard.c
Diffstat (limited to 'keyboard.c')
| -rw-r--r-- | keyboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboard.c b/keyboard.c index 0d6b43b..879704c 100644 --- a/keyboard.c +++ b/keyboard.c @@ -13,6 +13,11 @@ fprintf(stderr, __VA_ARGS__); \ exit(1) +#ifndef KEYMAP +#error "make sure to define KEYMAP" +#endif +#include KEYMAP + void kbd_switch_layout(struct kbd *kb, struct layout *l) { kb->prevlayout = kb->layout; |
