Improved Mouse + Keyboard functions

Also added Keycodes to Keyboard API.