mirror of
https://github.com/20kdc/OC-KittenOS.git
synced 2024-12-26 02:48:06 +11:00
app-metamachine: Native clipboard support
This commit is contained in:
parent
3502cdedc2
commit
630c5f57f5
@ -126,7 +126,7 @@ return {
|
||||
},
|
||||
["app-metamachine"] = {
|
||||
desc = "Virtual machine",
|
||||
v = 2,
|
||||
v = 3,
|
||||
deps = {
|
||||
"neo",
|
||||
"zzz-license-pd"
|
||||
|
@ -533,6 +533,9 @@ while ((not vmBaseCoroutine) or (coroutine.status(vmBaseCoroutine) ~= "dead")) a
|
||||
break
|
||||
elseif ev[3] == "line" then
|
||||
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
|
||||
local x = ev[4]
|
||||
local y = ev[5]
|
||||
|
Loading…
Reference in New Issue
Block a user