Make special scancodes keys case-insensitive #988

Merged
merged 1 commit into from Oct 5, 2014
@@ -70,7 +70,7 @@ def self.string_to_keycode(thestring)
until thestring.length == 0
nospecial=true;
@@special_keys.keys.each { |key|
- if thestring.start_with?(key)
+ if thestring.match(/^#{key}/i)
#take thestring
#check if it starts with a special key + pop special string
keycodes=keycodes+@@special_keys[key]+' ';