Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 492 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 492 Bytes

CTRL

SPWN library adding more in-game controls.

Controls

  • Press
  • Release
  • Hold
  • Swipe
  • Multiclick

How to use

See example.spwn

Exports

press_right(macro)
press_left(macro)

release_right(macro)
release_left(macro)

hold_right(macro, delay = 0.5)
hold_left(macro, delay = 0.5)

swipe_right_to_left(macro)
swipe_left_to_right(macro)

multiclick_right(macro, delay = 0.3, clicks = 2)
multiclick_left(macro, delay = 0.3, clicks = 2)

hidden_group