mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-08-29 07:12:02 +02:00
added SHIFT_SPACE_IS_TAB as compile time parameter
for the mobile layout, we want shift+space to produce tab , which needed to be implemented in the main code. For the desktop layout, we don't want this though, a config parameter now handles this at compile time. Ref: https://github.com/jjsullivan5196/wvkbd/pull/103
This commit is contained in:
5
main.c
5
main.c
@@ -1058,6 +1058,11 @@ main(int argc, char **argv)
|
||||
if (keyboard.vkbd == NULL) {
|
||||
die("failed to init virtual keyboard_manager\n");
|
||||
}
|
||||
#ifdef SHIFT_SPACE_IS_TAB
|
||||
keyboard.shift_space_is_tab = true;
|
||||
#else
|
||||
keyboard.shift_space_is_tab = false;
|
||||
#endif
|
||||
|
||||
kbd_init(&keyboard, (struct layout *)&layouts, layer_names_list,
|
||||
landscape_layer_names_list);
|
||||
|
Reference in New Issue
Block a user