I should note that KeyCodeCombintation(KeyCode.EQUALS,
KeyCombination.CONTROL_DOWN, KeyCombination.SHIFT_DOWN)
is undesirable as it requires knowledge of the keyboard layout that
shouldn't be required.

On Fri, Sep 26, 2014 at 6:58 PM, Scott Palmer <[email protected]> wrote:

> While looking into this I noticed that KeyCharacterCombination("+",
> KeyCombination.CONTROL_DOWN)  doesn't work for either the PLUS (shifted
> EQUALS), or ADD (numeric keypad "+").
>
> Only KeyCodeCombintation(KeyCode.EQUALS, KeyCombination.CONTROL_DOWN, 
> KeyCombination.SHIFT_DOWN)
> was working.
>
> On Fri, Sep 26, 2014 at 3:11 PM, Tomas Mikula <[email protected]>
> wrote:
>
>> > That doesn't explain why this isn't happening for PLUS.
>>
>> KeyCodeCombination(KeyCode.PLUS, KeyCombination.CONTROL_DOWN)
>>
>> is never matched. It might even be impossible to get a KEY_PRESSED
>> event with key code PLUS with English keyboard layout. When I switch
>> keyboard layout to Slovak, which has the '+' sign accessible without
>> Shift, I do get the runnable fired twice.
>>
>> Best,
>> Tomas
>>
>
>

Reply via email to