虚拟按键触摸权重取值调整到0~1

This commit is contained in:
MrZ626
2020-12-08 14:55:10 +08:00
parent fc39239be1
commit 2124b24f61
5 changed files with 19 additions and 13 deletions

View File

@@ -59,7 +59,7 @@ function scene.touchDown(_,x,y)
end
end
local O=VK_org[t]
local _FW,_CW=SETTING.VKTchW*.1,1-SETTING.VKCurW*.1
local _FW,_CW=SETTING.VKTchW,1-SETTING.VKCurW
local _OW=1-_FW-_CW
--Auto follow: finger, current, origin (weight from setting)