From 3b2e2d73fba41c2dc0cd56868c6f5b9b479ca2ef Mon Sep 17 00:00:00 2001 From: Sabine Date: Mon, 5 Jun 2023 16:17:35 +0200 Subject: [PATCH] feature(Linux): mcompile : fix amount of shift_states to 2 even if layout in xkb has more --- linux/mcompile/keymap/keymap.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/linux/mcompile/keymap/keymap.h b/linux/mcompile/keymap/keymap.h index ec157736d7..87627c4954 100644 --- a/linux/mcompile/keymap/keymap.h +++ b/linux/mcompile/keymap/keymap.h @@ -53,14 +53,13 @@ std::string getKeyNrOf_USChar(std::string in , v_str_3D &All_Vector); // get KeyNr from Other std::string getKeyNrOf_OtherChar(std::string in , v_str_3D &All_Vector); + +// for testing/debugging - may be deleted later // prints out a 1:1 mapping US->Other void print_simple_map_US(v_str_3D &All_Vector, int shiftstate); - // prints out a 1:1 mapping Other->US void print_simple_map_Other(v_str_3D &All_Vector, int shiftstate); - // test of above functions (character mapping US <-> Other; KeyNr <-> CHaracter) void test_in_out(v_str_3D &All_Vector); - // testing of Vector contents ( first row of US and Other) bool test(v_str_3D &V);