diff options
| author | rebecca <ubq323@ubq323.website> | 2026-02-28 23:41:32 +0000 |
|---|---|---|
| committer | rebecca <ubq323@ubq323.website> | 2026-02-28 23:41:32 +0000 |
| commit | 2ac06f55702ca18b2e03eab3c590666caf101c0d (patch) | |
| tree | e2f5626fc8ed70082e2d737b843f67ef3acef9c6 | |
| parent | 5757034279d8d6eab8560221fdee38370176e846 (diff) | |
motion
| -rw-r--r-- | motion.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -27,10 +27,10 @@ parallel.waitForAny( htext.setText(tostring(hstrength)) vtext.setText(tostring(vstrength)) local _,key = os.pullEvent"key" - if key == 265 then vstrength=vstrength+vdelta - elseif key == 264 then vstrength=vstrength-vdelta - elseif key == 262 then hstrength=hstrength-hdelta - elseif key == 263 then hstrength=hstrength+hdelta + if key == 265 then hstrength=hstrength+hdelta + elseif key == 264 then hstrength=hstrength-hdelta + elseif key == 262 then vstrengtv=vstrengtv-vdelta + elseif key == 263 then vstrengtv=vstrengtv+vdelta elseif key == 67 then p.launch(yaw, pitch, hstrength) elseif key == 86 then vover = not vover vtext.setAlpha(vover and 255 or 0) |
