fix: copy keys were broken with shift

A regression was introduced in b0eff37239
, leading to accented keys (accessed via Cmp) to only be available in
lower case, as shift had no effect there anymore. This should fix it.

Ref: https://github.com/jjsullivan5196/wvkbd/issues/115
This commit is contained in:
Maarten van Gompel
2026-02-02 23:26:48 +01:00
parent 9fb1964f5d
commit 49d8a629a5
2 changed files with 21 additions and 11 deletions

View File

@@ -148,8 +148,7 @@ double kbd_get_row_length(struct key *k);
void kbd_next_layer(struct kbd *kb, struct key *k, bool invert);
void kbd_switch_layout(struct kbd *kb, struct layout *l, size_t layer_index);
void create_and_upload_keymap(struct kbd *kb, const char *name,
uint32_t comp_unichr, uint32_t comp_shift_unichr);
void create_and_upload_keymap(struct kbd *kb, const char *name, uint32_t comp_unichr);
#ifndef LAYOUT
#error "make sure to define LAYOUT"