Description
When two different input sequences of same length and same end KeyEvent are defined then InputMapper fails to map to correct action.
To Reproduce
Define two input sequences as shown in this figure.
These two input sequences have two keyEvents with same last KeyEvent. First one is double click on Spotlight device and other one is Next Button Press followed by Click on Spotlight device.
Now try to press these two input sequences one by one, you will not be able to get right action in both cases.
For me, I always get 'b' Key Sequence.
Expected behavior
The InputMapper should map to correct action.
Thank you mayank - good find - the way it was implemented by me with a map was producing the wrong output - basically overwriting any Action that was already set. This will be fixed with #146 .
Description When two different input sequences of same length and same end KeyEvent are defined then InputMapper fails to map to correct action.
To Reproduce Define two input sequences as shown in this figure.
These two input sequences have two keyEvents with same last KeyEvent. First one is double click on Spotlight device and other one is Next Button Press followed by Click on Spotlight device.
Now try to press these two input sequences one by one, you will not be able to get right action in both cases.
For me, I always get 'b' Key Sequence.
Expected behavior The InputMapper should map to correct action.