mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-07-12 22:14:32 +02:00
refactored keymap loading
This commit is contained in:
committed by
John Sullivan
parent
a38ec393b5
commit
ff92a92086
@ -114,12 +114,11 @@ uint8_t kbd_get_rows(struct layout *l);
|
||||
double kbd_get_row_length(struct key *k);
|
||||
void kbd_switch_layout(struct kbd *kb, struct layout *l);
|
||||
|
||||
void create_and_upload_keymap(const char *name, uint32_t comp_unichr,
|
||||
void create_and_upload_keymap(struct kbd *kb, const char *name, uint32_t comp_unichr,
|
||||
uint32_t comp_shift_unichr);
|
||||
|
||||
#ifndef LAYOUT
|
||||
#error "make sure to define LAYOUT"
|
||||
#endif
|
||||
#include LAYOUT
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user