Mapping does not work with some characters in KeyRemap4Macbook I want to map Option+Dot and Option+Comma to word-by-word movement in KeyRemap4Macbook. Option+Dot works but Option+Comma does not. Also using any other character such as W, V etc. instead of Comma does not work. They simply put the symbols normally mapped in keylayout file.

Here are the mapping items:

&lt;item&gt;
    &lt;name&gt;word movement right&lt;/name&gt;
    &lt;identifier&gt;private.wordright&lt;/identifier&gt;
    &lt;autogen&gt;
        --KeyToKey--
        KeyCode::COMMA,ModifierFlag::OPTION_L,
        KeyCode::CURSOR_RIGHT,ModifierFlag::OPTION_L
    &lt;/autogen&gt;
&lt;/item&gt;
&lt;item&gt;
    &lt;name&gt;word movement by option + dot&lt;/name&gt;
    &lt;identifier&gt;private.wordmovement&lt;/identifier&gt;
    &lt;autogen&gt;
        --KeyToKey--
        KeyCode::DOT,ModifierFlag::OPTION_L,
        KeyCode::CURSOR_LEFT,ModifierFlag::OPTION_L
    &lt;/autogen&gt;
&lt;/item&gt;
I found the cause of the problem. I have Turkish keyboard layout installed. The place of character comma corresponds to the place of character B in Turkish keyboard layout. The KeyCode definitions requires the character in the US keyboard layout.