foreign keyboards

This commit is contained in:
kepler155c@gmail.com 2019-04-21 23:41:17 -04:00
parent 43a6019b9f
commit d32030bec4
2 changed files with 4 additions and 3 deletions

View File

@ -344,7 +344,7 @@ local mappings = {
--[ 'control-d' ] = Entry.cutNextWord,
[ 'control-x' ] = Entry.cut,
[ 'paste' ] = Entry.paste,
[ 'control-y' ] = Entry.paste,
-- [ 'control-y' ] = Entry.paste, -- well this won't work...
[ 'mouse_doubleclick' ] = Entry.markWord,
[ 'shift-left' ] = Entry.markLeft,

View File

@ -88,8 +88,9 @@ function input:translate(event, code, p1, p2)
else
self.state[code] = true
if self:modifierPressed() and not modifiers[code] then --or code == 57 then
self.fired = true
return { code = input:toCode(keys.getName(code), code) }
-- why was i firing here ??
--self.fired = true
--return { code = input:toCode(keys.getName(code), code) }
else
self.fired = false
end