Allow changing of the leave key of keyboard

As requested in #225
I think this is a really good idea.