Mouse and keyboard

inputs added (all of this is just copy-pasted from an example on the
wiki)