mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-07-12 22:14:32 +02:00
WIP refacto keyboard.c
This commit is contained in:
committed by
John Sullivan
parent
ff92a92086
commit
e73316bd7c
@ -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;
|
||||
|
Reference in New Issue
Block a user