mirror of
https://github.com/kepler155c/opus
synced 2024-12-31 19:00:27 +00:00
foreign keyboards
This commit is contained in:
parent
43a6019b9f
commit
d32030bec4
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user