Use XKeysymToKeycode together with XkbTranslateKeyCode for translating KeySyms to the corresponding keycode and modifier sequences.
Merge branch 'bug-116-autotype-new' into bug-116-autotype