input: fix keycode and key_modifier headers

They didn't include the full definition of the enum so they were
practically unusable.
input: add is_key_down function