invert mouse movement 8k
Mouse inversion needs mouse_block=true, which only loads in hardware mode with a Rebind Link. tick_rate doesn't gate move handlers, but I've declared 8000 as asked.
--[[ rebind: min_sdk=3.9.0 rebind: name=Invert Mouse rebind: version=1.0.0 rebind: mouse_block=true rebind: tick_rate=8000 rebind: permissions=none ]] rb.on("move", function(dx, dy) rb.hid.move(-dx, -dy) return false end)
How it works: mouse_block=true makes Rebind withhold the move until your handler returns, so the return value counts. The handler sends the negated delta with rb.hid.move and returns false to swallow the original, so the cursor only sees the inverted movement.
If you only want horizontal or vertical inversion, drop one axis: rb.hid.move(-dx, dy).
Learn more: