Configure upcased key as combination with shift mod

This commit is contained in:
Thibault Jouan
2015-04-15 01:09:18 +00:00
parent 56197c85f8
commit 9c9aa1dabb
7 changed files with 63 additions and 9 deletions

View File

@@ -17,3 +17,12 @@ Feature: `key' run control keyword
And uhwm is running
When I press the alt+Return keys
Then the output must contain "trigger return key code"
Scenario: translates upcased key names to combination with shift key
Given a run control file with:
"""
key(:F) { puts 'trigger shift+f key code' }
"""
And uhwm is running
When I press the alt+shift+f keys
Then the output must contain "trigger shift+f key code"