This solves the problem with volume buttons on phones being detected as
keyboards and blocking a real keyboard from being mapped afterwards.
Renamed id_1 and id_2 to pad_id1 and pad_id2
Renamed id_3 to kbd_id and change it to an array
Implement function is_keyboard_id(int id) which checks if an id is mapped as
a keyboard