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

@@ -74,7 +74,7 @@ module Uh
def register_key_bindings_hooks
@events.on(:key, :q) { stop! }
@env.keybinds.each do |keysym, code|
@events.on :key, keysym, &code
@events.on :key, *keysym, &code
end
end
end