Apologies for the delay in response, I realise you probably won't see this but figured I owed you it.
Paul, I would like one character when the lever is pressed rather than a stream. I've had a look at the state change detection example and that's very uesful. I could definitely use something similar to what they've done. I'll have a go at coding that tomorrow.
John, I made an error when creating that code, it should have been made to be an input pullup on the pin, that I used in a different code. I'll recreate it shortly and post an update of where I'm at.
Cheers