summaryrefslogtreecommitdiff
path: root/motion.lua
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-03-01 00:07:59 +0000
committerrebecca <ubq323@ubq323.website>2026-03-01 00:07:59 +0000
commit44edca669853dcf7f33d402a5f3809445d1f2075 (patch)
tree6a91fb22d5fa4715675c6f4b8a6fc0b49d60ad6c /motion.lua
parent47b2322a8ea811ecee3faf651cecc26aae7b10b4 (diff)
motion
Diffstat (limited to 'motion.lua')
-rw-r--r--motion.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/motion.lua b/motion.lua
index f99399e..2cde6a3 100644
--- a/motion.lua
+++ b/motion.lua
@@ -29,8 +29,8 @@ parallel.waitForAny(
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
+ elseif key == 263 then hstrength=hstrength-hdelta
+ elseif key == 262 then hstrength=hstrength+hdelta
elseif key == 67 then p.launch(yaw, pitch, hstrength)
elseif key == 88 then p.launch(yaw, 0, hstrength)
elseif key == 86 then vover = not vover