Commits

mackx  committed b31f044 Draft

add shift modifier (included in KeyBoardHack v3a)

  • Participants
  • Parent commits 4098dd0

Comments (0)

Files changed (1)

File erkeyb/src/ergtk-keyb.c

         // Test code
         if (priv->current_alt_keyb_num & 1)
         {
-            //priv->modifiers |= FAKEKEYMOD_SHIFT;
+            // Some characters (specially multi character utf-8) also need shift modifier
+            priv->modifiers |= FAKEKEYMOD_SHIFT;
         }
         // check if we have an utf-8 char or a KeySym
         if (key->utf_str)