Code: Select all
xoutput[0].Up = keyboard.getKeyDown(Key.LeftShift)
bob = 2
if bob > 1:
xoutput[0].Up = 0
diagnostics.watch(xoutput[0].Up)
diagnostics.watch(bob)
attribute 'LeftShift' of 'Key' object is read-only if I tried to Key.LeftShift = 0
Code: Select all
xoutput[0].Up = keyboard.getKeyDown(Key.LeftShift)
bob = 2
if bob > 1:
xoutput[0].Up = 0
diagnostics.watch(xoutput[0].Up)
diagnostics.watch(bob)