Develop 1.8 #20

Merged
Kan18 merged 242 commits from develop-1.8 into master-1.8 2019-11-10 20:52:08 -05:00
Showing only changes of commit 8c50447625 - Show all commits

View File

@@ -89,9 +89,11 @@ function input:translate(event, code, p1, p2)
end
elseif event == 'char' then
if not self:modifierPressed() then
if not self.pressed[keys.leftAlt] and
not self.pressed[keys.rightAlt] then
self.fired = true
return { code = event, ch = input:toCode(code) }
return { code = event, ch = code }
-- return { code = event, ch = input:toCode(code) }
end
elseif event == 'key_up' then