mirror of
https://github.com/20kdc/OC-KittenOS.git
synced 2024-11-23 19:08:05 +11:00
app-metamachine: Native clipboard support
This commit is contained in:
parent
3502cdedc2
commit
630c5f57f5
@ -126,7 +126,7 @@ return {
|
|||||||
},
|
},
|
||||||
["app-metamachine"] = {
|
["app-metamachine"] = {
|
||||||
desc = "Virtual machine",
|
desc = "Virtual machine",
|
||||||
v = 2,
|
v = 3,
|
||||||
deps = {
|
deps = {
|
||||||
"neo",
|
"neo",
|
||||||
"zzz-license-pd"
|
"zzz-license-pd"
|
||||||
|
@ -533,6 +533,9 @@ while ((not vmBaseCoroutine) or (coroutine.status(vmBaseCoroutine) ~= "dead")) a
|
|||||||
break
|
break
|
||||||
elseif ev[3] == "line" then
|
elseif ev[3] == "line" then
|
||||||
screensInt[id][2].line(ev[4])
|
screensInt[id][2].line(ev[4])
|
||||||
|
elseif ev[3] == "clipboard" then
|
||||||
|
table.insert(signalStack, {ev[3], screensInt[id][1] .. "-kb", ev[4], "neo"})
|
||||||
|
break
|
||||||
elseif ev[3] == "touch" or ev[3] == "drag" or ev[3] == "drop" or ev[3] == "scroll" then
|
elseif ev[3] == "touch" or ev[3] == "drag" or ev[3] == "drop" or ev[3] == "scroll" then
|
||||||
local x = ev[4]
|
local x = ev[4]
|
||||||
local y = ev[5]
|
local y = ev[5]
|
||||||
|
Loading…
Reference in New Issue
Block a user