input: Add BLN support

Credit to neldar, creams, and Mr. X. Original commit could not be found.