Linux input event codes form linux/input_event_codes.h.
linux/input_event_codes.h
Returns true if the keycode is in the HashMap and thus a valid input code