Input fixes, and tweaks

input.cxx, just broke the function decl into 2 lines
input.rb - fixed unitialized constants,
on_key will trigger a KeyboardEvent
while on_button will trigger a MouseEvent,
instead of both triggering Event.