Added button constants, updated motor event threshold