if event.code == 'ABS_X': value = event.state if value < -1500: if not joints[0].isBusy(): joints[0].run(1, 35) elif value > 5000: if not joints[0].isBusy(): joints[0].run(0, 35) else: if not joints[0].isBusy(): joints[0].softStop()
I read the part you refereed me to before posting the first bit but couldn't get it to work.
Is that correct now?
Cant work out how to change the original post